[INFO] fetching crate rcudnn 1.8.0... [INFO] testing rcudnn-1.8.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rcudnn 1.8.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate rcudnn 1.8.0 [INFO] finished tweaking crates.io crate rcudnn 1.8.0 [INFO] tweaked toml for crates.io crate rcudnn 1.8.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rcudnn 1.8.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [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] Downloading crates ... [INFO] [stderr] Downloaded rcudnn-sys v0.5.0 [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] 7e0dd8f774b53fe67d4b9d1662d0a0a11bb0805b66d2340a89fcf4a2a17b33dc [INFO] running `Command { std: "docker" "start" "-a" "7e0dd8f774b53fe67d4b9d1662d0a0a11bb0805b66d2340a89fcf4a2a17b33dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e0dd8f774b53fe67d4b9d1662d0a0a11bb0805b66d2340a89fcf4a2a17b33dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e0dd8f774b53fe67d4b9d1662d0a0a11bb0805b66d2340a89fcf4a2a17b33dc", kill_on_drop: false }` [INFO] [stdout] 7e0dd8f774b53fe67d4b9d1662d0a0a11bb0805b66d2340a89fcf4a2a17b33dc [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] e79039aa41be98fd3258f95871802c16492ff1001395f11b38d73579b51b0ce3 [INFO] running `Command { std: "docker" "start" "-a" "e79039aa41be98fd3258f95871802c16492ff1001395f11b38d73579b51b0ce3", kill_on_drop: false }` [INFO] [stderr] Compiling rcudnn-sys v0.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rcudnn v1.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.75s [INFO] running `Command { std: "docker" "inspect" "e79039aa41be98fd3258f95871802c16492ff1001395f11b38d73579b51b0ce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e79039aa41be98fd3258f95871802c16492ff1001395f11b38d73579b51b0ce3", kill_on_drop: false }` [INFO] [stdout] e79039aa41be98fd3258f95871802c16492ff1001395f11b38d73579b51b0ce3 [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] 50122269ff76fc43b1f9dde4fd60e774fb6f58addc080ee073135d1815973f12 [INFO] running `Command { std: "docker" "start" "-a" "50122269ff76fc43b1f9dde4fd60e774fb6f58addc080ee073135d1815973f12", kill_on_drop: false }` [INFO] [stderr] Compiling rcudnn v1.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `coaster` [INFO] [stdout] --> tests/cudnn_specs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use coaster as co; [INFO] [stdout] | ^^^^^^^^^^^^^ no external crate `coaster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log` [INFO] [stdout] --> tests/cudnn_specs.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | log::trace!("RNN API test"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log` [INFO] [stdout] --> tests/cudnn_specs.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | .filter_level(log::LevelFilter::Trace) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cudnnRNNDescriptor_t`, `cudnnRNNPaddingMode_t`, and `cudnnTensorDescriptor_t` [INFO] [stdout] --> tests/cudnn_specs.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use rcudnn::{cudnnRNNDescriptor_t, cudnnRNNPaddingMode_t, cudnnTensorDescriptor_t}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cudnn::utils::RnnConfig` [INFO] [stdout] --> tests/cudnn_specs.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::cudnn::utils::RnnConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rcudnn::utils::DataTypeInfo` [INFO] [stdout] --> tests/cudnn_specs.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | use rcudnn::utils::DataTypeInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rcudnn::RnnDescriptor` [INFO] [stdout] --> tests/cudnn_specs.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | use rcudnn::RnnDescriptor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stdout] --> tests/cudnn_specs.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[link(name = "cudart")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | #[cfg(test)] [INFO] [stdout] 10 | / mod cudnn_spec { [INFO] [stdout] 11 | | [INFO] [stdout] 12 | | use rcudnn::{cudnnRNNDescriptor_t, cudnnRNNPaddingMode_t, cudnnTensorDescriptor_t}; [INFO] [stdout] ... | [INFO] [stdout] 384 | | } [INFO] [stdout] | |_- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] --> tests/cudnn_specs.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let _ = env_logger::builder() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcNGgp1J/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{librcudnn-cf7f464715e9f671,libthiserror-f2e0589f8c30ce1a,librcudnn_sys-ebe4020ea65703d2,libnum-08036cc233bf340d,libnum_iter-b3b44beb14fff46e,libnum_rational-cd3fa67287230f45,libnum_complex-b10cded74d3aaf11,libnum_bigint-489a6a4287442132,libnum_integer-74a4cf281e9d481c,libnum_traits-c87bc96fedcc67a8,liblibc-f44516d981b27aa6}.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" "-lcudnn" "-lcudart" "-lcuda" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcNGgp1J/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/tensor_descriptor_specs-6fba8ef3c81df43d" "-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 -lcudnn [INFO] [stdout] rust-lld: error: unable to find library -lcudart [INFO] [stdout] 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 `rcudnn` (test "tensor_descriptor_specs") due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rcudnn` (test "cudnn_specs") due to 4 previous errors; 5 warnings emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcgluh0W/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libthiserror-f2e0589f8c30ce1a,librcudnn_sys-ebe4020ea65703d2,libnum-08036cc233bf340d,libnum_iter-b3b44beb14fff46e,libnum_rational-cd3fa67287230f45,libnum_complex-b10cded74d3aaf11,libnum_bigint-489a6a4287442132,libnum_integer-74a4cf281e9d481c,libnum_traits-c87bc96fedcc67a8,liblibc-f44516d981b27aa6}.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" "-lcudnn" "-lcudart" "-lcuda" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcgluh0W/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/rcudnn-bb7b203e417dcd72" "-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 -lcudnn [INFO] [stdout] rust-lld: error: unable to find library -lcudart [INFO] [stdout] 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 `rcudnn` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "50122269ff76fc43b1f9dde4fd60e774fb6f58addc080ee073135d1815973f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50122269ff76fc43b1f9dde4fd60e774fb6f58addc080ee073135d1815973f12", kill_on_drop: false }` [INFO] [stdout] 50122269ff76fc43b1f9dde4fd60e774fb6f58addc080ee073135d1815973f12