[INFO] fetching crate sc-peerset 2.0.0-rc5... [INFO] testing sc-peerset-2.0.0-rc5 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate sc-peerset 2.0.0-rc5 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate sc-peerset 2.0.0-rc5 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-peerset 2.0.0-rc5 [INFO] finished tweaking crates.io crate sc-peerset 2.0.0-rc5 [INFO] tweaked toml for crates.io crate sc-peerset 2.0.0-rc5 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c0963cb39869d201b50058f8402c94603832acf21af0c05ade26dd8e8b952ca [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" "5c0963cb39869d201b50058f8402c94603832acf21af0c05ade26dd8e8b952ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c0963cb39869d201b50058f8402c94603832acf21af0c05ade26dd8e8b952ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c0963cb39869d201b50058f8402c94603832acf21af0c05ade26dd8e8b952ca", kill_on_drop: false }` [INFO] [stdout] 5c0963cb39869d201b50058f8402c94603832acf21af0c05ade26dd8e8b952ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a217c6d5ae6b1859b4180c2a5fabdb5a04d46b87d1be0b8b8999914e5eaca40 [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" "9a217c6d5ae6b1859b4180c2a5fabdb5a04d46b87d1be0b8b8999914e5eaca40", kill_on_drop: false }` [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling blake2s_simd v0.5.10 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling libp2p-core-derive v0.20.2 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling multihash v0.11.2 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling parity-multiaddr v0.9.1 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling prometheus v0.8.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling multistream-select v0.8.2 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling sp-utils v2.0.0-rc5 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling libp2p-core v0.20.1 [INFO] [stderr] Compiling libp2p-swarm v0.20.1 [INFO] [stderr] Compiling libp2p v0.22.0 [INFO] [stderr] Compiling sc-peerset v2.0.0-rc5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "9a217c6d5ae6b1859b4180c2a5fabdb5a04d46b87d1be0b8b8999914e5eaca40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a217c6d5ae6b1859b4180c2a5fabdb5a04d46b87d1be0b8b8999914e5eaca40", kill_on_drop: false }` [INFO] [stdout] 9a217c6d5ae6b1859b4180c2a5fabdb5a04d46b87d1be0b8b8999914e5eaca40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61dec483c9991ea8b6abbebfe95aed5b27e32469bf56dc23f48a88a02925805b [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" "61dec483c9991ea8b6abbebfe95aed5b27e32469bf56dc23f48a88a02925805b", kill_on_drop: false }` [INFO] [stderr] Compiling sc-peerset v2.0.0-rc5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `rand` [INFO] [stdout] --> tests/fuzz.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use rand::seq::IteratorRandom; [INFO] [stdout] | ^^^^ use of undeclared type or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Uniform` [INFO] [stdout] --> tests/fuzz.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | bootnodes: (0 .. Uniform::new_inclusive(0, 4).sample(&mut rng)).map(|_| { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Uniform` [INFO] [stdout] --> tests/fuzz.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | let nodes = (0 .. Uniform::new_inclusive(0, 2).sample(&mut rng)).map(|_| { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Uniform` [INFO] [stdout] --> tests/fuzz.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | reserved_only: Uniform::new_inclusive(0, 10).sample(&mut rng) == 0, [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Uniform` [INFO] [stdout] --> tests/fuzz.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | in_peers: Uniform::new_inclusive(0, 25).sample(&mut rng), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Uniform` [INFO] [stdout] --> tests/fuzz.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | out_peers: Uniform::new_inclusive(0, 25).sample(&mut rng), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `WeightedIndex` [INFO] [stdout] --> tests/fuzz.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | match WeightedIndex::new(&action_weights).unwrap().sample(&mut rng) { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `WeightedIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Uniform` [INFO] [stdout] --> tests/fuzz.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | let val = Uniform::new_inclusive(i32::min_value(), i32::max_value()).sample(&mut rng); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose` found for struct `std::collections::hash_set::Iter<'_, libp2p::PeerId>` in the current scope [INFO] [stdout] --> tests/fuzz.rs:103:47 [INFO] [stdout] | [INFO] [stdout] 103 | 2 => if let Some(id) = known_nodes.iter().choose(&mut rng) { [INFO] [stdout] | ^^^^^^ method not found in `std::collections::hash_set::Iter<'_, libp2p::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::boxed::Box>` 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<'_, libp2p::PeerId>` in the current scope [INFO] [stdout] --> tests/fuzz.rs:109:51 [INFO] [stdout] | [INFO] [stdout] 109 | 3 => if let Some(id) = connected_nodes.iter().choose(&mut rng).cloned() { [INFO] [stdout] | ^^^^^^ method not found in `std::collections::hash_set::Iter<'_, libp2p::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::boxed::Box>` 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:116:14: 116:91 incoming_nodes:_, connected_nodes:_]>` in the current scope [INFO] [stdout] --> tests/fuzz.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | .choose(&mut rng) { [INFO] [stdout] | ^^^^^^ method not found in `std::iter::Filter, [closure@tests/fuzz.rs:116:14: 116:91 incoming_nodes:_, connected_nodes:_]>` [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::boxed::Box, [closure@tests/fuzz.rs:116:14: 116:91 incoming_nodes:_, connected_nodes:_]>>` 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:128:54: 128:86 reserved_nodes:_]>` in the current scope [INFO] [stdout] --> tests/fuzz.rs:128:88 [INFO] [stdout] | [INFO] [stdout] 128 | 7 => if let Some(id) = known_nodes.iter().filter(|n| !reserved_nodes.contains(*n)).choose(&mut rng) { [INFO] [stdout] | ^^^^^^ method not found in `std::iter::Filter, [closure@tests/fuzz.rs:128:54: 128:86 reserved_nodes:_]>` [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::boxed::Box, [closure@tests/fuzz.rs:128:54: 128:86 reserved_nodes:_]>>` 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<'_, libp2p::PeerId>` in the current scope [INFO] [stdout] --> tests/fuzz.rs:132:50 [INFO] [stdout] | [INFO] [stdout] 132 | 8 => if let Some(id) = reserved_nodes.iter().choose(&mut rng).cloned() { [INFO] [stdout] | ^^^^^^ method not found in `std::collections::hash_set::Iter<'_, libp2p::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::boxed::Box>` 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" "61dec483c9991ea8b6abbebfe95aed5b27e32469bf56dc23f48a88a02925805b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61dec483c9991ea8b6abbebfe95aed5b27e32469bf56dc23f48a88a02925805b", kill_on_drop: false }` [INFO] [stdout] 61dec483c9991ea8b6abbebfe95aed5b27e32469bf56dc23f48a88a02925805b