[INFO] cloning repository https://github.com/vuongDang/honey_badger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vuongDang/honey_badger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FvuongDang%2Fhoney_badger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FvuongDang%2Fhoney_badger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 259ce55f66c8abca93fec6f2de9040eaabe22ddf [INFO] checking vuongDang/honey_badger against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FvuongDang%2Fhoney_badger" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vuongDang/honey_badger [INFO] finished tweaking git repo https://github.com/vuongDang/honey_badger [INFO] tweaked toml for git repo https://github.com/vuongDang/honey_badger written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vuongDang/honey_badger on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vuongDang/honey_badger already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.4.16 [INFO] [stderr] Downloaded libc v0.2.122 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 363e9f0f7c2be89724261cc097848667b1f2436a7403d0ac0299d738bebc631c [INFO] running `Command { std: "docker" "start" "-a" "363e9f0f7c2be89724261cc097848667b1f2436a7403d0ac0299d738bebc631c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "363e9f0f7c2be89724261cc097848667b1f2436a7403d0ac0299d738bebc631c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "363e9f0f7c2be89724261cc097848667b1f2436a7403d0ac0299d738bebc631c", kill_on_drop: false }` [INFO] [stdout] 363e9f0f7c2be89724261cc097848667b1f2436a7403d0ac0299d738bebc631c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3473273e34ad581c29510ed649c23249437188824fa714fb935de8513fa552da [INFO] running `Command { std: "docker" "start" "-a" "3473273e34ad581c29510ed649c23249437188824fa714fb935de8513fa552da", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking distributed v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `->`, `where`, or `{`, found `}` [INFO] [stdout] --> src/network.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn close(self) [INFO] [stdout] | ----- - expected one of `->`, `where`, or `{` [INFO] [stdout] | | [INFO] [stdout] | while parsing this `fn` [INFO] [stdout] 207 | } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/network.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn close(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `->`, `where`, or `{`, found `}` [INFO] [stdout] --> src/network.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn close(self) [INFO] [stdout] | ----- - expected one of `->`, `where`, or `{` [INFO] [stdout] | | [INFO] [stdout] | while parsing this `fn` [INFO] [stdout] 207 | } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/network.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/network.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn close(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/network.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.nodes` which is behind a mutable reference [INFO] [stdout] --> src/network.rs:181:46 [INFO] [stdout] | [INFO] [stdout] 181 | ... for (node, _) in self.nodes.into_values() { [INFO] [stdout] | ^^^^^^^^^^ ------------- `self.nodes` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `self.nodes` has type `HashMap)>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `HashMap::::into_values` takes ownership of the receiver `self`, which moves `self.nodes` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/collections/hash/map.rs:522:24 [INFO] [stdout] note: if `node::Node` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/node.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/network.rs:181:46 [INFO] [stdout] | [INFO] [stdout] 181 | ... for (node, _) in self.nodes.into_values() { [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] help: you could `clone` the value and consume it, if the `node::Node: Clone` trait bound could be satisfied [INFO] [stdout] | [INFO] [stdout] 181 | for (node, _) in )> as Clone>::clone(&self.nodes).into_values() { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let network = Network::new(10); [INFO] [stdout] | ^^^^^^^^^^^^---- two arguments of type `usize` and `node::MaliciousKind` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/network.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn new(num_nodes: usize, num_malicious: usize, kind: MaliciousKind) -> Self { [INFO] [stdout] | ^^^ -------------------- ------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 14 | let network = Network::new(10, /* usize */, /* node::MaliciousKind */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run` found for struct `Network` in the current scope [INFO] [stdout] --> src/lib.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | network.run(); [INFO] [stdout] | ^^^ method not found in `Network` [INFO] [stdout] | [INFO] [stdout] ::: src/network.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Network { [INFO] [stdout] | ------------------ method `run` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.nodes` which is behind a mutable reference [INFO] [stdout] --> src/network.rs:181:46 [INFO] [stdout] | [INFO] [stdout] 181 | ... for (node, _) in self.nodes.into_values() { [INFO] [stdout] | ^^^^^^^^^^ ------------- `self.nodes` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `self.nodes` has type `HashMap)>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `HashMap::::into_values` takes ownership of the receiver `self`, which moves `self.nodes` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/collections/hash/map.rs:522:24 [INFO] [stdout] note: if `node::Node` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/node.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/network.rs:181:46 [INFO] [stdout] | [INFO] [stdout] 181 | ... for (node, _) in self.nodes.into_values() { [INFO] [stdout] | ---------- you could clone this value [INFO] [stdout] help: you could `clone` the value and consume it, if the `node::Node: Clone` trait bound could be satisfied [INFO] [stdout] | [INFO] [stdout] 181 | for (node, _) in )> as Clone>::clone(&self.nodes).into_values() { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `distributed` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0061, E0507, E0599. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `distributed` (lib test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3473273e34ad581c29510ed649c23249437188824fa714fb935de8513fa552da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3473273e34ad581c29510ed649c23249437188824fa714fb935de8513fa552da", kill_on_drop: false }` [INFO] [stdout] 3473273e34ad581c29510ed649c23249437188824fa714fb935de8513fa552da