[INFO] cloning repository https://github.com/yatima-inc/sp-multihash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yatima-inc/sp-multihash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyatima-inc%2Fsp-multihash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyatima-inc%2Fsp-multihash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f29cc6b6b412b90e0acd10eb320369fa17dca66 [INFO] checking yatima-inc/sp-multihash against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyatima-inc%2Fsp-multihash" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yatima-inc/sp-multihash on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yatima-inc/sp-multihash [INFO] finished tweaking git repo https://github.com/yatima-inc/sp-multihash [INFO] tweaked toml for git repo https://github.com/yatima-inc/sp-multihash written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/yatima-inc/sp-multihash already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-std v3.0.0 [INFO] [stderr] Downloaded bytecursor v0.1.2 [INFO] [stderr] Downloaded strobe-rs v0.6.2 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d36f1360981ac9752b1cfe638b2627defaee8d0d79e2b4095b1fb2ab2b32f55 [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" "8d36f1360981ac9752b1cfe638b2627defaee8d0d79e2b4095b1fb2ab2b32f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d36f1360981ac9752b1cfe638b2627defaee8d0d79e2b4095b1fb2ab2b32f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d36f1360981ac9752b1cfe638b2627defaee8d0d79e2b4095b1fb2ab2b32f55", kill_on_drop: false }` [INFO] [stdout] 8d36f1360981ac9752b1cfe638b2627defaee8d0d79e2b4095b1fb2ab2b32f55 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9348b7245a5ed73c14566e6fc68447238e5b9fa7ae36d8c9a07f8c7a984f699f [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" "9348b7245a5ed73c14566e6fc68447238e5b9fa7ae36d8c9a07f8c7a984f699f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v1.0.73: full [INFO] [stderr] syn v1.0.73 (as host dependency): full [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking sp-std v3.0.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking unsigned-varint v0.7.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking ansi_term v0.12.1 [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] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking bytecursor v0.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking pretty_assertions v0.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking synstructure v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Checking proc-macro-crate v1.0.0 [INFO] [stderr] Checking sp-multihash-derive v0.1.0 (/tmp/fixit/derive) [INFO] [stderr] Migrating derive/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stderr] Checking sp-multihash v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating benches/multihash.rs from 2018 edition to 2021 [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:7:85 [INFO] [stdout] | [INFO] [stdout] 7 | Keccak256, Keccak384, Keccak512, KeccakDigest, MultihashDigest, MultihashGeneric, Sha1, [INFO] [stdout] | ^^^^ no `Sha1` in the root [INFO] [stdout] 8 | Sha1Digest, Sha2Digest, Sha2_256, Sha2_512, Sha3Digest, Sha3_224, Sha3_256, Sha3_384, Sha3_512, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Sha1Digest` in the root [INFO] [stdout] | help: a similar name exists in the module: `Sha2Digest` [INFO] [stdout] 9 | Size, StatefulHasher, Strobe256, Strobe512, StrobeDigest, U16, U20, U28, U32, U48, U64, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ no `StrobeDigest` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Strobe512` in the root [INFO] [stdout] | no `Strobe256` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/lib.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&IdentityDigest, B0>, B0>, B0>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&Sha2Digest, B0>, B0>, B0>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&Sha2Digest, B0>, B0>, B0>, B0>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&Sha3Digest, B1>, B1>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&Sha3Digest, B0>, B0>, B0>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&Sha3Digest, B1>, B0>, B0>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&Sha3Digest, B0>, B0>, B0>, B0>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&KeccakDigest, B1>, B1>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&KeccakDigest, B0>, B0>, B0>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&KeccakDigest, B1>, B0>, B0>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&KeccakDigest, B0>, B0>, B0>, B0>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&Blake2bDigest, B0>, B0>, B0>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&Blake2bDigest, B0>, B0>, B0>, B0>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&Blake2sDigest, B0>, B0>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&Blake2sDigest, B0>, B0>, B0>, B0>, B0>>>` [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:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ cannot infer type for enum `Code` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `Code: From<&Blake3Digest, B0>, B0>, B0>, B0>, B0>>>` [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 [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] [stderr] error: could not compile `sp-multihash` due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/arb.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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::{Arbitrary, Gen}; [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:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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 type `WeightedIndex` [INFO] [stdout] --> src/arb.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | 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] [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] [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[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] 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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9348b7245a5ed73c14566e6fc68447238e5b9fa7ae36d8c9a07f8c7a984f699f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9348b7245a5ed73c14566e6fc68447238e5b9fa7ae36d8c9a07f8c7a984f699f", kill_on_drop: false }` [INFO] [stdout] 9348b7245a5ed73c14566e6fc68447238e5b9fa7ae36d8c9a07f8c7a984f699f