[INFO] fetching crate sp-multihash 0.3.0... [INFO] testing sp-multihash-0.3.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate sp-multihash 0.3.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate sp-multihash 0.3.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 957ef712469d506c0b19d912d3e20e38d0e647cca602eb703f1ea3b53e440f78 [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" "957ef712469d506c0b19d912d3e20e38d0e647cca602eb703f1ea3b53e440f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "957ef712469d506c0b19d912d3e20e38d0e647cca602eb703f1ea3b53e440f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "957ef712469d506c0b19d912d3e20e38d0e647cca602eb703f1ea3b53e440f78", kill_on_drop: false }` [INFO] [stdout] 957ef712469d506c0b19d912d3e20e38d0e647cca602eb703f1ea3b53e440f78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14c0687f75192208c42b19e57a654cde82a69b692f0515cf470bd91867cc9d4c [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" "14c0687f75192208c42b19e57a654cde82a69b692f0515cf470bd91867cc9d4c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling bytecursor v0.2.0 [INFO] [stderr] Compiling unsigned-varint v0.7.1 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling blake2s_simd v0.5.11 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling quote v1.0.10 [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 sha3 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.8 [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 51.22s [INFO] running `Command { std: "docker" "inspect" "14c0687f75192208c42b19e57a654cde82a69b692f0515cf470bd91867cc9d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c0687f75192208c42b19e57a654cde82a69b692f0515cf470bd91867cc9d4c", kill_on_drop: false }` [INFO] [stdout] 14c0687f75192208c42b19e57a654cde82a69b692f0515cf470bd91867cc9d4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--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] ba46b3f30a639d32e78722931a97e6eb106c50d28377d4f393cd4d01c8bc1a68 [INFO] running `Command { std: "docker" "start" "-a" "ba46b3f30a639d32e78722931a97e6eb106c50d28377d4f393cd4d01c8bc1a68", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling regex v1.5.4 [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[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 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] [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[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] [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" "ba46b3f30a639d32e78722931a97e6eb106c50d28377d4f393cd4d01c8bc1a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba46b3f30a639d32e78722931a97e6eb106c50d28377d4f393cd4d01c8bc1a68", kill_on_drop: false }` [INFO] [stdout] ba46b3f30a639d32e78722931a97e6eb106c50d28377d4f393cd4d01c8bc1a68