[INFO] fetching crate rust-gpu-tools 0.6.2... [INFO] testing rust-gpu-tools-0.6.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rust-gpu-tools 0.6.2 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-gpu-tools 0.6.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.41 [INFO] [stderr] Downloaded rustacuda_core v0.1.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.41 [INFO] [stderr] Downloaded rustacuda_derive v0.1.2 [INFO] [stderr] Downloaded fil-rustacuda v0.1.4 [INFO] [stderr] Downloaded cuda-config v0.1.0 [INFO] [stderr] Downloaded once_cell v1.17.2 [INFO] [stderr] Downloaded cuda-driver-sys v0.3.0 [INFO] [stderr] Downloaded cl-sys v0.4.2 [INFO] [stderr] Downloaded cl3 v0.6.5 [INFO] [stderr] Downloaded opencl3 v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fa9272f6094f6b2cc8a243d57e69e6dc787c2e971b9ccdf397245e64484002d [INFO] running `Command { std: "docker" "start" "-a" "1fa9272f6094f6b2cc8a243d57e69e6dc787c2e971b9ccdf397245e64484002d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fa9272f6094f6b2cc8a243d57e69e6dc787c2e971b9ccdf397245e64484002d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fa9272f6094f6b2cc8a243d57e69e6dc787c2e971b9ccdf397245e64484002d", kill_on_drop: false }` [INFO] [stdout] 1fa9272f6094f6b2cc8a243d57e69e6dc787c2e971b9ccdf397245e64484002d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2af4ca68c5877949c7cb412a6e12e1e85814215f211531b499480f3166f83212 [INFO] running `Command { std: "docker" "start" "-a" "2af4ca68c5877949c7cb412a6e12e1e85814215f211531b499480f3166f83212", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling cl-sys v0.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cuda-config v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.41 [INFO] [stderr] Compiling rustacuda_core v0.1.2 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling once_cell v1.17.2 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling temp-env v0.2.0 [INFO] [stderr] Compiling cuda-driver-sys v0.3.0 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling cl3 v0.6.5 [INFO] [stderr] Compiling dirs v4.0.0 [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 5.90s [INFO] running `Command { std: "docker" "inspect" "2af4ca68c5877949c7cb412a6e12e1e85814215f211531b499480f3166f83212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af4ca68c5877949c7cb412a6e12e1e85814215f211531b499480f3166f83212", kill_on_drop: false }` [INFO] [stdout] 2af4ca68c5877949c7cb412a6e12e1e85814215f211531b499480f3166f83212 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d419a6c78f4d9bca6773e331324fffa7a74a2a61dadf485d62d932e52fea706b [INFO] running `Command { std: "docker" "start" "-a" "d419a6c78f4d9bca6773e331324fffa7a74a2a61dadf485d62d932e52fea706b", 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] [stderr] Compiling rust-gpu-tools v0.6.2 (/opt/rustwide/workdir) [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" "/tmp/rustcdtHPtR/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librust_gpu_tools-e8300292e2d8b05c,libdirs-5f8fa5ab8a710efa,libdirs_sys-6c4ec6beb4587d8c,libhex-28742b4ca144387c,libthiserror-fcc3376c96c8e9d1,libsha2-515726b793ea85a6,libcpufeatures-77532a8d776daa73,libcfg_if-33ef6c02a07f9fec,libdigest-6f6a6a7c3acb69c5,libblock_buffer-8b3785b76e969141,libcrypto_common-a7ab9c2ce61987fe,libgeneric_array-7c2e0e952299dd52,libtypenum-1ab5967a8ed48346,libfil_rustacuda-7bf4a3166910b548,libcuda_driver_sys-80a4c6270756bb3d,librustacuda_core-571d58c358764423,libbitflags-e2b4db6c651223da,libopencl3-473fcb037ab0af80,libcl3-8f151f050151ad78,libcl_sys-5950f6a6e6ec3540,liblibc-20a69e023a5b0045,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" "/tmp/rustcdtHPtR/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-a266abd85e08f662" "-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" "/tmp/rustcivX4jn/symbols.o" "<10 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libdirs-5f8fa5ab8a710efa,libdirs_sys-6c4ec6beb4587d8c,libhex-28742b4ca144387c,libtemp_env-3b8cdb55a3b65099,libthiserror-fcc3376c96c8e9d1}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libsha2-515726b793ea85a6,libcpufeatures-77532a8d776daa73,libcfg_if-33ef6c02a07f9fec,libdigest-6f6a6a7c3acb69c5,libblock_buffer-8b3785b76e969141,libcrypto_common-a7ab9c2ce61987fe,libgeneric_array-7c2e0e952299dd52,libtypenum-1ab5967a8ed48346,libfil_rustacuda-7bf4a3166910b548,libcuda_driver_sys-80a4c6270756bb3d,librustacuda_core-571d58c358764423,libbitflags-e2b4db6c651223da,libopencl3-473fcb037ab0af80,libcl3-8f151f050151ad78,libcl_sys-5950f6a6e6ec3540,liblibc-20a69e023a5b0045,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" "/tmp/rustcivX4jn/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-9c7b7106e31cacf8" "-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" "d419a6c78f4d9bca6773e331324fffa7a74a2a61dadf485d62d932e52fea706b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d419a6c78f4d9bca6773e331324fffa7a74a2a61dadf485d62d932e52fea706b", kill_on_drop: false }` [INFO] [stdout] d419a6c78f4d9bca6773e331324fffa7a74a2a61dadf485d62d932e52fea706b