[INFO] fetching crate sp-multihash 0.1.0... [INFO] testing sp-multihash-0.1.0 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate sp-multihash 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate sp-multihash 0.1.0 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sp-multihash 0.1.0 [INFO] finished tweaking crates.io crate sp-multihash 0.1.0 [INFO] tweaked toml for crates.io crate sp-multihash 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded blake2s_simd v0.5.11 [INFO] [stderr] Downloaded strobe-rs v0.6.2 [INFO] [stderr] Downloaded sp-multihash-derive v0.1.0 [INFO] [stderr] Downloaded bytecursor v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb73971d5f348e8e0109121f92f199d9fd4a14805a24947149cdbd884373d4e4 [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" "fb73971d5f348e8e0109121f92f199d9fd4a14805a24947149cdbd884373d4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb73971d5f348e8e0109121f92f199d9fd4a14805a24947149cdbd884373d4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb73971d5f348e8e0109121f92f199d9fd4a14805a24947149cdbd884373d4e4", kill_on_drop: false }` [INFO] [stdout] fb73971d5f348e8e0109121f92f199d9fd4a14805a24947149cdbd884373d4e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 828a80b0a425a0dd200c94f70c0da9f3d65bdea9a0922ce2a12f271aa8a36025 [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" "828a80b0a425a0dd200c94f70c0da9f3d65bdea9a0922ce2a12f271aa8a36025", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling sp-std v3.0.0 [INFO] [stderr] Compiling unsigned-varint v0.7.0 [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 blake2s_simd v0.5.11 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling bytecursor v0.1.2 [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 quote v1.0.9 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling sp-multihash-derive v0.1.0 [INFO] [stderr] Compiling sp-multihash v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.15s [INFO] running `Command { std: "docker" "inspect" "828a80b0a425a0dd200c94f70c0da9f3d65bdea9a0922ce2a12f271aa8a36025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "828a80b0a425a0dd200c94f70c0da9f3d65bdea9a0922ce2a12f271aa8a36025", kill_on_drop: false }` [INFO] [stdout] 828a80b0a425a0dd200c94f70c0da9f3d65bdea9a0922ce2a12f271aa8a36025 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05bd7400c7cf1e589aca12ebe690da7281b4c4c2929854d27671d3f82a8a4a10 [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" "05bd7400c7cf1e589aca12ebe690da7281b4c4c2929854d27671d3f82a8a4a10", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling sp-multihash v0.1.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: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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "05bd7400c7cf1e589aca12ebe690da7281b4c4c2929854d27671d3f82a8a4a10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05bd7400c7cf1e589aca12ebe690da7281b4c4c2929854d27671d3f82a8a4a10", kill_on_drop: false }` [INFO] [stdout] 05bd7400c7cf1e589aca12ebe690da7281b4c4c2929854d27671d3f82a8a4a10