[INFO] fetching crate af-cuda-interop 3.7.1... [INFO] testing af-cuda-interop-3.7.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate af-cuda-interop 3.7.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate af-cuda-interop 3.7.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate af-cuda-interop 3.7.1 [INFO] tweaked toml for crates.io crate af-cuda-interop 3.7.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate af-cuda-interop 3.7.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate af-cuda-interop 3.7.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c2e0b0e62a3bbc9b66d4317689d4c3654b9e353e8fa73df9907a51c2a24666b [INFO] running `Command { std: "docker" "start" "-a" "6c2e0b0e62a3bbc9b66d4317689d4c3654b9e353e8fa73df9907a51c2a24666b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c2e0b0e62a3bbc9b66d4317689d4c3654b9e353e8fa73df9907a51c2a24666b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c2e0b0e62a3bbc9b66d4317689d4c3654b9e353e8fa73df9907a51c2a24666b", kill_on_drop: false }` [INFO] [stdout] 6c2e0b0e62a3bbc9b66d4317689d4c3654b9e353e8fa73df9907a51c2a24666b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed7b1ab3cf28361cb7d77ed23a235dba61c830bb7424becb9d017a07dfe7b8fc [INFO] running `Command { std: "docker" "start" "-a" "ed7b1ab3cf28361cb7d77ed23a235dba61c830bb7424becb9d017a07dfe7b8fc", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling proc-macro2 v1.0.20 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling cuda-config v0.1.0 [INFO] [stderr] Compiling cuda-runtime-sys v0.3.0-alpha.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling arrayfire v3.7.1 [INFO] [stderr] Compiling af-cuda-interop v3.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.39s [INFO] running `Command { std: "docker" "inspect" "ed7b1ab3cf28361cb7d77ed23a235dba61c830bb7424becb9d017a07dfe7b8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed7b1ab3cf28361cb7d77ed23a235dba61c830bb7424becb9d017a07dfe7b8fc", kill_on_drop: false }` [INFO] [stdout] ed7b1ab3cf28361cb7d77ed23a235dba61c830bb7424becb9d017a07dfe7b8fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac0c0b48c14af9cb990fd8ae7a7eef553976117cb10d84e1bec7992dba2b52bc [INFO] running `Command { std: "docker" "start" "-a" "ac0c0b48c14af9cb990fd8ae7a7eef553976117cb10d84e1bec7992dba2b52bc", kill_on_drop: false }` [INFO] [stderr] Compiling cuda-sys v0.2.0 [INFO] [stderr] Compiling rustacuda_core v0.1.2 [INFO] [stderr] Compiling rustacuda_derive v0.1.2 [INFO] [stderr] Compiling rustacuda v0.1.2 [INFO] [stderr] Compiling af-cuda-interop v3.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rustacuda::*` [INFO] [stdout] --> examples/cuda_af_app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rustacuda::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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/rustcLpootz/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libcuda_runtime_sys-456ff47a0cb391b6,libarrayfire-d69fe8a79359bb8f,libhalf-ca4a60364d445843,liblibc-6ce50bd8be94f49a,libnum-bb19de7d7259ae77,libnum_rational-c3cdf81cc9f566a8,libnum_iter-bb8ac594388947ed,libnum_complex-43b6cb6dacf43645,libnum_bigint-7b09d367556fd5a4,libnum_integer-d78a64688fabd55c,libnum_traits-d66036a945450ccd,liblazy_static-2bb390fee0230a38}.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" "-lcudart" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcLpootz/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/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/af_cuda_interop-b32a19da2b731443" "-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 -lcudart [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustctR5PRv/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librustacuda-d476a7a87a275cb0,librustacuda_core-571d58c358764423,libcuda_sys-435670900790e333,libbitflags-0629d6d36c0d1ed3,libarrayfire-d69fe8a79359bb8f,libhalf-ca4a60364d445843,liblibc-6ce50bd8be94f49a,libnum-bb19de7d7259ae77,libnum_rational-c3cdf81cc9f566a8,libnum_iter-bb8ac594388947ed,libnum_complex-43b6cb6dacf43645,libnum_bigint-7b09d367556fd5a4,libnum_integer-d78a64688fabd55c,libnum_traits-d66036a945450ccd,liblazy_static-2bb390fee0230a38}.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" "-lcudart" "-lcublas" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustctR5PRv/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/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/custom_kernel-df20d057efac93a1" "-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] rust-lld: error: unable to find library -lcudart [INFO] [stdout] rust-lld: error: unable to find library -lcublas [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `af-cuda-interop` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `af-cuda-interop` (example "custom_kernel") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcaBYXlU/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librustacuda-d476a7a87a275cb0,librustacuda_core-571d58c358764423,libcuda_sys-435670900790e333,libbitflags-0629d6d36c0d1ed3,libarrayfire-d69fe8a79359bb8f,libhalf-ca4a60364d445843,liblibc-6ce50bd8be94f49a,libnum-bb19de7d7259ae77,libnum_rational-c3cdf81cc9f566a8,libnum_iter-bb8ac594388947ed,libnum_complex-43b6cb6dacf43645,libnum_bigint-7b09d367556fd5a4,libnum_integer-d78a64688fabd55c,libnum_traits-d66036a945450ccd,liblazy_static-2bb390fee0230a38}.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" "-lcudart" "-lcublas" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcaBYXlU/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/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/cuda_af_app-2d41615401ae2f52" "-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] rust-lld: error: unable to find library -lcudart [INFO] [stdout] rust-lld: error: unable to find library -lcublas [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `af-cuda-interop` (example "cuda_af_app") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ac0c0b48c14af9cb990fd8ae7a7eef553976117cb10d84e1bec7992dba2b52bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac0c0b48c14af9cb990fd8ae7a7eef553976117cb10d84e1bec7992dba2b52bc", kill_on_drop: false }` [INFO] [stdout] ac0c0b48c14af9cb990fd8ae7a7eef553976117cb10d84e1bec7992dba2b52bc