[INFO] fetching crate sp-multihash 0.3.0... [INFO] checking sp-multihash-0.3.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate sp-multihash 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate sp-multihash 0.3.0 [INFO] finished tweaking crates.io crate sp-multihash 0.3.0 [INFO] tweaked toml for crates.io crate sp-multihash 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sp-multihash 0.3.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 129 packages to latest compatible versions [INFO] [stderr] Adding blake2b_simd v0.5.11 (available: v1.0.3) [INFO] [stderr] Adding blake2s_simd v0.5.11 (available: v1.0.3) [INFO] [stderr] Adding blake3 v0.3.8 (available: v1.8.2) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.6.0) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding parity-scale-codec v2.3.1 (available: v3.7.5) [INFO] [stderr] Adding quickcheck v0.9.2 (available: v1.0.3) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.1) [INFO] [stderr] Adding serde-big-array v0.3.3 (available: v0.5.1) [INFO] [stderr] Adding sha-1 v0.9.8 (available: v0.10.1) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.9) [INFO] [stderr] Adding sha3 v0.9.1 (available: v0.10.8) [INFO] [stderr] Adding strobe-rs v0.6.2 (available: v0.10.0) [INFO] [stderr] Adding unsigned-varint v0.7.2 (available: v0.8.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db382d44d96096e06e17ec9ff702814f65f86f400226eb5ae41d87c12c2d721d [INFO] running `Command { std: "docker" "start" "-a" "db382d44d96096e06e17ec9ff702814f65f86f400226eb5ae41d87c12c2d721d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db382d44d96096e06e17ec9ff702814f65f86f400226eb5ae41d87c12c2d721d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db382d44d96096e06e17ec9ff702814f65f86f400226eb5ae41d87c12c2d721d", kill_on_drop: false }` [INFO] [stdout] db382d44d96096e06e17ec9ff702814f65f86f400226eb5ae41d87c12c2d721d [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cd50d4de2cf6f2f7b6ec8c75196fb9c4135e4ff1afa65a1b77e7dee8a044688 [INFO] running `Command { std: "docker" "start" "-a" "9cd50d4de2cf6f2f7b6ec8c75196fb9c4135e4ff1afa65a1b77e7dee8a044688", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bytecursor v0.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling sp-multihash-derive v0.2.0 [INFO] [stderr] Checking sp-multihash v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> benches/multihash.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::Rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `multihash` [INFO] [stdout] --> benches/multihash.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use multihash::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `multihash` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use sp_multihash::{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/arb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `quickcheck` [INFO] [stdout] --> src/arb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use quickcheck::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `quickcheck` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `quickcheck`, use `cargo add quickcheck` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/arb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> benches/multihash.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> benches/multihash.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sp_multihash::Sha1`, `sp_multihash::Sha1Digest`, `sp_multihash::Strobe256`, `sp_multihash::Strobe512`, `sp_multihash::StrobeDigest` [INFO] [stdout] --> tests/lib.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | Sha1, [INFO] [stdout] | ^^^^ no `Sha1` in the root [INFO] [stdout] 27 | Sha1Digest, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Sha1Digest` in the root [INFO] [stdout] | help: a similar name exists in the module: `Sha2Digest` [INFO] [stdout] ... [INFO] [stdout] 37 | Strobe256, [INFO] [stdout] | ^^^^^^^^^ no `Strobe256` in the root [INFO] [stdout] 38 | Strobe512, [INFO] [stdout] | ^^^^^^^^^ no `Strobe512` in the root [INFO] [stdout] 39 | StrobeDigest, [INFO] [stdout] | ^^^^^^^^^^^^ no `StrobeDigest` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] crate::Code::Sha1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | Sha1, [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `sha1` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | #[cfg(feature = "sha1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:116:3 [INFO] [stdout] | [INFO] [stdout] 116 | Sha1Digest, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sha1` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | #[cfg(feature = "sha1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] crate::Code::Strobe256 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | Strobe256, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `strobe` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(feature = "strobe")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] crate::Code::Strobe512 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | Strobe512, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `strobe` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(feature = "strobe")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:144:3 [INFO] [stdout] | [INFO] [stdout] 144 | StrobeDigest, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `strobe` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(feature = "strobe")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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: unused imports: `Error` and `MultihashGeneric` [INFO] [stdout] --> tests/lib.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | MultihashGeneric, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sp-multihash` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `sp-multihash` (bench "multihash") due to 4 previous errors [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `IdentityHasher` in the current scope [INFO] [stdout] --> tests/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | hasher.write_all(b"helloworld").unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `IdentityHasher<32>` [INFO] [stdout] ... [INFO] [stdout] 217 | / assert_roundtrip!( [INFO] [stdout] 218 | | Code::Identity, Identity256; [INFO] [stdout] 219 | | Code::Sha1, Sha1; [INFO] [stdout] 220 | | Code::Sha2_256, Sha2_256; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Code::Blake3_256, Blake3_256; [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `sp_multihash::Sha2_256` in the current scope [INFO] [stdout] --> tests/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | hasher.write_all(b"helloworld").unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `sp_multihash::Sha2_256` [INFO] [stdout] ... [INFO] [stdout] 217 | / assert_roundtrip!( [INFO] [stdout] 218 | | Code::Identity, Identity256; [INFO] [stdout] 219 | | Code::Sha1, Sha1; [INFO] [stdout] 220 | | Code::Sha2_256, Sha2_256; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Code::Blake3_256, Blake3_256; [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `sp_multihash::Sha2_512` in the current scope [INFO] [stdout] --> tests/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | hasher.write_all(b"helloworld").unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `sp_multihash::Sha2_512` [INFO] [stdout] ... [INFO] [stdout] 217 | / assert_roundtrip!( [INFO] [stdout] 218 | | Code::Identity, Identity256; [INFO] [stdout] 219 | | Code::Sha1, Sha1; [INFO] [stdout] 220 | | Code::Sha2_256, Sha2_256; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Code::Blake3_256, Blake3_256; [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `sp_multihash::Sha3_224` in the current scope [INFO] [stdout] --> tests/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | hasher.write_all(b"helloworld").unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `sp_multihash::Sha3_224` [INFO] [stdout] ... [INFO] [stdout] 217 | / assert_roundtrip!( [INFO] [stdout] 218 | | Code::Identity, Identity256; [INFO] [stdout] 219 | | Code::Sha1, Sha1; [INFO] [stdout] 220 | | Code::Sha2_256, Sha2_256; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Code::Blake3_256, Blake3_256; [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `sp_multihash::Sha3_256` in the current scope [INFO] [stdout] --> tests/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | hasher.write_all(b"helloworld").unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `sp_multihash::Sha3_256` [INFO] [stdout] ... [INFO] [stdout] 217 | / assert_roundtrip!( [INFO] [stdout] 218 | | Code::Identity, Identity256; [INFO] [stdout] 219 | | Code::Sha1, Sha1; [INFO] [stdout] 220 | | Code::Sha2_256, Sha2_256; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Code::Blake3_256, Blake3_256; [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `sp_multihash::Sha3_384` in the current scope [INFO] [stdout] --> tests/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | hasher.write_all(b"helloworld").unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `sp_multihash::Sha3_384` [INFO] [stdout] ... [INFO] [stdout] 217 | / assert_roundtrip!( [INFO] [stdout] 218 | | Code::Identity, Identity256; [INFO] [stdout] 219 | | Code::Sha1, Sha1; [INFO] [stdout] 220 | | Code::Sha2_256, Sha2_256; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Code::Blake3_256, Blake3_256; [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `sp_multihash::Sha3_512` in the current scope [INFO] [stdout] --> tests/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | hasher.write_all(b"helloworld").unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `sp_multihash::Sha3_512` [INFO] [stdout] ... [INFO] [stdout] 217 | / assert_roundtrip!( [INFO] [stdout] 218 | | Code::Identity, Identity256; [INFO] [stdout] 219 | | Code::Sha1, Sha1; [INFO] [stdout] 220 | | Code::Sha2_256, Sha2_256; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Code::Blake3_256, Blake3_256; [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `sp_multihash::Keccak224` in the current scope [INFO] [stdout] --> tests/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | hasher.write_all(b"helloworld").unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `sp_multihash::Keccak224` [INFO] [stdout] ... [INFO] [stdout] 217 | / assert_roundtrip!( [INFO] [stdout] 218 | | Code::Identity, Identity256; [INFO] [stdout] 219 | | Code::Sha1, Sha1; [INFO] [stdout] 220 | | Code::Sha2_256, Sha2_256; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Code::Blake3_256, Blake3_256; [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `sp_multihash::Keccak256` in the current scope [INFO] [stdout] --> tests/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | hasher.write_all(b"helloworld").unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `sp_multihash::Keccak256` [INFO] [stdout] ... [INFO] [stdout] 217 | / assert_roundtrip!( [INFO] [stdout] 218 | | Code::Identity, Identity256; [INFO] [stdout] 219 | | Code::Sha1, Sha1; [INFO] [stdout] 220 | | Code::Sha2_256, Sha2_256; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Code::Blake3_256, Blake3_256; [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `sp_multihash::Keccak384` in the current scope [INFO] [stdout] --> tests/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | hasher.write_all(b"helloworld").unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `sp_multihash::Keccak384` [INFO] [stdout] ... [INFO] [stdout] 217 | / assert_roundtrip!( [INFO] [stdout] 218 | | Code::Identity, Identity256; [INFO] [stdout] 219 | | Code::Sha1, Sha1; [INFO] [stdout] 220 | | Code::Sha2_256, Sha2_256; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Code::Blake3_256, Blake3_256; [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `sp_multihash::Keccak512` in the current scope [INFO] [stdout] --> tests/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | hasher.write_all(b"helloworld").unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `sp_multihash::Keccak512` [INFO] [stdout] ... [INFO] [stdout] 217 | / assert_roundtrip!( [INFO] [stdout] 218 | | Code::Identity, Identity256; [INFO] [stdout] 219 | | Code::Sha1, Sha1; [INFO] [stdout] 220 | | Code::Sha2_256, Sha2_256; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Code::Blake3_256, Blake3_256; [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `Blake2bHasher` in the current scope [INFO] [stdout] --> tests/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | hasher.write_all(b"helloworld").unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Blake2bHasher<64>` [INFO] [stdout] ... [INFO] [stdout] 217 | / assert_roundtrip!( [INFO] [stdout] 218 | | Code::Identity, Identity256; [INFO] [stdout] 219 | | Code::Sha1, Sha1; [INFO] [stdout] 220 | | Code::Sha2_256, Sha2_256; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Code::Blake3_256, Blake3_256; [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `Blake2sHasher` in the current scope [INFO] [stdout] --> tests/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | hasher.write_all(b"helloworld").unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Blake2sHasher<32>` [INFO] [stdout] ... [INFO] [stdout] 217 | / assert_roundtrip!( [INFO] [stdout] 218 | | Code::Identity, Identity256; [INFO] [stdout] 219 | | Code::Sha1, Sha1; [INFO] [stdout] 220 | | Code::Sha2_256, Sha2_256; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Code::Blake3_256, Blake3_256; [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `Blake3Hasher` in the current scope [INFO] [stdout] --> tests/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | hasher.write_all(b"helloworld").unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Blake3Hasher<32>` [INFO] [stdout] ... [INFO] [stdout] 217 | / assert_roundtrip!( [INFO] [stdout] 218 | | Code::Identity, Identity256; [INFO] [stdout] 219 | | Code::Sha1, Sha1; [INFO] [stdout] 220 | | Code::Sha2_256, Sha2_256; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Code::Blake3_256, Blake3_256; [INFO] [stdout] 233 | | ); [INFO] [stdout] | |___- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_roundtrip` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> tests/lib.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | Digest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sp-multihash` (test "lib") due to 15 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9cd50d4de2cf6f2f7b6ec8c75196fb9c4135e4ff1afa65a1b77e7dee8a044688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd50d4de2cf6f2f7b6ec8c75196fb9c4135e4ff1afa65a1b77e7dee8a044688", kill_on_drop: false }` [INFO] [stdout] 9cd50d4de2cf6f2f7b6ec8c75196fb9c4135e4ff1afa65a1b77e7dee8a044688