[INFO] fetching crate juice 0.3.0... [INFO] checking juice-0.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate juice 0.3.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate juice 0.3.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab2d80a829885c60ac551aaf2abf87f9a19184f7f3ea142515d66eb6d14d1a47 [INFO] running `Command { std: "docker" "start" "-a" "ab2d80a829885c60ac551aaf2abf87f9a19184f7f3ea142515d66eb6d14d1a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab2d80a829885c60ac551aaf2abf87f9a19184f7f3ea142515d66eb6d14d1a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2d80a829885c60ac551aaf2abf87f9a19184f7f3ea142515d66eb6d14d1a47", kill_on_drop: false }` [INFO] [stdout] ab2d80a829885c60ac551aaf2abf87f9a19184f7f3ea142515d66eb6d14d1a47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01138676c5dba4bb9bb5b6b93a47404e2cef2ce05c43b9fe1f92a239a80e7163 [INFO] running `Command { std: "docker" "start" "-a" "01138676c5dba4bb9bb5b6b93a47404e2cef2ce05c43b9fe1f92a239a80e7163", 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] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling capnp v0.14.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [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-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [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 capnpc v0.14.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking timeit v0.1.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling juice v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking rcudnn v1.8.0 [INFO] [stderr] Checking rcublas v0.6.0 [INFO] [stderr] Checking coaster v0.2.0 [INFO] [stderr] Checking coaster-blas v0.4.0 [INFO] [stderr] Checking coaster-nn v0.5.0 [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] 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] 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] [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] 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] [stderr] error: could not compile `juice` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` 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] 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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/network_benches.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut network = Layer::from_config( [INFO] [stdout] | ------------------ arguments to this function are incorrect [INFO] [stdout] 94 | backend.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `Rc<_>`, found `Backend` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Rc<_>` [INFO] [stdout] found struct `co::Backend` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/layer.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 956 | pub fn from_config(backend: Rc, config: &LayerConfig) -> Layer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `co::Backend` into `Rc<_>` [INFO] [stdout] | [INFO] [stdout] 94 | backend.clone().into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/network_benches.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 258 | let mut network = Layer::from_config( [INFO] [stdout] | ------------------ arguments to this function are incorrect [INFO] [stdout] 259 | backend.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `Rc<_>`, found `Backend` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Rc<_>` [INFO] [stdout] found struct `co::Backend` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/layer.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 956 | pub fn from_config(backend: Rc, config: &LayerConfig) -> Layer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `co::Backend` into `Rc<_>` [INFO] [stdout] | [INFO] [stdout] 259 | backend.clone().into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/network_benches.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 417 | let mut network = Layer::from_config( [INFO] [stdout] | ------------------ arguments to this function are incorrect [INFO] [stdout] 418 | backend.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `Rc<_>`, found `Backend` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Rc<_>` [INFO] [stdout] found struct `co::Backend` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/layer.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 956 | pub fn from_config(backend: Rc, config: &LayerConfig) -> Layer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `co::Backend` into `Rc<_>` [INFO] [stdout] | [INFO] [stdout] 418 | backend.clone().into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `juice` (bench "network_benches") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "01138676c5dba4bb9bb5b6b93a47404e2cef2ce05c43b9fe1f92a239a80e7163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01138676c5dba4bb9bb5b6b93a47404e2cef2ce05c43b9fe1f92a239a80e7163", kill_on_drop: false }` [INFO] [stdout] 01138676c5dba4bb9bb5b6b93a47404e2cef2ce05c43b9fe1f92a239a80e7163