Running phase: unpackPhase unpacking sources unpacking source archive /nix/store/0sd34630xb88aca480v5wr8920s5pgnc-source source root is source Running phase: patchPhase patching sources Running phase: configurePhase configuring no configure script, doing nothing configurePhase completed in 1 minutes 21 seconds Running phase: buildPhase building patching script interpreter paths in ../output/external/org_tensorflow/third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc.tpl ../output/external/org_tensorflow/third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc.tpl: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/30xlnfzi3g3liciakaa5za905grmp81j-python3-3.9.16/bin/python" Extracting Bazel installation... INFO: Options provided by the client: Inherited 'common' options: --isatty=1 --terminal_columns=0 INFO: Reading rc options for 'build' from /build/source/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'build' from /nix/store/3hlknbzc79d0fmhihkp5ravgq0qmdd75-bazel-rc: 'build' options: --distdir=/nix/store/kp3rj0q0cnnprg9lm3wmbhkj535v5lnq-bazel-deps --extra_toolchains=@bazel_tools//tools/jdk:nonprebuilt_toolchain_definition --tool_java_runtime_version=local_jdk_11 --java_runtime_version=local_jdk_11 INFO: Reading rc options for 'build' from /build/source/.bazelrc: 'build' options: --apple_platform_type=macos --macos_minimum_os=10.14 --announce_rc --define open_source_build=true --spawn_strategy=standalone --enable_platform_specific_config --experimental_cc_shared_library --define=no_aws_support=true --define=no_gcp_support=true --define=no_hdfs_support=true --define=no_kafka_support=true --define=no_ignite_support=true --define=grpc_no_ares=true -c opt --config=short_logs --copt=-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir. --@org_tensorflow//tensorflow/compiler/xla/python:enable_gpu=false --@org_tensorflow//tensorflow/compiler/xla/python:enable_tpu=false --@org_tensorflow//tensorflow/compiler/xla/python:enable_plugin_device=false INFO: Reading rc options for 'build' from /build/source/.jax_configure.bazelrc: 'build' options: --strategy=Genrule=standalone --repo_env PYTHON_BIN_PATH=/nix/store/30xlnfzi3g3liciakaa5za905grmp81j-python3-3.9.16/bin/python --action_env=PYENV_ROOT --python_path=/nix/store/30xlnfzi3g3liciakaa5za905grmp81j-python3-3.9.16/bin/python --distinct_host_configuration=false --define PROTOBUF_INCLUDE_PATH=/nix/store/yg8mcj4fl7zlanbli5h46m1i9ln9yr61-protobuf-3.20.3/include --action_env CUDA_TOOLKIT_PATH=/nix/store/c1ccfmr2ysbbawkbg9v8i5kyr1ac3j6s-cudatoolkit-11.7.0-merged --action_env CUDNN_INSTALL_PATH=/nix/store/5qdszrq7rql1h1ixn33ka8grpslwz87k-cudatoolkit-11-cudnn-8.6.0 --action_env TF_CUDA_PATHS=/nix/store/c1ccfmr2ysbbawkbg9v8i5kyr1ac3j6s-cudatoolkit-11.7.0-merged,/nix/store/5qdszrq7rql1h1ixn33ka8grpslwz87k-cudatoolkit-11-cudnn-8.6.0,/nix/store/ff5pgs02v46yj6386kgrwzniz9sc6nmi-nccl-2.12.10-1-cuda-11.7 --action_env TF_CUDA_VERSION=11.7 --action_env TF_CUDNN_VERSION=8 INFO: Found applicable config definition build:short_logs in file /build/source/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:avx_posix in file /build/source/.bazelrc: --copt=-mavx --host_copt=-mavx INFO: Found applicable config definition build:cuda in file /build/source/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_52,sm_60,sm_70,compute_80 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --@org_tensorflow//tensorflow/compiler/xla/python:enable_gpu=true --define=xla_python_enable_gpu=true INFO: Found applicable config definition build:cuda in file /build/source/.jax_configure.bazelrc: --action_env TF_CUDA_COMPUTE_CAPABILITIES=3.5,5.0,5.2,6.0,6.1,7.0,7.5,8.0,8.6 INFO: Found applicable config definition build:mkl_open_source_only in file /build/source/.bazelrc: --define=tensorflow_mkldnn_contraction_kernel=1 INFO: Found applicable config definition build:linux in file /build/source/.bazelrc: --config=posix --copt=-Wno-unknown-warning-option --copt=-Wno-stringop-truncation --copt=-Wno-array-parameter INFO: Found applicable config definition build:posix in file /build/source/.bazelrc: --copt=-fvisibility=hidden --copt=-Wno-sign-compare --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 Loading: Loading: 2 packages loaded Analyzing: target //build:build_wheel (3 packages loaded, 0 targets configured) Analyzing: target //build:build_wheel (35 packages loaded, 10 targets configured) Analyzing: target //build:build_wheel (46 packages loaded, 139 targets configured) Analyzing: target //build:build_wheel (82 packages loaded, 341 targets configured) Analyzing: target //build:build_wheel (113 packages loaded, 1932 targets configured) Analyzing: target //build:build_wheel (221 packages loaded, 4732 targets configured) Analyzing: target //build:build_wheel (234 packages loaded, 13696 targets configured) INFO: Analyzed target //build:build_wheel (262 packages loaded, 15197 targets configured). INFO: Found 1 target... [0 / 4] [Prepa] Expanding template build/build_wheel WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.devtools.build.lib.unsafe.StringUnsafe (file:/build/tmp/install/5c7db3c4c063688579eb2f7d46d675f2/A-server.jar) to constructor java.lang.String(byte[],byte) WARNING: Please consider reporting this to the maintainers of com.google.devtools.build.lib.unsafe.StringUnsafe WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [137 / 1,862] Compiling llvm/lib/Demangle/MicrosoftDemangle.cpp; 3s local ... (48 actions, 47 running) [185 / 1,907] Compiling llvm/lib/Demangle/ItaniumDemangle.cpp; 8s local ... (48 actions, 46 running) [250 / 3,434] Compiling llvm/lib/Demangle/ItaniumDemangle.cpp; 15s local ... (48 actions, 47 running) [292 / 3,434] Compiling external/org_tensorflow/tensorflow/core/example/feature.pb.cc; 21s local ... (48 actions, 47 running) [335 / 3,434] Compiling external/org_tensorflow/tensorflow/core/example/feature.pb.cc; 29s local ... (48 actions, 47 running) [387 / 3,434] Compiling external/org_tensorflow/tensorflow/core/example/feature.pb.cc; 39s local ... (48 actions, 47 running) [433 / 3,434] Compiling external/org_tensorflow/tensorflow/core/util/test_log.pb.cc; 40s local ... (48 actions, 47 running) [1,405 / 3,434] Compiling llvm/lib/Support/Timer.cpp; 33s local ... (45 actions, 38 running) [3,995 / 7,575] Compiling llvm/lib/Support/CommandLine.cpp; 42s local ... (46 actions, 45 running) [4,254 / 8,399] Compiling llvm/lib/Support/CommandLine.cpp; 59s local ... (48 actions, 47 running) [4,296 / 8,414] Compiling llvm/lib/Support/CommandLine.cpp; 81s local ... (48 actions running) [4,307 / 8,418] Compiling mlir/lib/ExecutionEngine/SparseTensorUtils.cpp; 74s local ... (48 actions running) [4,313 / 8,421] Compiling mlir/lib/ExecutionEngine/SparseTensorUtils.cpp; 100s local ... (48 actions running) [4,354 / 8,441] Compiling external/nccl_archive/src/collectives/device/prod_bf16_reduce_scatter.cu.cc; 115s local ... (48 actions running) [4,366 / 8,447] Compiling external/nccl_archive/src/collectives/device/prod_bf16_reduce_scatter.cu.cc; 149s local ... (48 actions running) [4,400 / 8,464] Compiling external/nccl_archive/src/collectives/device/prod_bf16_all_reduce.cu.cc; 187s local ... (48 actions running) [4,428 / 8,478] Compiling external/nccl_archive/src/collectives/device/prod_bf16_all_reduce.cu.cc; 232s local ... (48 actions running) [4,464 / 8,496] Compiling external/nccl_archive/src/collectives/device/prod_bf16_all_reduce.cu.cc; 284s local ... (48 actions running) [4,494 / 8,511] Compiling external/nccl_archive/src/collectives/device/prod_bf16_all_reduce.cu.cc; 344s local ... (48 actions running) [4,520 / 8,524] Compiling external/nccl_archive/src/collectives/device/prod_bf16_all_reduce.cu.cc; 414s local ... (48 actions running) [4,552 / 8,540] Compiling external/nccl_archive/src/collectives/device/prod_bf16_all_reduce.cu.cc; 493s local ... (48 actions running) [4,580 / 8,554] Compiling external/nccl_archive/src/collectives/device/prod_bf16_all_reduce.cu.cc; 584s local ... (48 actions running) [4,620 / 8,574] Compiling external/nccl_archive/src/collectives/device/min_i8_all_reduce.cu.cc; 684s local ... (48 actions running) [4,664 / 8,596] Compiling external/nccl_archive/src/collectives/device/min_u8_all_reduce.cu.cc; 801s local ... (48 actions running) [4,702 / 8,615] Compiling external/nccl_archive/src/collectives/device/min_u8_all_reduce.cu.cc; 940s local ... (48 actions running) [4,781 / 8,654] Compiling external/nccl_archive/src/collectives/device/premulsum_f64_all_reduce.cu.cc; 1000s local ... (48 actions running) [4,861 / 8,694] Compiling external/nccl_archive/src/collectives/device/premulsum_f64_all_reduce.cu.cc; 1183s local ... (48 actions running) [4,948 / 9,100] Compiling external/nccl_archive/src/collectives/device/premulsum_f64_all_reduce.cu.cc; 1395s local ... (48 actions running) [5,008 / 9,100] Compiling external/nccl_archive/src/collectives/device/min_f64_all_reduce.cu.cc; 1136s local ... (48 actions running) [5,064 / 9,100] Compiling external/nccl_archive/src/collectives/device/prod_f64_all_reduce.cu.cc; 1067s local ... (48 actions running) [5,124 / 9,100] Compiling external/nccl_archive/src/collectives/device/sum_f64_all_reduce.cu.cc; 1111s local ... (48 actions running) [5,225 / 9,100] Compiling external/nccl_archive/src/collectives/device/min_f16_all_reduce.cu.cc; 1015s local ... (48 actions running) [5,335 / 9,190] Compiling external/nccl_archive/src/collectives/device/max_f64_all_reduce.cu.cc; 1124s local ... (48 actions running) [6,270 / 11,610] Compiling external/nccl_archive/src/collectives/device/premulsum_f64_all_reduce.cu.cc; 1253s local ... (48 actions running) [8,020 / 12,930] Compiling tensorflow/compiler/xla/service/cpu/runtime_matmul.cc; 175s local ... (48 actions running) [8,851 / 12,930] Compiling tensorflow/compiler/xla/service/cpu/runtime_matmul.cc; 821s local ... (48 actions running) [9,575 / 12,930] Compiling llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp; 238s local ... (48 actions running) [11,536 / 12,930] Compiling llvm/lib/Target/X86/X86ISelLowering.cpp; 167s local ... (48 actions running) [12,832 / 12,946] Compiling tensorflow/compiler/xla/service/cpu/ir_emitter.cc; 198s local ... (48 actions running)