[INFO] cloning repository https://github.com/tenchipsofsalt/mnist-classifier-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tenchipsofsalt/mnist-classifier-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftenchipsofsalt%2Fmnist-classifier-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftenchipsofsalt%2Fmnist-classifier-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c07359763ae9300f2fb83db2cdbd54c94ff4443 [INFO] checking tenchipsofsalt/mnist-classifier-rust against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftenchipsofsalt%2Fmnist-classifier-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tenchipsofsalt/mnist-classifier-rust [INFO] finished tweaking git repo https://github.com/tenchipsofsalt/mnist-classifier-rust [INFO] tweaked toml for git repo https://github.com/tenchipsofsalt/mnist-classifier-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tenchipsofsalt/mnist-classifier-rust on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tenchipsofsalt/mnist-classifier-rust 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded safetensors v0.3.1 [INFO] [stderr] Downloaded time v0.3.22 [INFO] [stderr] Downloaded torch-sys v0.13.0 [INFO] [stderr] Downloaded aes v0.8.2 [INFO] [stderr] Downloaded tch v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60fcd272cc581d18bb06613a58d5ba8cc808bc2d7ebedf40c9696092aa02a7b7 [INFO] running `Command { std: "docker" "start" "-a" "60fcd272cc581d18bb06613a58d5ba8cc808bc2d7ebedf40c9696092aa02a7b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60fcd272cc581d18bb06613a58d5ba8cc808bc2d7ebedf40c9696092aa02a7b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60fcd272cc581d18bb06613a58d5ba8cc808bc2d7ebedf40c9696092aa02a7b7", kill_on_drop: false }` [INFO] [stdout] 60fcd272cc581d18bb06613a58d5ba8cc808bc2d7ebedf40c9696092aa02a7b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 738153cddea7f45d24976ed3e231fd35f568a6cc83f75a83848a4b58a1b5e32e [INFO] running `Command { std: "docker" "start" "-a" "738153cddea7f45d24976ed3e231fd35f568a6cc83f75a83848a4b58a1b5e32e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling cpufeatures v0.2.7 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling time v0.3.22 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling tch v0.13.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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 aes v0.8.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking sha1 v0.10.5 [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 pbkdf2 v0.11.0 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.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-b1a8bdd49775fadd/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" "738153cddea7f45d24976ed3e231fd35f568a6cc83f75a83848a4b58a1b5e32e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "738153cddea7f45d24976ed3e231fd35f568a6cc83f75a83848a4b58a1b5e32e", kill_on_drop: false }` [INFO] [stdout] 738153cddea7f45d24976ed3e231fd35f568a6cc83f75a83848a4b58a1b5e32e