[INFO] fetching crate dynhash 0.1.0... [INFO] testing dynhash-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate dynhash 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate dynhash 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18cebb2d2bca8c1e0eab9efbcdeeb2e560498ff01e13470e3a8d5576e4cdae48 [INFO] running `Command { std: "docker" "start" "-a" "18cebb2d2bca8c1e0eab9efbcdeeb2e560498ff01e13470e3a8d5576e4cdae48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18cebb2d2bca8c1e0eab9efbcdeeb2e560498ff01e13470e3a8d5576e4cdae48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18cebb2d2bca8c1e0eab9efbcdeeb2e560498ff01e13470e3a8d5576e4cdae48", kill_on_drop: false }` [INFO] [stdout] 18cebb2d2bca8c1e0eab9efbcdeeb2e560498ff01e13470e3a8d5576e4cdae48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6df405faefd4180def5631e1703332a59078b0b43b346a9ce2e818a61e828e3c [INFO] running `Command { std: "docker" "start" "-a" "6df405faefd4180def5631e1703332a59078b0b43b346a9ce2e818a61e828e3c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - impl fmt::Debug for HashType { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn new_with_content(&self, f: &[u8]) -> Result, HashError>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - fn hash_type(&self) -> &'static HashType [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn output_type() -> &'static HashType; [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "6df405faefd4180def5631e1703332a59078b0b43b346a9ce2e818a61e828e3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6df405faefd4180def5631e1703332a59078b0b43b346a9ce2e818a61e828e3c", kill_on_drop: false }` [INFO] [stdout] 6df405faefd4180def5631e1703332a59078b0b43b346a9ce2e818a61e828e3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4f023230d4c6c1c237a0d996c0f6a655e469b89213331800748a468032d7d0e [INFO] running `Command { std: "docker" "start" "-a" "b4f023230d4c6c1c237a0d996c0f6a655e469b89213331800748a468032d7d0e", kill_on_drop: false }` [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - impl fmt::Debug for HashType { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn new_with_content(&self, f: &[u8]) -> Result, HashError>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - fn hash_type(&self) -> &'static HashType [INFO] [stdout] 78 + fn hash_type(&self) -> &'static dyn HashType [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn output_type() -> &'static HashType; [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] 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::() == 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::() == 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::() == 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::() == 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: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 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.downcast().unwrap(); [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 = 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 `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 undeclared crate or module `sha3` [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - impl fmt::Debug for HashType { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn new_with_content(&self, f: &[u8]) -> Result, HashError>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - fn hash_type(&self) -> &'static HashType [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn output_type() -> &'static HashType; [INFO] [stdout] 87 + fn output_type() -> &'static dyn HashType; [INFO] [stdout] | [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` due to 9 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b4f023230d4c6c1c237a0d996c0f6a655e469b89213331800748a468032d7d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4f023230d4c6c1c237a0d996c0f6a655e469b89213331800748a468032d7d0e", kill_on_drop: false }` [INFO] [stdout] b4f023230d4c6c1c237a0d996c0f6a655e469b89213331800748a468032d7d0e