[INFO] fetching crate dynhash 0.1.0...
[INFO] checking dynhash-0.1.0 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate dynhash 0.1.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate dynhash 0.1.0 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0a93df41ea97dfaecb468f314c3837e796dfd373b94939d4848c28ab438826db
[INFO] running `Command { std: "docker" "start" "-a" "0a93df41ea97dfaecb468f314c3837e796dfd373b94939d4848c28ab438826db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a93df41ea97dfaecb468f314c3837e796dfd373b94939d4848c28ab438826db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a93df41ea97dfaecb468f314c3837e796dfd373b94939d4848c28ab438826db", kill_on_drop: false }`
[INFO] [stdout] 0a93df41ea97dfaecb468f314c3837e796dfd373b94939d4848c28ab438826db
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4b0dfad8dc661b45761d5dcc135e4266810e7438ada15693cd23a17b434e828a
[INFO] running `Command { std: "docker" "start" "-a" "4b0dfad8dc661b45761d5dcc135e4266810e7438ada15693cd23a17b434e828a", kill_on_drop: false }`
[INFO] [stderr]     Checking mopa v0.2.2
[INFO] [stderr]     Checking 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe 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<Box<Hash>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn new_with_content(&self, f: &[u8]) -> Result<Box<dyn Hash>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn output_type() -> &'static dyn HashType;
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe 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<Box<Hash>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn new_with_content(&self, f: &[u8]) -> Result<Box<dyn Hash>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe 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 undeclared crate or module `sha3`
[INFO] [stdout]    --> src/lib.rs:168:45
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let sha3_hash: Box<dyn Hash> = Box::new(sha3::Hash_Sha3_512([0xAF as u8; 64]));
[INFO] [stdout]     |                                             ^^^^ use of undeclared crate or module `sha3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha2`
[INFO] [stdout]    --> src/lib.rs:171:45
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let sha2_hash: Box<dyn Hash> = Box::new(sha2::Hash_Sha2_256([0xFA as u8; 32]));
[INFO] [stdout]     |                                             ^^^^ use of undeclared crate or module `sha2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha2`
[INFO] [stdout]    --> src/lib.rs:159:33
[INFO] [stdout]     |
[INFO] [stdout] 159 |     assert!(std::mem::size_of::<sha2::HashType_Sha2_512>() == 0);
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `sha2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha3`
[INFO] [stdout]    --> src/lib.rs:160:33
[INFO] [stdout]     |
[INFO] [stdout] 160 |     assert!(std::mem::size_of::<sha3::HashType_Sha3_512>() == 0);
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `sha3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha2`
[INFO] [stdout]    --> src/lib.rs:162:33
[INFO] [stdout]     |
[INFO] [stdout] 162 |     assert!(std::mem::size_of::<sha2::Hash_Sha2_256>() == 32);
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `sha2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha3`
[INFO] [stdout]    --> src/lib.rs:163:33
[INFO] [stdout]     |
[INFO] [stdout] 163 |     assert!(std::mem::size_of::<sha3::Hash_Sha3_512>() == 64);
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `sha3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha3`
[INFO] [stdout]    --> src/lib.rs:172:37
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let maybe_sha3_hash: Result<Box<sha3::Hash_Sha3_256>, Box<dyn Hash>> = sha2_hash.downcast();
[INFO] [stdout]     |                                     ^^^^ use of undeclared crate or module `sha3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha3`
[INFO] [stdout]    --> src/lib.rs:169:25
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let _sha3_hash: Box<sha3::Hash_Sha3_512> = sha3_hash.downcast().unwrap();
[INFO] [stdout]     |                         ^^^^ use of undeclared crate or module `sha3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted
[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 9 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4b0dfad8dc661b45761d5dcc135e4266810e7438ada15693cd23a17b434e828a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b0dfad8dc661b45761d5dcc135e4266810e7438ada15693cd23a17b434e828a", kill_on_drop: false }`
[INFO] [stdout] 4b0dfad8dc661b45761d5dcc135e4266810e7438ada15693cd23a17b434e828a
[INFO] checking dynhash-0.1.0 against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] extracting crate dynhash 0.1.0 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate dynhash 0.1.0 on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 53c6866353916426c519907b14da1ca2311357ddb3e591ff76c1aa5ac13409d8
[INFO] running `Command { std: "docker" "start" "-a" "53c6866353916426c519907b14da1ca2311357ddb3e591ff76c1aa5ac13409d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "53c6866353916426c519907b14da1ca2311357ddb3e591ff76c1aa5ac13409d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53c6866353916426c519907b14da1ca2311357ddb3e591ff76c1aa5ac13409d8", kill_on_drop: false }`
[INFO] [stdout] 53c6866353916426c519907b14da1ca2311357ddb3e591ff76c1aa5ac13409d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 93ef45ac8a3014a1c5d2889f49d081224d3beaa6d2a3546e4ea6f1ae44ea5d7e
[INFO] running `Command { std: "docker" "start" "-a" "93ef45ac8a3014a1c5d2889f49d081224d3beaa6d2a3546e4ea6f1ae44ea5d7e", kill_on_drop: false }`
[INFO] [stderr]     Checking mopa v0.2.2
[INFO] [stderr]     Checking 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe 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<Box<Hash>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn new_with_content(&self, f: &[u8]) -> Result<Box<dyn Hash>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn output_type() -> &'static dyn HashType;
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe 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<Box<Hash>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn new_with_content(&self, f: &[u8]) -> Result<Box<dyn Hash>, 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe 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 undeclared crate or module `sha3`
[INFO] [stdout]    --> src/lib.rs:168:45
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let sha3_hash: Box<dyn Hash> = Box::new(sha3::Hash_Sha3_512([0xAF as u8; 64]));
[INFO] [stdout]     |                                             ^^^^ use of undeclared crate or module `sha3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha2`
[INFO] [stdout]    --> src/lib.rs:171:45
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let sha2_hash: Box<dyn Hash> = Box::new(sha2::Hash_Sha2_256([0xFA as u8; 32]));
[INFO] [stdout]     |                                             ^^^^ use of undeclared crate or module `sha2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha2`
[INFO] [stdout]    --> src/lib.rs:159:33
[INFO] [stdout]     |
[INFO] [stdout] 159 |     assert!(std::mem::size_of::<sha2::HashType_Sha2_512>() == 0);
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `sha2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha3`
[INFO] [stdout]    --> src/lib.rs:160:33
[INFO] [stdout]     |
[INFO] [stdout] 160 |     assert!(std::mem::size_of::<sha3::HashType_Sha3_512>() == 0);
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `sha3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha2`
[INFO] [stdout]    --> src/lib.rs:162:33
[INFO] [stdout]     |
[INFO] [stdout] 162 |     assert!(std::mem::size_of::<sha2::Hash_Sha2_256>() == 32);
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `sha2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha3`
[INFO] [stdout]    --> src/lib.rs:163:33
[INFO] [stdout]     |
[INFO] [stdout] 163 |     assert!(std::mem::size_of::<sha3::Hash_Sha3_512>() == 64);
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `sha3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha3`
[INFO] [stdout]    --> src/lib.rs:172:37
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let maybe_sha3_hash: Result<Box<sha3::Hash_Sha3_256>, Box<dyn Hash>> = sha2_hash.downcast();
[INFO] [stdout]     |                                     ^^^^ use of undeclared crate or module `sha3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sha3`
[INFO] [stdout]    --> src/lib.rs:169:25
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let _sha3_hash: Box<sha3::Hash_Sha3_512> = sha3_hash.downcast().unwrap();
[INFO] [stdout]     |                         ^^^^ use of undeclared crate or module `sha3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted
[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 9 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "93ef45ac8a3014a1c5d2889f49d081224d3beaa6d2a3546e4ea6f1ae44ea5d7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93ef45ac8a3014a1c5d2889f49d081224d3beaa6d2a3546e4ea6f1ae44ea5d7e", kill_on_drop: false }`
[INFO] [stdout] 93ef45ac8a3014a1c5d2889f49d081224d3beaa6d2a3546e4ea6f1ae44ea5d7e
