[INFO] fetching crate juice 0.3.0... [INFO] testing juice-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate juice 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate juice 0.3.0 [INFO] finished tweaking crates.io crate juice 0.3.0 [INFO] tweaked toml for crates.io crate juice 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate juice 0.3.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate juice 0.3.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" "+b83b707f97d809763b7861afa7638871f3339a33" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6214ca780375b02653082a25098e096f41d719f96726006206c02fad9d55336 [INFO] running `Command { std: "docker" "start" "-a" "c6214ca780375b02653082a25098e096f41d719f96726006206c02fad9d55336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6214ca780375b02653082a25098e096f41d719f96726006206c02fad9d55336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6214ca780375b02653082a25098e096f41d719f96726006206c02fad9d55336", kill_on_drop: false }` [INFO] [stdout] c6214ca780375b02653082a25098e096f41d719f96726006206c02fad9d55336 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2e36343e281efb1324347fdfd3543d47f6cf2ad183e5014c020b5cdccdd94bb [INFO] running `Command { std: "docker" "start" "-a" "c2e36343e281efb1324347fdfd3543d47f6cf2ad183e5014c020b5cdccdd94bb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling capnp v0.14.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rcudnn-sys v0.5.0 [INFO] [stderr] Compiling rcublas-sys v0.5.0 [INFO] [stderr] Compiling rust-blas v0.2.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling capnpc v0.14.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling timeit v0.1.2 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling juice v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling rcublas v0.6.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling rcudnn v1.8.0 [INFO] [stderr] Compiling coaster v0.2.0 [INFO] [stderr] Compiling coaster-blas v0.4.0 [INFO] [stderr] Compiling coaster-nn v0.5.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `lint` [INFO] [stdout] --> src/layer.rs:1075:16 [INFO] [stdout] | [INFO] [stdout] 1075 | #[cfg_attr(lint, allow(map_clone))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lint)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lint)");` to the top of the `build.rs` [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 name: `lint` [INFO] [stdout] --> src/layer.rs:1105:16 [INFO] [stdout] | [INFO] [stdout] 1105 | #[cfg_attr(lint, allow(map_clone))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lint)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lint)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `lint` [INFO] [stdout] --> src/layer.rs:1146:16 [INFO] [stdout] | [INFO] [stdout] 1146 | #[cfg_attr(lint, allow(map_clone))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lint)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lint)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.87s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: coaster-blas v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c2e36343e281efb1324347fdfd3543d47f6cf2ad183e5014c020b5cdccdd94bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2e36343e281efb1324347fdfd3543d47f6cf2ad183e5014c020b5cdccdd94bb", kill_on_drop: false }` [INFO] [stdout] c2e36343e281efb1324347fdfd3543d47f6cf2ad183e5014c020b5cdccdd94bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a6fd2540353effd61cd723cd0f472347044381a25d329ed5a6db462e2e6ddb8 [INFO] running `Command { std: "docker" "start" "-a" "8a6fd2540353effd61cd723cd0f472347044381a25d329ed5a6db462e2e6ddb8", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `lint` [INFO] [stdout] --> src/layer.rs:1075:16 [INFO] [stdout] | [INFO] [stdout] 1075 | #[cfg_attr(lint, allow(map_clone))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lint)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lint)");` to the top of the `build.rs` [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 name: `lint` [INFO] [stdout] --> src/layer.rs:1105:16 [INFO] [stdout] | [INFO] [stdout] 1105 | #[cfg_attr(lint, allow(map_clone))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lint)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lint)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `lint` [INFO] [stdout] --> src/layer.rs:1146:16 [INFO] [stdout] | [INFO] [stdout] 1146 | #[cfg_attr(lint, allow(map_clone))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lint)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lint)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling juice v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `env_logger` [INFO] [stdout] --> examples/benchmarks.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate env_logger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::co::frameworks::cuda::get_cuda_backend as cuda_backend` [INFO] [stdout] --> examples/benchmarks.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use crate::co::frameworks::cuda::get_cuda_backend as cuda_backend; [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 imports: `LayerConfig`, `LayerType`, and `Layer` [INFO] [stdout] --> examples/benchmarks.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | use juice::layer::{Layer, LayerConfig, LayerType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConvolutionConfig`, `LinearConfig`, `PoolingConfig`, `PoolingMode`, and `SequentialConfig` [INFO] [stdout] --> examples/benchmarks.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | use juice::layers::{ConvolutionConfig, LinearConfig, PoolingConfig, PoolingMode, SequentialConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `whatever` [INFO] [stdout] --> tests/solver_specs.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(all(test, whatever))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(whatever)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(whatever)");` to the top of the `build.rs` [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] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `juice` (example "benchmarks") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `env_logger` [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | use env_logger as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcASl3AF/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/{libjuice-5ef4b88a8b230e99,libcoaster_nn-1e7230ace46a1366,librand-73e03d9000111f10,librand_chacha-731a3a7502c4dd0b,libppv_lite86-aed5e974f8213bc1,librand_core-47428118a334b99c,libgetrandom-3ef1aad49b866f6c,libcoaster_blas-94ed72fcf5262610,librust_blas-758c383084b9474f,libcapnp-95f95867eae842a5,libtimeit-68c434dcdfe516e7,libtime-859122f13947db32,libcoaster-7cc046f6ae19c309,librcudnn-d6c46702eee66a96,librcudnn_sys-bfc318d93bb26336,librcublas-2e450e3fe5ad226d,libthiserror-2dace739e3521028,liblog-e324f1d2fae59712,libcfg_if-33ef6c02a07f9fec,librcublas_sys-87431bc864921783,libnum-2aaac84d37efea64,libnum_iter-e77f764a448cb9dd,libnum_rational-4691cc1652d85e92,libnum_complex-a4c8676e3694b6f9,libnum_bigint-a0f764af0b2b4a8e,libnum_integer-063a83cb79d247ce,libbyteorder-379f547b04d51d02,liblibc-2455ee981958cb58,liblazy_static-2bb390fee0230a38,libenum_primitive-dafbcf8a61767c4f,libnum_traits-c25bbd0958a66a34,libnum_traits-f3489a6164af1040,libbitflags-e2b4db6c651223da}.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" "-lopenblas" "-lcuda" "-lcudnn" "-lcudart" "-lcuda" "-lcublas" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcASl3AF/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/x86_64-linux-gnu/openblas-pthread/" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/solver_specs-29f0326d60ac5069" "-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 -lcudnn [INFO] [stdout] rust-lld: error: unable to find library -lcudart [INFO] [stdout] rust-lld: error: unable to find library -lcuda [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 `juice` (test "solver_specs") due to 1 previous error; 1 warning emitted [INFO] [stdout] warning: unexpected `cfg` condition name: `lint` [INFO] [stdout] --> src/layer.rs:1075:16 [INFO] [stdout] | [INFO] [stdout] 1075 | #[cfg_attr(lint, allow(map_clone))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lint)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lint)");` to the top of the `build.rs` [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 name: `lint` [INFO] [stdout] --> src/layer.rs:1105:16 [INFO] [stdout] | [INFO] [stdout] 1105 | #[cfg_attr(lint, allow(map_clone))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lint)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lint)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `lint` [INFO] [stdout] --> src/layer.rs:1146:16 [INFO] [stdout] | [INFO] [stdout] 1146 | #[cfg_attr(lint, allow(map_clone))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lint)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lint)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger` [INFO] [stdout] --> src/layers/common/rnn.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | 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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `juice` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc3KO6c6/symbols.o" "<17 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/{libjuice-5ef4b88a8b230e99,libcoaster_nn-1e7230ace46a1366,librand-73e03d9000111f10,librand_chacha-731a3a7502c4dd0b,libppv_lite86-aed5e974f8213bc1,librand_core-47428118a334b99c,libgetrandom-3ef1aad49b866f6c,libcoaster_blas-94ed72fcf5262610,librust_blas-758c383084b9474f,libcapnp-95f95867eae842a5,libtimeit-68c434dcdfe516e7,libtime-859122f13947db32,libcoaster-7cc046f6ae19c309,librcudnn-d6c46702eee66a96,librcudnn_sys-bfc318d93bb26336,librcublas-2e450e3fe5ad226d,libthiserror-2dace739e3521028,liblog-e324f1d2fae59712,libcfg_if-33ef6c02a07f9fec,librcublas_sys-87431bc864921783,libnum-2aaac84d37efea64,libnum_iter-e77f764a448cb9dd,libnum_rational-4691cc1652d85e92,libnum_complex-a4c8676e3694b6f9,libnum_bigint-a0f764af0b2b4a8e,libnum_integer-063a83cb79d247ce,libbyteorder-379f547b04d51d02,liblibc-2455ee981958cb58,liblazy_static-2bb390fee0230a38,libenum_primitive-dafbcf8a61767c4f,libnum_traits-c25bbd0958a66a34,libnum_traits-f3489a6164af1040,libbitflags-e2b4db6c651223da}.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" "-lopenblas" "-lcuda" "-lcudnn" "-lcudart" "-lcuda" "-lcublas" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc3KO6c6/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/x86_64-linux-gnu/openblas-pthread/" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/layer_specs-6122cc038a43fecc" "-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 -lcudnn [INFO] [stdout] rust-lld: error: unable to find library -lcudart [INFO] [stdout] rust-lld: error: unable to find library -lcuda [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 `juice` (test "layer_specs") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "8a6fd2540353effd61cd723cd0f472347044381a25d329ed5a6db462e2e6ddb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a6fd2540353effd61cd723cd0f472347044381a25d329ed5a6db462e2e6ddb8", kill_on_drop: false }` [INFO] [stdout] 8a6fd2540353effd61cd723cd0f472347044381a25d329ed5a6db462e2e6ddb8