[INFO] fetching crate sc-peerset 3.0.0... [INFO] testing sc-peerset-3.0.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate sc-peerset 3.0.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sc-peerset 3.0.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-peerset 3.0.0 [INFO] finished tweaking crates.io crate sc-peerset 3.0.0 [INFO] tweaked toml for crates.io crate sc-peerset 3.0.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b2140006b966c216ff7bf749f4ff68c9ac5649e5d2f3e9051ba6c00eda3dda8 [INFO] running `Command { std: "docker" "start" "-a" "6b2140006b966c216ff7bf749f4ff68c9ac5649e5d2f3e9051ba6c00eda3dda8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b2140006b966c216ff7bf749f4ff68c9ac5649e5d2f3e9051ba6c00eda3dda8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b2140006b966c216ff7bf749f4ff68c9ac5649e5d2f3e9051ba6c00eda3dda8", kill_on_drop: false }` [INFO] [stdout] 6b2140006b966c216ff7bf749f4ff68c9ac5649e5d2f3e9051ba6c00eda3dda8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 340c954ddb0ed599f46ee4281e37fd3463cb83838d57c879315960f383ac5d6f [INFO] running `Command { std: "docker" "start" "-a" "340c954ddb0ed599f46ee4281e37fd3463cb83838d57c879315960f383ac5d6f", 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] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling signature v1.3.0 [INFO] [stderr] Compiling unsigned-varint v0.7.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling unsigned-varint v0.5.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling prometheus v0.11.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling ed25519 v1.1.1 [INFO] [stderr] Compiling form_urlencoded v1.0.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 futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling which v4.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling libp2p-core-derive v0.21.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling multistream-select v0.10.2 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.5 [INFO] [stderr] Compiling sp-utils v3.0.0 [INFO] [stderr] Compiling multihash v0.13.2 [INFO] [stderr] Compiling parity-multiaddr v0.11.2 [INFO] [stderr] Compiling libp2p-core v0.27.1 [INFO] [stderr] Compiling libp2p-swarm v0.27.2 [INFO] [stderr] Compiling libp2p v0.34.0 [INFO] [stderr] Compiling sc-peerset v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "340c954ddb0ed599f46ee4281e37fd3463cb83838d57c879315960f383ac5d6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "340c954ddb0ed599f46ee4281e37fd3463cb83838d57c879315960f383ac5d6f", kill_on_drop: false }` [INFO] [stdout] 340c954ddb0ed599f46ee4281e37fd3463cb83838d57c879315960f383ac5d6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab5e8d2144490d0fbb0df677f3c769c135e7fa2e2f0d7962bb8ca3085d14f3d8 [INFO] running `Command { std: "docker" "start" "-a" "ab5e8d2144490d0fbb0df677f3c769c135e7fa2e2f0d7962bb8ca3085d14f3d8", kill_on_drop: false }` [INFO] [stderr] Compiling sc-peerset v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzz.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use rand::distributions::{Distribution, Uniform, WeightedIndex}; [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] --> tests/fuzz.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use rand::seq::IteratorRandom; [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] --> tests/fuzz.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | 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 type `Uniform` [INFO] [stdout] --> tests/fuzz.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | bootnodes: (0..Uniform::new_inclusive(0, 4).sample(&mut rng)) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uniform` [INFO] [stdout] --> tests/fuzz.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | (0..Uniform::new_inclusive(0, 2).sample(&mut rng)) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uniform` [INFO] [stdout] --> tests/fuzz.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | in_peers: Uniform::new_inclusive(0, 25).sample(&mut rng), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uniform` [INFO] [stdout] --> tests/fuzz.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | out_peers: Uniform::new_inclusive(0, 25).sample(&mut rng), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uniform` [INFO] [stdout] --> tests/fuzz.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | reserved_only: Uniform::new_inclusive(0, 10).sample(&mut rng) == 0, [INFO] [stdout] | ^^^^^^^ use of undeclared type `Uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WeightedIndex` [INFO] [stdout] --> tests/fuzz.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | match WeightedIndex::new(&action_weights) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `WeightedIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uniform` [INFO] [stdout] --> tests/fuzz.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | let val = Uniform::new_inclusive(i32::min_value(), i32::max_value()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose` found for struct `std::collections::hash_set::Iter<'_, PeerId>` in the current scope [INFO] [stdout] --> tests/fuzz.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 122 | if let Some(id) = known_nodes.iter().choose(&mut rng) { [INFO] [stdout] | ^^^^^^ method not found in `std::collections::hash_set::Iter<'_, PeerId>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/seq/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | fn choose(mut self, rng: &mut R) -> Option [INFO] [stdout] | ------ the method is available for `std::collections::hash_set::Iter<'_, PeerId>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 19 | use rand::seq::IteratorRandom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose` found for struct `std::collections::hash_set::Iter<'_, PeerId>` in the current scope [INFO] [stdout] --> tests/fuzz.rs:131:47 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(id) = connected_nodes.iter().choose(&mut rng).cloned() { [INFO] [stdout] | ^^^^^^ method not found in `std::collections::hash_set::Iter<'_, PeerId>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/seq/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | fn choose(mut self, rng: &mut R) -> Option [INFO] [stdout] | ------ the method is available for `std::collections::hash_set::Iter<'_, PeerId>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 19 | use rand::seq::IteratorRandom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose` found for struct `std::iter::Filter, [closure@tests/fuzz.rs:141:15: 144:8]>` in the current scope [INFO] [stdout] --> tests/fuzz.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | .choose(&mut rng) [INFO] [stdout] | ^^^^^^ method not found in `std::iter::Filter, [closure@tests/fuzz.rs:141:15: 144:8]>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/seq/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | fn choose(mut self, rng: &mut R) -> Option [INFO] [stdout] | ------ the method is available for `std::iter::Filter, [closure@tests/fuzz.rs:141:15: 144:8]>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 19 | use rand::seq::IteratorRandom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose` found for struct `std::iter::Filter, [closure@tests/fuzz.rs:161:15: 161:47]>` in the current scope [INFO] [stdout] --> tests/fuzz.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | .choose(&mut rng) [INFO] [stdout] | ^^^^^^ method not found in `std::iter::Filter, [closure@tests/fuzz.rs:161:15: 161:47]>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/seq/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | fn choose(mut self, rng: &mut R) -> Option [INFO] [stdout] | ------ the method is available for `std::iter::Filter, [closure@tests/fuzz.rs:161:15: 161:47]>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 19 | use rand::seq::IteratorRandom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose` found for struct `std::collections::hash_set::Iter<'_, PeerId>` in the current scope [INFO] [stdout] --> tests/fuzz.rs:169:46 [INFO] [stdout] | [INFO] [stdout] 169 | if let Some(id) = reserved_nodes.iter().choose(&mut rng).cloned() { [INFO] [stdout] | ^^^^^^ method not found in `std::collections::hash_set::Iter<'_, PeerId>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/seq/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | fn choose(mut self, rng: &mut R) -> Option [INFO] [stdout] | ------ the method is available for `std::collections::hash_set::Iter<'_, PeerId>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 19 | use rand::seq::IteratorRandom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-peerset` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ab5e8d2144490d0fbb0df677f3c769c135e7fa2e2f0d7962bb8ca3085d14f3d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab5e8d2144490d0fbb0df677f3c769c135e7fa2e2f0d7962bb8ca3085d14f3d8", kill_on_drop: false }` [INFO] [stdout] ab5e8d2144490d0fbb0df677f3c769c135e7fa2e2f0d7962bb8ca3085d14f3d8