[INFO] fetching crate dynhash 0.1.0... [INFO] testing dynhash-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate dynhash 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate dynhash 0.1.0 [INFO] finished tweaking crates.io crate dynhash 0.1.0 [INFO] tweaked toml for crates.io crate dynhash 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dynhash 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding sha2 v0.8.2 (available: v0.10.9) [INFO] [stderr] Adding sha3 v0.8.2 (available: v0.10.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33ecef58c4f582dc06d6d7413838131e917f4551e3e09d07dd82ba8e120d9bfa [INFO] running `Command { std: "docker" "start" "-a" "33ecef58c4f582dc06d6d7413838131e917f4551e3e09d07dd82ba8e120d9bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33ecef58c4f582dc06d6d7413838131e917f4551e3e09d07dd82ba8e120d9bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33ecef58c4f582dc06d6d7413838131e917f4551e3e09d07dd82ba8e120d9bfa", kill_on_drop: false }` [INFO] [stdout] 33ecef58c4f582dc06d6d7413838131e917f4551e3e09d07dd82ba8e120d9bfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d86503b6aa77fc7b34420d310d3cfffa36414bf68b3a733b384fe07b978951a [INFO] running `Command { std: "docker" "start" "-a" "7d86503b6aa77fc7b34420d310d3cfffa36414bf68b3a733b384fe07b978951a", kill_on_drop: false }` [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling dynhash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | impl fmt::Debug for HashType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | impl fmt::Debug for dyn HashType { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:67:56 [INFO] [stdout] | [INFO] [stdout] 67 | fn new_with_content(&self, f: &[u8]) -> Result, HashError>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn new_with_content(&self, f: &[u8]) -> Result, HashError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | fn hash_type(&self) -> &'static HashType [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | fn hash_type(&self) -> &'static dyn HashType [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | fn output_type() -> &'static HashType; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 | fn output_type() -> &'static dyn HashType; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "7d86503b6aa77fc7b34420d310d3cfffa36414bf68b3a733b384fe07b978951a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d86503b6aa77fc7b34420d310d3cfffa36414bf68b3a733b384fe07b978951a", kill_on_drop: false }` [INFO] [stdout] 7d86503b6aa77fc7b34420d310d3cfffa36414bf68b3a733b384fe07b978951a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b4817b3ecc865ab6778544aaed9c4028e0c3436c7718f281bd7cea3f455e5a4 [INFO] running `Command { std: "docker" "start" "-a" "3b4817b3ecc865ab6778544aaed9c4028e0c3436c7718f281bd7cea3f455e5a4", kill_on_drop: false }` [INFO] [stderr] Compiling dynhash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | impl fmt::Debug for HashType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | impl fmt::Debug for dyn HashType { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:67:56 [INFO] [stdout] | [INFO] [stdout] 67 | fn new_with_content(&self, f: &[u8]) -> Result, HashError>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn new_with_content(&self, f: &[u8]) -> Result, HashError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | fn hash_type(&self) -> &'static HashType [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | fn hash_type(&self) -> &'static dyn HashType [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | fn output_type() -> &'static HashType; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 | fn output_type() -> &'static dyn HashType; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | impl fmt::Debug for HashType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | impl fmt::Debug for dyn HashType { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:67:56 [INFO] [stdout] | [INFO] [stdout] 67 | fn new_with_content(&self, f: &[u8]) -> Result, HashError>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn new_with_content(&self, f: &[u8]) -> Result, HashError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | fn hash_type(&self) -> &'static HashType [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | fn hash_type(&self) -> &'static dyn HashType [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | fn output_type() -> &'static HashType; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 | fn output_type() -> &'static dyn HashType; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sha3` [INFO] [stdout] --> src/lib.rs:168:45 [INFO] [stdout] | [INFO] [stdout] 168 | let sha3_hash: Box = Box::new(sha3::Hash_Sha3_512([0xAF as u8; 64])); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sha3` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(any(feature = "sha3", feature = "doc"))] [INFO] [stdout] | ----------------------------------- the item is gated here [INFO] [stdout] 50 | pub mod sha3; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: to make use of source file src/sha3.rs, use `mod sha3` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 44 + mod sha3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sha2` [INFO] [stdout] --> src/lib.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | let sha2_hash: Box = Box::new(sha2::Hash_Sha2_256([0xFA as u8; 32])); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sha2` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(any(feature = "sha2", feature = "doc"))] [INFO] [stdout] | ----------------------------------- the item is gated here [INFO] [stdout] 55 | pub mod sha2; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: to make use of source file src/sha2.rs, use `mod sha2` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 44 + mod sha2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sha2` [INFO] [stdout] --> src/lib.rs:159:33 [INFO] [stdout] | [INFO] [stdout] 159 | assert!(std::mem::size_of::() == 0); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sha2` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(any(feature = "sha2", feature = "doc"))] [INFO] [stdout] | ----------------------------------- the item is gated here [INFO] [stdout] 55 | pub mod sha2; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: to make use of source file src/sha2.rs, use `mod sha2` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 44 + mod sha2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sha3` [INFO] [stdout] --> src/lib.rs:160:33 [INFO] [stdout] | [INFO] [stdout] 160 | assert!(std::mem::size_of::() == 0); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sha3` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(any(feature = "sha3", feature = "doc"))] [INFO] [stdout] | ----------------------------------- the item is gated here [INFO] [stdout] 50 | pub mod sha3; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: to make use of source file src/sha3.rs, use `mod sha3` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 44 + mod sha3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sha2` [INFO] [stdout] --> src/lib.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | assert!(std::mem::size_of::() == 32); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sha2` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(any(feature = "sha2", feature = "doc"))] [INFO] [stdout] | ----------------------------------- the item is gated here [INFO] [stdout] 55 | pub mod sha2; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: to make use of source file src/sha2.rs, use `mod sha2` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 44 + mod sha2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sha3` [INFO] [stdout] --> src/lib.rs:163:33 [INFO] [stdout] | [INFO] [stdout] 163 | assert!(std::mem::size_of::() == 64); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sha3` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(any(feature = "sha3", feature = "doc"))] [INFO] [stdout] | ----------------------------------- the item is gated here [INFO] [stdout] 50 | pub mod sha3; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: to make use of source file src/sha3.rs, use `mod sha3` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 44 + mod sha3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sha3` [INFO] [stdout] --> src/lib.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | let maybe_sha3_hash: Result, Box> = sha2_hash.downcast(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sha3` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(any(feature = "sha3", feature = "doc"))] [INFO] [stdout] | ----------------------------------- the item is gated here [INFO] [stdout] 50 | pub mod sha3; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: to make use of source file src/sha3.rs, use `mod sha3` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 44 + mod sha3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sha3` [INFO] [stdout] --> src/lib.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | let _sha3_hash: Box = sha3_hash.downcast().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sha3` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(any(feature = "sha3", feature = "doc"))] [INFO] [stdout] | ----------------------------------- the item is gated here [INFO] [stdout] 50 | pub mod sha3; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: to make use of source file src/sha3.rs, use `mod sha3` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 44 + mod sha3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dynhash` (lib test) due to 8 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3b4817b3ecc865ab6778544aaed9c4028e0c3436c7718f281bd7cea3f455e5a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b4817b3ecc865ab6778544aaed9c4028e0c3436c7718f281bd7cea3f455e5a4", kill_on_drop: false }` [INFO] [stdout] 3b4817b3ecc865ab6778544aaed9c4028e0c3436c7718f281bd7cea3f455e5a4