[INFO] fetching crate sp-multihash 0.3.0... [INFO] checking sp-multihash-0.3.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate sp-multihash 0.3.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sp-multihash 0.3.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 131 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4911a77ac5eff152538b6b4c3b3af34fc04f2c8fde0a3829c2dea888906e25f4 [INFO] running `Command { std: "docker" "start" "-a" "4911a77ac5eff152538b6b4c3b3af34fc04f2c8fde0a3829c2dea888906e25f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4911a77ac5eff152538b6b4c3b3af34fc04f2c8fde0a3829c2dea888906e25f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4911a77ac5eff152538b6b4c3b3af34fc04f2c8fde0a3829c2dea888906e25f4", kill_on_drop: false }` [INFO] [stdout] 4911a77ac5eff152538b6b4c3b3af34fc04f2c8fde0a3829c2dea888906e25f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d544b3df40607223915cf2e96a0bb00a2eed2273761b77c508a3faed23216f94 [INFO] running `Command { std: "docker" "start" "-a" "d544b3df40607223915cf2e96a0bb00a2eed2273761b77c508a3faed23216f94", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking bytecursor v0.2.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling sp-multihash-derive v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking sp-multihash v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion v0.3.6 [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 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] --> 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] 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] 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)]` 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] [stderr] error: could not compile `sp-multihash` (bench "multihash") due to 4 previous errors [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] 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" "d544b3df40607223915cf2e96a0bb00a2eed2273761b77c508a3faed23216f94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d544b3df40607223915cf2e96a0bb00a2eed2273761b77c508a3faed23216f94", kill_on_drop: false }` [INFO] [stdout] d544b3df40607223915cf2e96a0bb00a2eed2273761b77c508a3faed23216f94