[INFO] crate tch 0.1.6 is already in cache [INFO] checking tch-0.1.6 against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917 [INFO] extracting crate tch 0.1.6 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate tch 0.1.6 on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc [INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tch 0.1.6 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate tch 0.1.6 [INFO] tweaked toml for crates.io crate tch 0.1.6 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate tch 0.1.6 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 35ebc28e59e626ea891ff4a92236fe9c6b0e6048cee6e0c2ec8d7eff2cbcc932 [INFO] running `"docker" "start" "-a" "35ebc28e59e626ea891ff4a92236fe9c6b0e6048cee6e0c2ec8d7eff2cbcc932"` [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling torch-sys v0.1.6 [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: #include [INFO] [stderr] warning: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: compilation terminated. [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `torch-sys v0.1.6` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/torch-sys-5b341711ced060ca/build-script-build` (exit code: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/debug/build/torch-sys-de7e18ae65a57ac0/out/libtorch/libtorch/lib [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,mmx,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-de7e18ae65a57ac0/out/libtorch/libtorch/include" "-I" "/opt/rustwide/target/debug/build/torch-sys-de7e18ae65a57ac0/out/libtorch/libtorch/include/torch/csrc/api/include" "-Wl,-rpath=/opt/rustwide/target/debug/build/torch-sys-de7e18ae65a57ac0/out/libtorch/libtorch/lib" "-std=c++11" "-D_GLIBCXX_USE_CXX11_ABI=1" "-o" "/opt/rustwide/target/debug/build/torch-sys-de7e18ae65a57ac0/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= #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-de7e18ae65a57ac0/out/libtorch/libtorch/include" "-I" "/opt/rustwide/target/debug/build/torch-sys-de7e18ae65a57ac0/out/libtorch/libtorch/include/torch/csrc/api/include" "-Wl,-rpath=/opt/rustwide/target/debug/build/torch-sys-de7e18ae65a57ac0/out/libtorch/libtorch/lib" "-std=c++11" "-D_GLIBCXX_USE_CXX11_ABI=1" "-o" "/opt/rustwide/target/debug/build/torch-sys-de7e18ae65a57ac0/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] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "35ebc28e59e626ea891ff4a92236fe9c6b0e6048cee6e0c2ec8d7eff2cbcc932"` [INFO] running `"docker" "rm" "-f" "35ebc28e59e626ea891ff4a92236fe9c6b0e6048cee6e0c2ec8d7eff2cbcc932"` [INFO] [stdout] 35ebc28e59e626ea891ff4a92236fe9c6b0e6048cee6e0c2ec8d7eff2cbcc932