[INFO] fetching crate syntaxdot-tch-ext 0.2.0... [INFO] checking syntaxdot-tch-ext-0.2.0 against try#9cfe725f0995b018340c519db1b2f3cf8a7e0631 for pr-81174 [INFO] extracting crate syntaxdot-tch-ext 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate syntaxdot-tch-ext 0.2.0 on toolchain 9cfe725f0995b018340c519db1b2f3cf8a7e0631 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate syntaxdot-tch-ext 0.2.0 [INFO] finished tweaking crates.io crate syntaxdot-tch-ext 0.2.0 [INFO] tweaked toml for crates.io crate syntaxdot-tch-ext 0.2.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "fetch" "--locked" "--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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1765ad0479bd8507f55b2141af2defebee6e63b8d3e02e5bacabfa4b1a33c2e8 [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" "1765ad0479bd8507f55b2141af2defebee6e63b8d3e02e5bacabfa4b1a33c2e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1765ad0479bd8507f55b2141af2defebee6e63b8d3e02e5bacabfa4b1a33c2e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1765ad0479bd8507f55b2141af2defebee6e63b8d3e02e5bacabfa4b1a33c2e8", kill_on_drop: false }` [INFO] [stdout] 1765ad0479bd8507f55b2141af2defebee6e63b8d3e02e5bacabfa4b1a33c2e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9cfe725f0995b018340c519db1b2f3cf8a7e0631" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8ac20cb452c473ff1f8f1ca28c8ce06900dc44678c424248754f0fb10928278 [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" "a8ac20cb452c473ff1f8f1ca28c8ce06900dc44678c424248754f0fb10928278", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling curl-sys v0.4.39+curl-7.74.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling zip v0.5.9 [INFO] [stderr] Compiling torch-sys v0.3.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.3.1` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/torch-sys-b79d1f46153af049/build-script-build` (exit code: 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-67ec1ee75009c42f/out/libtorch/libtorch/lib [INFO] [stderr] cargo:rerun-if-env-changed=LIBTORCH_USE_CMAKE [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-67ec1ee75009c42f/out/libtorch/libtorch/include" "-I" "/opt/rustwide/target/debug/build/torch-sys-67ec1ee75009c42f/out/libtorch/libtorch/include/torch/csrc/api/include" "-Wl,-rpath=/opt/rustwide/target/debug/build/torch-sys-67ec1ee75009c42f/out/libtorch/libtorch/lib" "-std=c++14" "-D_GLIBCXX_USE_CXX11_ABI=1" "-o" "/opt/rustwide/target/debug/build/torch-sys-67ec1ee75009c42f/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 code: 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-67ec1ee75009c42f/out/libtorch/libtorch/include" "-I" "/opt/rustwide/target/debug/build/torch-sys-67ec1ee75009c42f/out/libtorch/libtorch/include/torch/csrc/api/include" "-Wl,-rpath=/opt/rustwide/target/debug/build/torch-sys-67ec1ee75009c42f/out/libtorch/libtorch/lib" "-std=c++14" "-D_GLIBCXX_USE_CXX11_ABI=1" "-o" "/opt/rustwide/target/debug/build/torch-sys-67ec1ee75009c42f/out/libtch/torch_api.o" "-c" "libtch/torch_api.cpp" with args "c++" did not execute successfully (status code exit code: 1). [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "a8ac20cb452c473ff1f8f1ca28c8ce06900dc44678c424248754f0fb10928278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8ac20cb452c473ff1f8f1ca28c8ce06900dc44678c424248754f0fb10928278", kill_on_drop: false }` [INFO] [stdout] a8ac20cb452c473ff1f8f1ca28c8ce06900dc44678c424248754f0fb10928278