[INFO] cloning repository https://github.com/tie304/torch-rs-dataloader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tie304/torch-rs-dataloader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftie304%2Ftorch-rs-dataloader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftie304%2Ftorch-rs-dataloader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f61ffbb1b29388ed3d60e975cc511a89b8aa7546 [INFO] checking tie304/torch-rs-dataloader against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftie304%2Ftorch-rs-dataloader" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tie304/torch-rs-dataloader [INFO] finished tweaking git repo https://github.com/tie304/torch-rs-dataloader [INFO] tweaked toml for git repo https://github.com/tie304/torch-rs-dataloader written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tie304/torch-rs-dataloader on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tie304/torch-rs-dataloader already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.43 [INFO] [stderr] Downloaded quote v1.0.30 [INFO] [stderr] Downloaded thiserror-impl v1.0.43 [INFO] [stderr] Downloaded safetensors v0.3.1 [INFO] [stderr] Downloaded anyhow v1.0.72 [INFO] [stderr] Downloaded proc-macro2 v1.0.65 [INFO] [stderr] Downloaded matrixmultiply v0.3.7 [INFO] [stderr] Downloaded png v0.17.9 [INFO] [stderr] Downloaded time v0.3.23 [INFO] [stderr] Downloaded torch-sys v0.13.0 [INFO] [stderr] Downloaded exr v1.6.4 [INFO] [stderr] Downloaded syn v2.0.26 [INFO] [stderr] Downloaded tch v0.13.0 [INFO] [stderr] Downloaded tiff v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6eace242004ff99863f0abeabd486ef4d54fe91d92c5dbdd4cb931e64a7b89f6 [INFO] running `Command { std: "docker" "start" "-a" "6eace242004ff99863f0abeabd486ef4d54fe91d92c5dbdd4cb931e64a7b89f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6eace242004ff99863f0abeabd486ef4d54fe91d92c5dbdd4cb931e64a7b89f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eace242004ff99863f0abeabd486ef4d54fe91d92c5dbdd4cb931e64a7b89f6", kill_on_drop: false }` [INFO] [stdout] 6eace242004ff99863f0abeabd486ef4d54fe91d92c5dbdd4cb931e64a7b89f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c5d2fe08ce02363a535f74f1ecb6a89ebc986cd628aae14bbea4e9904e4ba52 [INFO] running `Command { std: "docker" "start" "-a" "7c5d2fe08ce02363a535f74f1ecb6a89ebc986cd628aae14bbea4e9904e4ba52", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling proc-macro2 v1.0.65 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling quote v1.0.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling time v0.3.23 [INFO] [stderr] Checking num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.102 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking itoa v1.0.8 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking ryu v1.0.14 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Compiling tch v0.13.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Checking tiff v0.8.1 [INFO] [stderr] Checking pin-project v1.1.2 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.6.4 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Checking image v0.24.6 [INFO] [stderr] Compiling torch-sys v0.13.0 [INFO] [stderr] error: failed to run custom build command for `torch-sys v0.13.0` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/torch-sys-84163782d302823f/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-env-changed=LIBTORCH_USE_PYTORCH [INFO] [stderr] cargo:rerun-if-env-changed=LIBTORCH [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] Error: [INFO] [stderr] Cannot find a libtorch install, you can either: [INFO] [stderr] - Install libtorch manually and set the LIBTORCH environment variable to appropriate path. [INFO] [stderr] - Use a system wide install in /usr/lib/libtorch.so. [INFO] [stderr] - Use a Python environment with PyTorch installed by setting LIBTORCH_USE_PYTORCH=1 [INFO] [stderr] [INFO] [stderr] See the readme for more details: [INFO] [stderr] https://github.com/LaurentMazare/tch-rs/blob/main/README.md [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7c5d2fe08ce02363a535f74f1ecb6a89ebc986cd628aae14bbea4e9904e4ba52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c5d2fe08ce02363a535f74f1ecb6a89ebc986cd628aae14bbea4e9904e4ba52", kill_on_drop: false }` [INFO] [stdout] 7c5d2fe08ce02363a535f74f1ecb6a89ebc986cd628aae14bbea4e9904e4ba52