[INFO] fetching crate multihash 0.15.0... [INFO] checking multihash-0.15.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate multihash 0.15.0 into /workspace/builds/worker-72/source [INFO] validating manifest of crates.io crate multihash 0.15.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate multihash 0.15.0 [INFO] finished tweaking crates.io crate multihash 0.15.0 [INFO] tweaked toml for crates.io crate multihash 0.15.0 written to /workspace/builds/worker-72/source/Cargo.toml [INFO] crate crates.io crate multihash 0.15.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded blake3 v1.0.0 [INFO] [stderr] Downloaded arrayvec v0.7.0 [INFO] [stderr] Downloaded parity-scale-codec v2.1.1 [INFO] [stderr] Downloaded blake2s_simd v0.5.11 [INFO] [stderr] Downloaded parity-scale-codec-derive v2.1.0 [INFO] [stderr] Downloaded unsigned-varint v0.7.0 [INFO] [stderr] Downloaded byte-slice-cast v1.0.0 [INFO] [stderr] Downloaded strobe-rs v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4c047cb8c9371d06031360955d8286871f7bb255d23c32bb3235279dd5c391d [INFO] running `Command { std: "docker" "start" "-a" "a4c047cb8c9371d06031360955d8286871f7bb255d23c32bb3235279dd5c391d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4c047cb8c9371d06031360955d8286871f7bb255d23c32bb3235279dd5c391d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4c047cb8c9371d06031360955d8286871f7bb255d23c32bb3235279dd5c391d", kill_on_drop: false }` [INFO] [stdout] a4c047cb8c9371d06031360955d8286871f7bb255d23c32bb3235279dd5c391d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e1efd02e5e932eed1ace6dd0a04742933d6d837aba03c1dbe2e1b8ba79dd082 [INFO] running `Command { std: "docker" "start" "-a" "6e1efd02e5e932eed1ace6dd0a04742933d6d837aba03c1dbe2e1b8ba79dd082", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking arrayvec v0.7.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking unsigned-varint v0.7.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [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] Checking clap v2.33.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling blake3 v1.0.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking tinytemplate v1.2.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Checking multihash v0.15.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stdout] error[E0432]: unresolved imports `multihash::Sha1`, `multihash::Sha1Digest`, `multihash::Strobe256`, `multihash::Strobe512`, `multihash::StrobeDigest` [INFO] [stdout] --> tests/lib.rs:6:69 [INFO] [stdout] | [INFO] [stdout] 6 | Keccak256, Keccak384, Keccak512, KeccakDigest, MultihashDigest, Sha1, Sha1Digest, Sha2Digest, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | no `Sha1Digest` in the root [INFO] [stdout] | | help: a similar name exists in the module: `Sha2Digest` [INFO] [stdout] | no `Sha1` in the root [INFO] [stdout] 7 | Sha2_256, Sha2_512, Sha3Digest, Sha3_224, Sha3_256, Sha3_384, Sha3_512, StatefulHasher, [INFO] [stdout] 8 | 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[E0432]: unresolved imports `multihash::Sha1`, `multihash::Strobe256`, `multihash::Strobe512` [INFO] [stdout] --> benches/multihash.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | Keccak384, Keccak512, Sha1, Sha2_256, Sha2_512, Sha3_224, Sha3_256, Sha3_384, Sha3_512, [INFO] [stdout] | ^^^^ no `Sha1` in the root [INFO] [stdout] 7 | StatefulHasher, Strobe256, Strobe512, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ no `Strobe512` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Strobe256` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> benches/multihash.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::Rng; [INFO] [stdout] | ^^^^ use of 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:19 [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:19 [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[E0412]: cannot find type `MultihashGeneric` in the crate root [INFO] [stdout] --> tests/lib.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::MultihashGeneric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Size` in the crate root [INFO] [stdout] --> tests/lib.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Digest` in the crate root [INFO] [stdout] --> tests/lib.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use digest::Digest; [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Digest; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_2::Digest; [INFO] [stdout] | [INFO] [stdout] 1 | use sha_3::Digest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in the crate root [INFO] [stdout] --> tests/lib.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Error` in the crate root [INFO] [stdout] --> tests/lib.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy, Debug, Eq, Multihash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use multihash::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `multihash` due to 7 previous errors [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:15:20 [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: 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" "6e1efd02e5e932eed1ace6dd0a04742933d6d837aba03c1dbe2e1b8ba79dd082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e1efd02e5e932eed1ace6dd0a04742933d6d837aba03c1dbe2e1b8ba79dd082", kill_on_drop: false }` [INFO] [stdout] 6e1efd02e5e932eed1ace6dd0a04742933d6d837aba03c1dbe2e1b8ba79dd082