[INFO] fetching crate syntaxdot-tch-ext 0.3.0... [INFO] testing syntaxdot-tch-ext-0.3.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate syntaxdot-tch-ext 0.3.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate syntaxdot-tch-ext 0.3.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate syntaxdot-tch-ext 0.3.0 [INFO] finished tweaking crates.io crate syntaxdot-tch-ext 0.3.0 [INFO] tweaked toml for crates.io crate syntaxdot-tch-ext 0.3.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55b285ed7fb7fe8af7495faf48d8fbf2fe1c773689db1bab0bcf041a796d16d2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "55b285ed7fb7fe8af7495faf48d8fbf2fe1c773689db1bab0bcf041a796d16d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55b285ed7fb7fe8af7495faf48d8fbf2fe1c773689db1bab0bcf041a796d16d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b285ed7fb7fe8af7495faf48d8fbf2fe1c773689db1bab0bcf041a796d16d2", kill_on_drop: false }` [INFO] [stdout] 55b285ed7fb7fe8af7495faf48d8fbf2fe1c773689db1bab0bcf041a796d16d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33c7290e82ecb1c964f4cab20b9d8d4f6a988e0298fb69f3fde39cfce7c02254 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "33c7290e82ecb1c964f4cab20b9d8d4f6a988e0298fb69f3fde39cfce7c02254", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling curl-sys v0.4.44+curl-7.77.0 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling ndarray v0.14.0 [INFO] [stderr] Compiling bzip2 v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Compiling torch-sys v0.4.1 [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: libtch/torch_api.cpp:1:9: fatal error: torch/csrc/autograd/engine.h: No such file or directory [INFO] [stderr] warning: 1 | #include [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: compilation terminated. [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `torch-sys v0.4.1` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/torch-sys-a22c8a5c4d39f08e/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-env-changed=TORCH_CUDA_VERSION [INFO] [stderr] cargo:rerun-if-env-changed=LIBTORCH [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/debug/build/torch-sys-58924f8eaf14b079/out/libtorch/libtorch/lib [INFO] [stderr] cargo:rerun-if-changed=libtch/torch_api.cpp [INFO] [stderr] cargo:rerun-if-changed=libtch/torch_api.h [INFO] [stderr] cargo:rerun-if-changed=libtch/torch_api_generated.cpp.h [INFO] [stderr] cargo:rerun-if-changed=libtch/torch_api_generated.h [INFO] [stderr] cargo:rerun-if-changed=libtch/stb_image_write.h [INFO] [stderr] cargo:rerun-if-changed=libtch/stb_image_resize.h [INFO] [stderr] cargo:rerun-if-changed=libtch/stb_image.h [INFO] [stderr] cargo:rerun-if-env-changed=LIBTORCH_CXX11_ABI [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXX = None [INFO] [stderr] CXX = None [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/debug/build/torch-sys-58924f8eaf14b079/out/libtorch/libtorch/include" "-I" "/opt/rustwide/target/debug/build/torch-sys-58924f8eaf14b079/out/libtorch/libtorch/include/torch/csrc/api/include" "-Wl,-rpath=/opt/rustwide/target/debug/build/torch-sys-58924f8eaf14b079/out/libtorch/libtorch/lib" "-std=c++14" "-D_GLIBCXX_USE_CXX11_ABI=1" "-o" "/opt/rustwide/target/debug/build/torch-sys-58924f8eaf14b079/out/libtch/torch_api.o" "-c" "libtch/torch_api.cpp" [INFO] [stderr] cargo:warning=libtch/torch_api.cpp:1:9: fatal error: torch/csrc/autograd/engine.h: No such file or directory [INFO] [stderr] cargo:warning= 1 | #include [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=compilation terminated. [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/debug/build/torch-sys-58924f8eaf14b079/out/libtorch/libtorch/include" "-I" "/opt/rustwide/target/debug/build/torch-sys-58924f8eaf14b079/out/libtorch/libtorch/include/torch/csrc/api/include" "-Wl,-rpath=/opt/rustwide/target/debug/build/torch-sys-58924f8eaf14b079/out/libtorch/libtorch/lib" "-std=c++14" "-D_GLIBCXX_USE_CXX11_ABI=1" "-o" "/opt/rustwide/target/debug/build/torch-sys-58924f8eaf14b079/out/libtch/torch_api.o" "-c" "libtch/torch_api.cpp" with args "c++" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "33c7290e82ecb1c964f4cab20b9d8d4f6a988e0298fb69f3fde39cfce7c02254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33c7290e82ecb1c964f4cab20b9d8d4f6a988e0298fb69f3fde39cfce7c02254", kill_on_drop: false }` [INFO] [stdout] 33c7290e82ecb1c964f4cab20b9d8d4f6a988e0298fb69f3fde39cfce7c02254