[INFO] fetching crate sp-multihash 0.3.0... [INFO] checking sp-multihash-0.3.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate sp-multihash 0.3.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate sp-multihash 0.3.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 128 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding blake2b_simd v0.5.11 (available: v1.0.2) [INFO] [stderr] Adding blake2s_simd v0.5.11 (available: v1.0.2) [INFO] [stderr] Adding blake3 v0.3.8 (available: v1.5.4) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding block-padding v0.2.1 (available: v0.3.3) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding constant_time_eq v0.1.5 (available: v0.3.1) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (available: v0.5.0) [INFO] [stderr] Adding crypto-mac v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.5) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding parity-scale-codec v2.3.1 (available: v3.6.12) [INFO] [stderr] Adding parity-scale-codec-derive v2.3.1 (available: v3.6.12) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.2.0) [INFO] [stderr] Adding quickcheck v0.9.2 (available: v1.0.3) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.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.8) [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 syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding unsigned-varint v0.7.2 (available: v0.8.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytecursor v0.2.0 [INFO] [stderr] Downloaded strobe-rs v0.6.2 [INFO] [stderr] Downloaded quickcheck v0.9.2 [INFO] [stderr] Downloaded blake2s_simd v0.5.11 [INFO] [stderr] Downloaded unsigned-varint v0.7.2 [INFO] [stderr] Downloaded sp-multihash-derive v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33652aed74704db469ee68426aed634ff421b238d6f2cc212b407748f7d29482 [INFO] running `Command { std: "docker" "start" "-a" "33652aed74704db469ee68426aed634ff421b238d6f2cc212b407748f7d29482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33652aed74704db469ee68426aed634ff421b238d6f2cc212b407748f7d29482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33652aed74704db469ee68426aed634ff421b238d6f2cc212b407748f7d29482", kill_on_drop: false }` [INFO] [stdout] 33652aed74704db469ee68426aed634ff421b238d6f2cc212b407748f7d29482 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36cfa63d701c811a20fee02636056f1f7ac68869da1ec0fbe319ed4d02436642 [INFO] running `Command { std: "docker" "start" "-a" "36cfa63d701c811a20fee02636056f1f7ac68869da1ec0fbe319ed4d02436642", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking bytecursor v0.2.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling sp-multihash-derive v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking sp-multihash v0.3.0 (/opt/rustwide/workdir) [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 undeclared crate or module `rand` [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 undeclared crate or module `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 undeclared crate or module `rand` [INFO] [stdout] --> src/arb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{ [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [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 undeclared crate or module `quickcheck` [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 undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> benches/multihash.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [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] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> benches/multihash.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [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] [stdout] error: aborting due to 3 previous errors [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] [stderr] error: could not compile `sp-multihash` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [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] [stderr] error: could not compile `sp-multihash` (bench "multihash") due to 5 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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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] warning: unused import: `std::io::Write` [INFO] [stdout] --> tests/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 3 warnings emitted [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 16 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "36cfa63d701c811a20fee02636056f1f7ac68869da1ec0fbe319ed4d02436642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36cfa63d701c811a20fee02636056f1f7ac68869da1ec0fbe319ed4d02436642", kill_on_drop: false }` [INFO] [stdout] 36cfa63d701c811a20fee02636056f1f7ac68869da1ec0fbe319ed4d02436642