[INFO] cloning repository https://github.com/johnshiver/distributed-systems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johnshiver/distributed-systems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnshiver%2Fdistributed-systems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnshiver%2Fdistributed-systems'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82e08e1105474d58045c12af7f5464ac5cac82a9 [INFO] checking johnshiver/distributed-systems against master#3139ff09e9d07f7700f8d15ed25a231e29c43627 for pr-121848-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnshiver%2Fdistributed-systems" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/johnshiver/distributed-systems on toolchain 3139ff09e9d07f7700f8d15ed25a231e29c43627 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3139ff09e9d07f7700f8d15ed25a231e29c43627" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/johnshiver/distributed-systems [INFO] finished tweaking git repo https://github.com/johnshiver/distributed-systems [INFO] tweaked toml for git repo https://github.com/johnshiver/distributed-systems written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/johnshiver/distributed-systems 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" "+3139ff09e9d07f7700f8d15ed25a231e29c43627" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking johnshiver/distributed-systems against try#a2cff3b7a9661c90ec0d581d3f3a69bb97c11138 for pr-121848-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnshiver%2Fdistributed-systems" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/johnshiver/distributed-systems on toolchain a2cff3b7a9661c90ec0d581d3f3a69bb97c11138 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2cff3b7a9661c90ec0d581d3f3a69bb97c11138" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/johnshiver/distributed-systems [INFO] finished tweaking git repo https://github.com/johnshiver/distributed-systems [INFO] tweaked toml for git repo https://github.com/johnshiver/distributed-systems written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/johnshiver/distributed-systems 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" "+a2cff3b7a9661c90ec0d581d3f3a69bb97c11138" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+a2cff3b7a9661c90ec0d581d3f3a69bb97c11138" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d427b352a0e81bec51a170619c58aaa6c1d61bc88578fe70d59c6f60a8ce3f91 [INFO] running `Command { std: "docker" "start" "-a" "d427b352a0e81bec51a170619c58aaa6c1d61bc88578fe70d59c6f60a8ce3f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d427b352a0e81bec51a170619c58aaa6c1d61bc88578fe70d59c6f60a8ce3f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d427b352a0e81bec51a170619c58aaa6c1d61bc88578fe70d59c6f60a8ce3f91", kill_on_drop: false }` [INFO] [stdout] d427b352a0e81bec51a170619c58aaa6c1d61bc88578fe70d59c6f60a8ce3f91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+a2cff3b7a9661c90ec0d581d3f3a69bb97c11138" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92dc7a67ab9a8bf996421eb62714013506c107fb762d7e55647f008ad5ad6312 [INFO] running `Command { std: "docker" "start" "-a" "92dc7a67ab9a8bf996421eb62714013506c107fb762d7e55647f008ad5ad6312", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling serde v1.0.180 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling serde_derive v1.0.180 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking distributed-systems v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/in_memory_cluster.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/in_memory_cluster.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/in_memory_cluster.rs:167:41 [INFO] [stdout] | [INFO] [stdout] 167 | pub async fn process_request(&self, request: NetworkRequest) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/in_memory_cluster.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut servers = self.servers.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> src/raft_node.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | ... let reply = self.send_append_entries(0, AppendEntriesRequest {}).await.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/in_memory_cluster.rs:167:41 [INFO] [stdout] | [INFO] [stdout] 167 | pub async fn process_request(&self, request: NetworkRequest) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/in_memory_cluster.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut servers = self.servers.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> src/raft_node.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | ... let reply = self.send_append_entries(0, AppendEntriesRequest {}).await.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/in_memory_cluster.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 258 | pub async fn start(&self) { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] 259 | / tokio::spawn(async move { [INFO] [stdout] 260 | | let raft_clone = self.raft.clone(); [INFO] [stdout] 261 | | let _ = raft_clone.lock().await.start().await; [INFO] [stdout] 262 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/raft_node.rs:24:47 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn handle_append_entries(&self, request: AppendEntriesRequest) -> AppendEntriesReply { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/in_memory_cluster.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 258 | pub async fn start(&self) { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] 259 | / tokio::spawn(async move { [INFO] [stdout] 260 | | let raft_clone = self.raft.clone(); [INFO] [stdout] 261 | | let _ = raft_clone.lock().await.start().await; [INFO] [stdout] 262 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/raft_node.rs:24:47 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn handle_append_entries(&self, request: AppendEntriesRequest) -> AppendEntriesReply { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_count` [INFO] [stdout] --> src/in_memory_cluster.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn new(peer_count: i8, sender: Arc>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_count` [INFO] [stdout] --> src/in_memory_cluster.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn new(peer_count: i8, sender: Arc>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `distributed-systems` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `distributed-systems` (lib) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "92dc7a67ab9a8bf996421eb62714013506c107fb762d7e55647f008ad5ad6312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92dc7a67ab9a8bf996421eb62714013506c107fb762d7e55647f008ad5ad6312", kill_on_drop: false }` [INFO] [stdout] 92dc7a67ab9a8bf996421eb62714013506c107fb762d7e55647f008ad5ad6312