[INFO] fetching crate sp-multihash 0.3.0... [INFO] testing sp-multihash-0.3.0 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate sp-multihash 0.3.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate sp-multihash 0.3.0 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 21cd7b148b538374e274d15fef545e47f338b3429e797a3113f4da11c8c07a9f [INFO] running `Command { std: "docker" "start" "-a" "21cd7b148b538374e274d15fef545e47f338b3429e797a3113f4da11c8c07a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21cd7b148b538374e274d15fef545e47f338b3429e797a3113f4da11c8c07a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21cd7b148b538374e274d15fef545e47f338b3429e797a3113f4da11c8c07a9f", kill_on_drop: false }` [INFO] [stdout] 21cd7b148b538374e274d15fef545e47f338b3429e797a3113f4da11c8c07a9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8c9743716a1c31be8b178762e3b9956a78ca4cf6d19f35f94506bdb2cb104fd1 [INFO] running `Command { std: "docker" "start" "-a" "8c9743716a1c31be8b178762e3b9956a78ca4cf6d19f35f94506bdb2cb104fd1", kill_on_drop: false }` [INFO] [stderr] Compiling bytecursor v0.2.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling blake2s_simd v0.5.11 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [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.8 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling sp-multihash-derive v0.2.0 [INFO] [stderr] Compiling sp-multihash v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.17s [INFO] running `Command { std: "docker" "inspect" "8c9743716a1c31be8b178762e3b9956a78ca4cf6d19f35f94506bdb2cb104fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c9743716a1c31be8b178762e3b9956a78ca4cf6d19f35f94506bdb2cb104fd1", kill_on_drop: false }` [INFO] [stdout] 8c9743716a1c31be8b178762e3b9956a78ca4cf6d19f35f94506bdb2cb104fd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc222e19cd7fd47a24f1b3c92d8edbcc4dcf3dc19b561f36e4901995b1cc0972 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bc222e19cd7fd47a24f1b3c92d8edbcc4dcf3dc19b561f36e4901995b1cc0972", kill_on_drop: false }` [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling sp-multihash v0.3.0 (/opt/rustwide/workdir) [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] [INFO] [stdout] warning: unused imports: `Error`, `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[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[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&IdentityDigest<32_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&Sha2Digest<32_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&Sha2Digest<64_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&Sha3Digest<28_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&Sha3Digest<32_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&Sha3Digest<48_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&Sha3Digest<64_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&KeccakDigest<28_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&KeccakDigest<32_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&KeccakDigest<48_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&KeccakDigest<64_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&Blake2bDigest<32_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&Blake2bDigest<64_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&Blake2sDigest<16_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&Blake2sDigest<32_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Code: From<&Blake3Digest<32_usize>>` found [INFO] [stdout] --> tests/lib.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `From` [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WeightedIndex` [INFO] [stdout] --> src/arb.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | let dist = WeightedIndex::new(weights.iter()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `WeightedIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sp-multihash` due to 18 previous errors; 1 warning emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "bc222e19cd7fd47a24f1b3c92d8edbcc4dcf3dc19b561f36e4901995b1cc0972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc222e19cd7fd47a24f1b3c92d8edbcc4dcf3dc19b561f36e4901995b1cc0972", kill_on_drop: false }` [INFO] [stdout] bc222e19cd7fd47a24f1b3c92d8edbcc4dcf3dc19b561f36e4901995b1cc0972