[INFO] fetching crate torch-build 0.1.0... [INFO] testing torch-build-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate torch-build 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate torch-build 0.1.0 [INFO] finished tweaking crates.io crate torch-build 0.1.0 [INFO] tweaked toml for crates.io crate torch-build 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate torch-build 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate torch-build 0.1.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23a47291a31b3369092ba6111ba79f6fad390489a38ea696f22449bb29bc5a64 [INFO] running `Command { std: "docker" "start" "-a" "23a47291a31b3369092ba6111ba79f6fad390489a38ea696f22449bb29bc5a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23a47291a31b3369092ba6111ba79f6fad390489a38ea696f22449bb29bc5a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a47291a31b3369092ba6111ba79f6fad390489a38ea696f22449bb29bc5a64", kill_on_drop: false }` [INFO] [stdout] 23a47291a31b3369092ba6111ba79f6fad390489a38ea696f22449bb29bc5a64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a129493784c49b1fd1639dcd01d07f2a7dcf9adf809e148d371592757d4ee1d0 [INFO] running `Command { std: "docker" "start" "-a" "a129493784c49b1fd1639dcd01d07f2a7dcf9adf809e148d371592757d4ee1d0", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rustacuda_core v0.1.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling python-config v0.1.0 [INFO] [stderr] Compiling cuda-config v0.1.0 [INFO] [stderr] Compiling cuda-driver-sys v0.3.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling torch-build v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling rustacuda_derive v0.1.2 [INFO] [stderr] Compiling rustacuda v0.1.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls v0.20.0 [INFO] [stderr] Compiling webpki-roots v0.22.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling ureq v2.3.0 [INFO] [stderr] Compiling os_info v3.2.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `window` [INFO] [stdout] --> src/probe.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | } else if #[cfg(target_os = "window")] { [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"windows"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.41s [INFO] running `Command { std: "docker" "inspect" "a129493784c49b1fd1639dcd01d07f2a7dcf9adf809e148d371592757d4ee1d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a129493784c49b1fd1639dcd01d07f2a7dcf9adf809e148d371592757d4ee1d0", kill_on_drop: false }` [INFO] [stdout] a129493784c49b1fd1639dcd01d07f2a7dcf9adf809e148d371592757d4ee1d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfb8d171c1fcd2b179659122de04b0401811702c51b3099a14a321735abd0ab9 [INFO] running `Command { std: "docker" "start" "-a" "dfb8d171c1fcd2b179659122de04b0401811702c51b3099a14a321735abd0ab9", kill_on_drop: false }` [INFO] [stderr] Compiling torch-build v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `window` [INFO] [stdout] --> src/probe.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | } else if #[cfg(target_os = "window")] { [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"windows"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `window` [INFO] [stdout] --> src/probe.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | } else if #[cfg(target_os = "window")] { [INFO] [stdout] | ^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"windows"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcwi17Nt/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libtorch_build-6f27f78da120f09c,libzip-28f4d2396b3bc59c,libtime-201997a226ba196d,libthiserror-2dace739e3521028,libbzip2-6606542be9a2f7fc,libbzip2_sys-4e3a1c1d5fb266a8,libflate2-2bc57821ce84458c,libminiz_oxide-57f23c714ae3dcbd,libadler-f4caa73e14204bdd,libbyteorder-379f547b04d51d02,libcrc32fast-a0920cd650b228d6,libureq-3462bc1cf6634f0f,libwebpki_roots-3ec3d27928a7501d,libbase64-beb813779272318b,librustls-00f75c4d85f407ca,libsct-dd0017e60d1dd2d4,libwebpki-3ea5c0c5e5c07f46,libring-3a0245ac138d08dd,libspin-bd5c65b66a03de3f,libuntrusted-4c6cc551cc2c6e70,liblibc-b93834bff61b5fe6,libchunked_transfer-9e688d341286f0fd,liburl-88a5699c8e02eddb,libidna-b1a926295f214d91,libunicode_normalization-e4fa8128c5731b6a,libtinyvec-e2923c4babbd16ee,libtinyvec_macros-cc8e196d6b1e57fc,libunicode_bidi-7fd8a2d80ef2488e,libform_urlencoded-bc575136d0314bd7,libpercent_encoding-d8e5e041794fd24f,libmatches-443042cef9af988b,libregex-a577034d694539de,libaho_corasick-e345fb526f658cc9,libmemchr-52a166a992efed94,libregex_syntax-a8b7a392e3a16251,libcc-9e3f7476274f426d,libos_info-e768716f5b929a5f,libserde-a8a90eb53aa8bfc5,librustacuda-c537f6df3698ae2d,libcuda_driver_sys-e13ef8c19dcf2f53,librustacuda_core-571d58c358764423,libbitflags-e2b4db6c651223da,libonce_cell-5132bd2988d9c7dd,libitertools-0b310990e50867d0,libeither-9e7e392a8497717b,libindexmap-9d6d0335527ce651,libhashbrown-6be3a3b5258097e1,liblog-e324f1d2fae59712,libcfg_if-33ef6c02a07f9fec,libanyhow-b19f98097c1f5b19}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lcuda" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcwi17Nt/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/ring-e2e78774ad0fa328/out" "-L" "/opt/rustwide/target/debug/build/bzip2-sys-9e6d6f211360354c/out/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/cuda-118e9fd8d517cd2a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lcuda [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `torch-build` (example "cuda") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `torch-build` (lib test) due to 1 previous error; 1 warning emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcqWHjsr/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libzip-28f4d2396b3bc59c,libtime-201997a226ba196d,libthiserror-2dace739e3521028,libbzip2-6606542be9a2f7fc,libbzip2_sys-4e3a1c1d5fb266a8,libflate2-2bc57821ce84458c,libminiz_oxide-57f23c714ae3dcbd,libadler-f4caa73e14204bdd,libbyteorder-379f547b04d51d02,libcrc32fast-a0920cd650b228d6,libureq-3462bc1cf6634f0f,libwebpki_roots-3ec3d27928a7501d,libbase64-beb813779272318b,librustls-00f75c4d85f407ca,libsct-dd0017e60d1dd2d4,libwebpki-3ea5c0c5e5c07f46,libring-3a0245ac138d08dd,libspin-bd5c65b66a03de3f,libuntrusted-4c6cc551cc2c6e70,liblibc-b93834bff61b5fe6,libchunked_transfer-9e688d341286f0fd,liburl-88a5699c8e02eddb,libidna-b1a926295f214d91,libunicode_normalization-e4fa8128c5731b6a,libtinyvec-e2923c4babbd16ee,libtinyvec_macros-cc8e196d6b1e57fc,libunicode_bidi-7fd8a2d80ef2488e,libform_urlencoded-bc575136d0314bd7,libpercent_encoding-d8e5e041794fd24f,libmatches-443042cef9af988b,libregex-a577034d694539de,libaho_corasick-e345fb526f658cc9,libmemchr-52a166a992efed94,libregex_syntax-a8b7a392e3a16251,libcc-9e3f7476274f426d}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libos_info-e768716f5b929a5f,libserde-a8a90eb53aa8bfc5,librustacuda-c537f6df3698ae2d,libcuda_driver_sys-e13ef8c19dcf2f53,librustacuda_core-571d58c358764423,libbitflags-e2b4db6c651223da,libonce_cell-5132bd2988d9c7dd,libitertools-0b310990e50867d0,libeither-9e7e392a8497717b,libindexmap-9d6d0335527ce651,libhashbrown-6be3a3b5258097e1,liblog-e324f1d2fae59712,libcfg_if-33ef6c02a07f9fec,libanyhow-b19f98097c1f5b19}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lcuda" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcqWHjsr/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/ring-e2e78774ad0fa328/out" "-L" "/opt/rustwide/target/debug/build/bzip2-sys-9e6d6f211360354c/out/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/torch_build-dddd9240e8ce862b" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lcuda [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dfb8d171c1fcd2b179659122de04b0401811702c51b3099a14a321735abd0ab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfb8d171c1fcd2b179659122de04b0401811702c51b3099a14a321735abd0ab9", kill_on_drop: false }` [INFO] [stdout] dfb8d171c1fcd2b179659122de04b0401811702c51b3099a14a321735abd0ab9