[INFO] fetching crate rust-gpu-tools 0.6.2... [INFO] testing rust-gpu-tools-0.6.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rust-gpu-tools 0.6.2 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate rust-gpu-tools 0.6.2 [INFO] finished tweaking crates.io crate rust-gpu-tools 0.6.2 [INFO] tweaked toml for crates.io crate rust-gpu-tools 0.6.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-gpu-tools 0.6.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-gpu-tools 0.6.2 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 850e0332b54f7eebe57422acaedcad8c6b5d6026004869d00750021f36616f9d [INFO] running `Command { std: "docker" "start" "-a" "850e0332b54f7eebe57422acaedcad8c6b5d6026004869d00750021f36616f9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "850e0332b54f7eebe57422acaedcad8c6b5d6026004869d00750021f36616f9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "850e0332b54f7eebe57422acaedcad8c6b5d6026004869d00750021f36616f9d", kill_on_drop: false }` [INFO] [stdout] 850e0332b54f7eebe57422acaedcad8c6b5d6026004869d00750021f36616f9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16788ec55c413c74f68c40341ff58f26fce6441fb7d988a5d23c073f9488728c [INFO] running `Command { std: "docker" "start" "-a" "16788ec55c413c74f68c40341ff58f26fce6441fb7d988a5d23c073f9488728c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling cl-sys v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.41 [INFO] [stderr] Compiling once_cell v1.17.2 [INFO] [stderr] Compiling rustacuda_core v0.1.2 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling temp-env v0.2.0 [INFO] [stderr] Compiling cuda-config v0.1.0 [INFO] [stderr] Compiling cuda-driver-sys v0.3.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Compiling cl3 v0.6.5 [INFO] [stderr] Compiling opencl3 v0.6.3 [INFO] [stderr] Compiling thiserror-impl v1.0.41 [INFO] [stderr] Compiling rustacuda_derive v0.1.2 [INFO] [stderr] Compiling fil-rustacuda v0.1.4 [INFO] [stderr] Compiling rust-gpu-tools v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cuda/utils.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct CudaContexts(Vec); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cuda/mod.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn create_kernel(&self, name: &str, gws: usize, lws: usize) -> GPUResult { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 227 | pub fn create_kernel(&self, name: &str, gws: usize, lws: usize) -> GPUResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/opencl/mod.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 283 | ) -> GPUResult { [INFO] [stdout] | ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 283 | ) -> GPUResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.48s [INFO] running `Command { std: "docker" "inspect" "16788ec55c413c74f68c40341ff58f26fce6441fb7d988a5d23c073f9488728c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16788ec55c413c74f68c40341ff58f26fce6441fb7d988a5d23c073f9488728c", kill_on_drop: false }` [INFO] [stdout] 16788ec55c413c74f68c40341ff58f26fce6441fb7d988a5d23c073f9488728c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e650c14458dc50d08ba866c6a49f772b44d62bc434d93001293ffa6bf1bfef6f [INFO] running `Command { std: "docker" "start" "-a" "e650c14458dc50d08ba866c6a49f772b44d62bc434d93001293ffa6bf1bfef6f", kill_on_drop: false }` [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cuda/utils.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct CudaContexts(Vec); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cuda/mod.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn create_kernel(&self, name: &str, gws: usize, lws: usize) -> GPUResult { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 227 | pub fn create_kernel(&self, name: &str, gws: usize, lws: usize) -> GPUResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/opencl/mod.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 283 | ) -> GPUResult { [INFO] [stdout] | ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 283 | ) -> GPUResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-gpu-tools v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/rustcwB4lSJ/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librust_gpu_tools-e31988fe17e0c9db,libdirs-f479463468c8df2b,libdirs_sys-a914f08d9329a2bf,libhex-28742b4ca144387c,libthiserror-e6d702e20dc85367,libsha2-e21d7e78f214744a,libcpufeatures-77532a8d776daa73,libcfg_if-33ef6c02a07f9fec,libdigest-d0bad92793606bb5,libblock_buffer-32ecc17a12c12588,libcrypto_common-a181a40b46808bca,libgeneric_array-ed1569e9b34d0440,libtypenum-23ae17ca6b0e3ffc,libfil_rustacuda-d394218ae957f97c,libcuda_driver_sys-1d7d9b5dc415d153,librustacuda_core-571d58c358764423,libbitflags-e2b4db6c651223da,libopencl3-bf41a7409c5f54a2,libcl3-5ca5c261d31a768a,libcl_sys-0b89338b65ff641c,liblibc-8a24a2f78c1740be,liblazy_static-2bb390fee0230a38,libonce_cell-7f522fb66c06741c,liblog-a186342d3e37999d}.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" "-lOpenCL" "-lOpenCL" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/examples/rustcwB4lSJ/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/add-1a5299a2b501b9a1" "-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 `rust-gpu-tools` (example "add") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cuda/utils.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct CudaContexts(Vec); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cuda/mod.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn create_kernel(&self, name: &str, gws: usize, lws: usize) -> GPUResult { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 227 | pub fn create_kernel(&self, name: &str, gws: usize, lws: usize) -> GPUResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/opencl/mod.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 283 | ) -> GPUResult { [INFO] [stdout] | ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 283 | ) -> GPUResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcs2uXSP/symbols.o" "<10 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libdirs-f479463468c8df2b,libdirs_sys-a914f08d9329a2bf,libhex-28742b4ca144387c,libtemp_env-dedd29719c7f3bb3,libthiserror-e6d702e20dc85367}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libsha2-e21d7e78f214744a,libcpufeatures-77532a8d776daa73,libcfg_if-33ef6c02a07f9fec,libdigest-d0bad92793606bb5,libblock_buffer-32ecc17a12c12588,libcrypto_common-a181a40b46808bca,libgeneric_array-ed1569e9b34d0440,libtypenum-23ae17ca6b0e3ffc,libfil_rustacuda-d394218ae957f97c,libcuda_driver_sys-1d7d9b5dc415d153,librustacuda_core-571d58c358764423,libbitflags-e2b4db6c651223da,libopencl3-bf41a7409c5f54a2,libcl3-5ca5c261d31a768a,libcl_sys-0b89338b65ff641c,liblibc-8a24a2f78c1740be,liblazy_static-2bb390fee0230a38,libonce_cell-7f522fb66c06741c,liblog-a186342d3e37999d}.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" "-lOpenCL" "-lOpenCL" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcs2uXSP/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rust_gpu_tools-10b796f4411222ae" "-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 `rust-gpu-tools` (lib test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e650c14458dc50d08ba866c6a49f772b44d62bc434d93001293ffa6bf1bfef6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e650c14458dc50d08ba866c6a49f772b44d62bc434d93001293ffa6bf1bfef6f", kill_on_drop: false }` [INFO] [stdout] e650c14458dc50d08ba866c6a49f772b44d62bc434d93001293ffa6bf1bfef6f