[INFO] fetching crate sp-multihash 0.3.0... [INFO] testing sp-multihash-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate sp-multihash 0.3.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sp-multihash 0.3.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 130 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.7.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.2) [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf92b15d91ef15631646028945ca4851586d16b688782a7529b2a090b8fb9dea [INFO] running `Command { std: "docker" "start" "-a" "cf92b15d91ef15631646028945ca4851586d16b688782a7529b2a090b8fb9dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf92b15d91ef15631646028945ca4851586d16b688782a7529b2a090b8fb9dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf92b15d91ef15631646028945ca4851586d16b688782a7529b2a090b8fb9dea", kill_on_drop: false }` [INFO] [stdout] cf92b15d91ef15631646028945ca4851586d16b688782a7529b2a090b8fb9dea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f08a57d68dfc357e84331086bc501f6e0a3050d72d1a53b3bedba2463272899d [INFO] running `Command { std: "docker" "start" "-a" "f08a57d68dfc357e84331086bc501f6e0a3050d72d1a53b3bedba2463272899d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bytecursor v0.2.0 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling blake2s_simd v0.5.11 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling sp-multihash-derive v0.2.0 [INFO] [stderr] Compiling sp-multihash v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.12s [INFO] running `Command { std: "docker" "inspect" "f08a57d68dfc357e84331086bc501f6e0a3050d72d1a53b3bedba2463272899d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f08a57d68dfc357e84331086bc501f6e0a3050d72d1a53b3bedba2463272899d", kill_on_drop: false }` [INFO] [stdout] f08a57d68dfc357e84331086bc501f6e0a3050d72d1a53b3bedba2463272899d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0889d31c6ea2b36f08d595050fdbfa79ec9ea67b30056d00d452c9c7f1210bc5 [INFO] running `Command { std: "docker" "start" "-a" "0889d31c6ea2b36f08d595050fdbfa79ec9ea67b30056d00d452c9c7f1210bc5", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling sp-multihash v0.3.0 (/opt/rustwide/workdir) [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[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] 113 | #[cfg(feature = "sha1")] [INFO] [stdout] | ---------------- the item is gated behind the `sha1` feature [INFO] [stdout] 114 | pub use crate::hasher_impl::sha1::{ [INFO] [stdout] 115 | 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] 113 | #[cfg(feature = "sha1")] [INFO] [stdout] | ---------------- the item is gated behind the `sha1` feature [INFO] [stdout] ... [INFO] [stdout] 116 | Sha1Digest, [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] 140 | #[cfg(feature = "strobe")] [INFO] [stdout] | ------------------ the item is gated behind the `strobe` feature [INFO] [stdout] 141 | pub use crate::hasher_impl::strobe::{ [INFO] [stdout] 142 | Strobe256, [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] 140 | #[cfg(feature = "strobe")] [INFO] [stdout] | ------------------ the item is gated behind the `strobe` feature [INFO] [stdout] ... [INFO] [stdout] 143 | Strobe512, [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] 140 | #[cfg(feature = "strobe")] [INFO] [stdout] | ------------------ the item is gated behind the `strobe` feature [INFO] [stdout] ... [INFO] [stdout] 144 | StrobeDigest, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sp-multihash` (lib test) due to 3 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [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" "0889d31c6ea2b36f08d595050fdbfa79ec9ea67b30056d00d452c9c7f1210bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0889d31c6ea2b36f08d595050fdbfa79ec9ea67b30056d00d452c9c7f1210bc5", kill_on_drop: false }` [INFO] [stdout] 0889d31c6ea2b36f08d595050fdbfa79ec9ea67b30056d00d452c9c7f1210bc5