[INFO] cloning repository https://github.com/aayushg55/Map-Reduce [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aayushg55/Map-Reduce" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faayushg55%2FMap-Reduce", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faayushg55%2FMap-Reduce'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3d810435bbb636da2459a627654c20960659f43 [INFO] checking aayushg55/Map-Reduce/c3d810435bbb636da2459a627654c20960659f43 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faayushg55%2FMap-Reduce" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aayushg55/Map-Reduce on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/aayushg55/Map-Reduce [INFO] finished tweaking git repo https://github.com/aayushg55/Map-Reduce [INFO] tweaked toml for git repo https://github.com/aayushg55/Map-Reduce written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aayushg55/Map-Reduce 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 404c39a4f85149805097842452151cc90334d77b5b66e7cfb5f94c622ed88aeb [INFO] running `Command { std: "docker" "start" "-a" "404c39a4f85149805097842452151cc90334d77b5b66e7cfb5f94c622ed88aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "404c39a4f85149805097842452151cc90334d77b5b66e7cfb5f94c622ed88aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "404c39a4f85149805097842452151cc90334d77b5b66e7cfb5f94c622ed88aeb", kill_on_drop: false }` [INFO] [stdout] 404c39a4f85149805097842452151cc90334d77b5b66e7cfb5f94c622ed88aeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03038c0621e41ff04c576ca460ec0311b55ef841f289b2db1fea9cb3b37e48c3 [INFO] running `Command { std: "docker" "start" "-a" "03038c0621e41ff04c576ca460ec0311b55ef841f289b2db1fea9cb3b37e48c3", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking bytes v1.2.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling prettyplease v0.1.16 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking pin-project v1.0.11 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Checking clap v3.2.15 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Checking axum-core v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Compiling map_reduce v1.0.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tower-http v0.3.4 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking axum v0.5.13 [INFO] [stderr] Checking tonic v0.7.2 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/coordinator/mod.rs (2 fixes) [INFO] [stderr] Fixed src/worker/mod.rs (1 fix) [INFO] [stdout] warning: unused variable: `worker_id` [INFO] [stdout] --> src/coordinator/mod.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn finish_task(&mut self, worker_id: u32, job_id: u32, task: u32, reduce: bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> src/coordinator/mod.rs:92:51 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn finish_task(&mut self, worker_id: u32, job_id: u32, task: u32, reduce: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/coordinator/mod.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn finish_task(&mut self, worker_id: u32, job_id: u32, task: u32, reduce: bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker_id` [INFO] [stdout] --> src/coordinator/mod.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn remove_worker(&mut self, worker_id: u32, assignments: HashMap, reduce: bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reduce` [INFO] [stdout] --> src/coordinator/mod.rs:437:56 [INFO] [stdout] | [INFO] [stdout] 437 | let FailTaskRequest { worker_id, job_id, task, reduce, retry, error } = req.into_inner(); [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `reduce: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `task_num` is never read [INFO] [stdout] --> src/coordinator/mod.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct JobAssignment { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 166 | task_num: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | while let Some(key) = transport.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/worker/mod.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | while let Some(key) = reader.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/worker/mod.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker_id` [INFO] [stdout] --> src/coordinator/mod.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn finish_task(&mut self, worker_id: u32, job_id: u32, task: u32, reduce: bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> src/coordinator/mod.rs:92:51 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn finish_task(&mut self, worker_id: u32, job_id: u32, task: u32, reduce: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/coordinator/mod.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn finish_task(&mut self, worker_id: u32, job_id: u32, task: u32, reduce: bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker_id` [INFO] [stdout] --> src/coordinator/mod.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn remove_worker(&mut self, worker_id: u32, assignments: HashMap, reduce: bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reduce` [INFO] [stdout] --> src/coordinator/mod.rs:437:56 [INFO] [stdout] | [INFO] [stdout] 437 | let FailTaskRequest { worker_id, job_id, task, reduce, retry, error } = req.into_inner(); [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `reduce: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `task_num` is never read [INFO] [stdout] --> src/coordinator/mod.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct JobAssignment { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 166 | task_num: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | while let Some(key) = transport.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/worker/mod.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | while let Some(key) = reader.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/worker/mod.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/autograder.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/client.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/worker.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/coordinator.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.66s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling map_reduce v1.0.0 (/tmp/fixit) [INFO] [stdout] warning: unused variable: `worker_id` [INFO] [stdout] --> src/coordinator/mod.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn finish_task(&mut self, worker_id: u32, job_id: u32, task: u32, reduce: bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> src/coordinator/mod.rs:92:51 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn finish_task(&mut self, worker_id: u32, job_id: u32, task: u32, reduce: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/coordinator/mod.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn finish_task(&mut self, worker_id: u32, job_id: u32, task: u32, reduce: bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker_id` [INFO] [stdout] --> src/coordinator/mod.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn remove_worker(&mut self, worker_id: u32, assignments: HashMap, reduce: bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker_id` [INFO] [stdout] --> src/coordinator/mod.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn finish_task(&mut self, worker_id: u32, job_id: u32, task: u32, reduce: bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_id` [INFO] [stdout] --> src/coordinator/mod.rs:92:51 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn finish_task(&mut self, worker_id: u32, job_id: u32, task: u32, reduce: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/coordinator/mod.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn finish_task(&mut self, worker_id: u32, job_id: u32, task: u32, reduce: bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker_id` [INFO] [stdout] --> src/coordinator/mod.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn remove_worker(&mut self, worker_id: u32, assignments: HashMap, reduce: bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reduce` [INFO] [stdout] --> src/coordinator/mod.rs:437:56 [INFO] [stdout] | [INFO] [stdout] 437 | let FailTaskRequest { worker_id, job_id, task, reduce, retry, error } = req.into_inner(); [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `reduce: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reduce` [INFO] [stdout] --> src/coordinator/mod.rs:437:56 [INFO] [stdout] | [INFO] [stdout] 437 | let FailTaskRequest { worker_id, job_id, task, reduce, retry, error } = req.into_inner(); [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `reduce: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `task_num` is never read [INFO] [stdout] --> src/coordinator/mod.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct JobAssignment { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 166 | task_num: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `task_num` is never read [INFO] [stdout] --> src/coordinator/mod.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct JobAssignment { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 166 | task_num: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "03038c0621e41ff04c576ca460ec0311b55ef841f289b2db1fea9cb3b37e48c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03038c0621e41ff04c576ca460ec0311b55ef841f289b2db1fea9cb3b37e48c3", kill_on_drop: false }` [INFO] [stdout] 03038c0621e41ff04c576ca460ec0311b55ef841f289b2db1fea9cb3b37e48c3