[INFO] cloning repository https://github.com/AkhileshManda/MapReduce [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AkhileshManda/MapReduce" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkhileshManda%2FMapReduce", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkhileshManda%2FMapReduce'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdb604fb4d2fff1b839abb17a19b9694ce294466 [INFO] checking AkhileshManda/MapReduce against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkhileshManda%2FMapReduce" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/AkhileshManda/MapReduce [INFO] finished tweaking git repo https://github.com/AkhileshManda/MapReduce [INFO] tweaked toml for git repo https://github.com/AkhileshManda/MapReduce written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AkhileshManda/MapReduce on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AkhileshManda/MapReduce 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded either v1.7.0 [INFO] [stderr] Downloaded tonic-build v0.7.2 [INFO] [stderr] Downloaded which v4.2.5 [INFO] [stderr] Downloaded uuid v1.1.2 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded async-stream-impl v0.3.3 [INFO] [stderr] Downloaded sync_wrapper v0.1.1 [INFO] [stderr] Downloaded os_str_bytes v6.2.0 [INFO] [stderr] Downloaded futures-executor v0.3.21 [INFO] [stderr] Downloaded async-trait v0.1.56 [INFO] [stderr] Downloaded clap_derive v3.2.15 [INFO] [stderr] Downloaded futures v0.3.21 [INFO] [stderr] Downloaded serde v1.0.140 [INFO] [stderr] Downloaded tower-http v0.3.4 [INFO] [stderr] Downloaded tokio-util v0.7.3 [INFO] [stderr] Downloaded pin-project v1.0.11 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] [stderr] Downloaded tonic v0.7.2 [INFO] [stderr] Downloaded clap v3.2.15 [INFO] [stderr] Downloaded petgraph v0.6.2 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded tracing-core v0.1.28 [INFO] [stderr] Downloaded tracing v0.1.35 [INFO] [stderr] Downloaded prettyplease v0.1.16 [INFO] [stderr] Downloaded bytes v1.2.0 [INFO] [stderr] Downloaded anyhow v1.0.58 [INFO] [stderr] Downloaded serde_derive v1.0.140 [INFO] [stderr] Downloaded prost-derive v0.10.1 [INFO] [stderr] Downloaded prost v0.10.4 [INFO] [stderr] Downloaded prost-types v0.10.1 [INFO] [stderr] Downloaded pin-project-internal v1.0.11 [INFO] [stderr] Downloaded tokio v1.20.1 [INFO] [stderr] Downloaded tracing-attributes v0.1.22 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded cmake v0.1.48 [INFO] [stderr] Downloaded axum-core v0.2.7 [INFO] [stderr] Downloaded tokio-stream v0.1.9 [INFO] [stderr] Downloaded async-stream v0.3.3 [INFO] [stderr] Downloaded futures-io v0.3.21 [INFO] [stderr] Downloaded futures-macro v0.3.21 [INFO] [stderr] Downloaded proc-macro2 v1.0.42 [INFO] [stderr] Downloaded matchit v0.5.0 [INFO] [stderr] Downloaded tower-layer v0.3.1 [INFO] [stderr] Downloaded unicode-ident v1.0.2 [INFO] [stderr] Downloaded prost-build v0.10.4 [INFO] [stderr] Downloaded axum v0.5.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eac3bf743f82f79e2c994c8ba654e2efea4859c48e24df4058f098437a874f87 [INFO] running `Command { std: "docker" "start" "-a" "eac3bf743f82f79e2c994c8ba654e2efea4859c48e24df4058f098437a874f87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eac3bf743f82f79e2c994c8ba654e2efea4859c48e24df4058f098437a874f87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac3bf743f82f79e2c994c8ba654e2efea4859c48e24df4058f098437a874f87", kill_on_drop: false }` [INFO] [stdout] eac3bf743f82f79e2c994c8ba654e2efea4859c48e24df4058f098437a874f87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3a00b087cb7940068298656a8e78517ded0cef7b4a729e95166fc55caeaf311 [INFO] running `Command { std: "docker" "start" "-a" "f3a00b087cb7940068298656a8e78517ded0cef7b4a729e95166fc55caeaf311", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking bytes v1.2.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-sink 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] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling prettyplease v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [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 thiserror-impl v1.0.31 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking pin-project v1.0.11 [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] 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] Compiling map_reduce v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.3.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking axum v0.5.13 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.7.2 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/coordinator/mod.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | /** JOB LIST */ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | let mut queue = self.jobs.write().await; [INFO] [stdout] | ---------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/coordinator/mod.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | /** CHECK FOR DEAD WORKERS AND CHANGE THEIR STATUS OF JOBS */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 234 | let mut workers_list = self.workers.write().await; [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | /** GET THE BUCKETS CORRESPONDING TO A JOB */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | let buckets = jobs.entry(parent_job_id).or_insert(HashMap::new()); [INFO] [stdout] | ------------------------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | /** CONNECT TO COORDINATOR */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 186 | let mut client = CoordinatorClient::connect(format!("http://{}", COORDINATOR_ADDR)).await?; [INFO] [stdout] | ------------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | /** GET A JOB */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | /** DO THE MAP JOB */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 200 | let good_map = do_map_job(&mut self, inner.clone()).await; [INFO] [stdout] | ---------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | /** LET THE COORDINATOR KNOW ABOUT COMPLETION */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 212 | send_map_job_done(self.id.clone(), &inner).await?; [INFO] [stdout] | ------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | /** IF A REDUCE JOB */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 215 | let workers: HashSet = inner.worker_ids.iter().cloned().collect(); [INFO] [stdout] | ----------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | /** FOR EVERY WORKER */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 221 | let mut c_error = 0; [INFO] [stdout] | -------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | ... /** REQUEST WORKER TO SEND MAP DATA */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 228 | / ... let rep_connect = worker [INFO] [stdout] 229 | | ... .map_data_request(MapDataRequestRequest { [INFO] [stdout] 230 | | ... job_id: inner.parent_job_id, [INFO] [stdout] 231 | | ... bucket_num: inner.job_id, [INFO] [stdout] ... | [INFO] [stdout] 235 | | ... }) [INFO] [stdout] 236 | | ... .await; [INFO] [stdout] | |_________________________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | /** LET THE COORDINATOR KNOW ABOUT COMPLETION */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 329 | send_reduce_job_done(self.id.clone(), &inner).await?; [INFO] [stdout] | ---------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/coordinator/mod.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | /** JOB LIST */ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 99 | let mut queue = self.jobs.write().await; [INFO] [stdout] | ---------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/coordinator/mod.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | /** CHECK FOR DEAD WORKERS AND CHANGE THEIR STATUS OF JOBS */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 234 | let mut workers_list = self.workers.write().await; [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | /** GET THE BUCKETS CORRESPONDING TO A JOB */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | let buckets = jobs.entry(parent_job_id).or_insert(HashMap::new()); [INFO] [stdout] | ------------------------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | /** CONNECT TO COORDINATOR */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 186 | let mut client = CoordinatorClient::connect(format!("http://{}", COORDINATOR_ADDR)).await?; [INFO] [stdout] | ------------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | /** GET A JOB */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | /** DO THE MAP JOB */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 200 | let good_map = do_map_job(&mut self, inner.clone()).await; [INFO] [stdout] | ---------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | /** LET THE COORDINATOR KNOW ABOUT COMPLETION */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 212 | send_map_job_done(self.id.clone(), &inner).await?; [INFO] [stdout] | ------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | /** IF A REDUCE JOB */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 215 | let workers: HashSet = inner.worker_ids.iter().cloned().collect(); [INFO] [stdout] | ----------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | /** FOR EVERY WORKER */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 221 | let mut c_error = 0; [INFO] [stdout] | -------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | ... /** REQUEST WORKER TO SEND MAP DATA */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 228 | / ... let rep_connect = worker [INFO] [stdout] 229 | | ... .map_data_request(MapDataRequestRequest { [INFO] [stdout] 230 | | ... job_id: inner.parent_job_id, [INFO] [stdout] 231 | | ... bucket_num: inner.job_id, [INFO] [stdout] ... | [INFO] [stdout] 235 | | ... }) [INFO] [stdout] 236 | | ... .await; [INFO] [stdout] | |_________________________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/worker/mod.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | /** LET THE COORDINATOR KNOW ABOUT COMPLETION */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 329 | send_reduce_job_done(self.id.clone(), &inner).await?; [INFO] [stdout] | ---------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level` and `log` [INFO] [stdout] --> src/tests/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use log::{log, Level}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/coordinator/mod.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | let mut coordinator: Coordinator = Coordinator::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/coordinator/mod.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | let mut coordinator: Coordinator = Coordinator::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/worker/mod.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | let mut worker_connect = connect(w).await; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/worker/mod.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | let mut worker_connect = connect(w).await; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/worker/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut file = tokio::fs::File::open(&input_file).await; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/worker/mod.rs:71:45 [INFO] [stdout] | [INFO] [stdout] 71 | ... let mut bucket = buckets.entry(h).or_insert(Vec::new()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/worker/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut file = tokio::fs::File::open(&input_file).await; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/worker/mod.rs:71:45 [INFO] [stdout] | [INFO] [stdout] 71 | ... let mut bucket = buckets.entry(h).or_insert(Vec::new()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::TypedValueParser` [INFO] [stdout] --> src/coordinator/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use clap::builder::TypedValueParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::codegen::Body` [INFO] [stdout] --> src/worker/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use tonic::codegen::Body; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::TypedValueParser` [INFO] [stdout] --> src/coordinator/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use clap::builder::TypedValueParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::codegen::Body` [INFO] [stdout] --> src/worker/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use tonic::codegen::Body; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/coordinator/mod.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | Err(e) => return Err(Status::new(Code::NotFound, "JOB APP INVALID")), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/coordinator/mod.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/coordinator/mod.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | Err(e) => return Err(Status::new(Code::NotFound, "JOB APP INVALID")), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/coordinator/mod.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | let mut requested_worker = workers_list.get_mut(&worker_id).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/coordinator/mod.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/coordinator/mod.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let w = workers.get_mut(&worker_id).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/coordinator/mod.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | let mut my_jobs = &mut me.jobs_done; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/coordinator/mod.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | let mut requested_worker = workers_list.get_mut(&worker_id).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/coordinator/mod.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let w = workers.get_mut(&worker_id).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/coordinator/mod.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | let mut my_jobs = &mut me.jobs_done; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/worker/mod.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let res = client.heart_beat(HeartBeatRequest { worker_id: id }).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/worker/mod.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let res = client.heart_beat(HeartBeatRequest { worker_id: id }).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/tests/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let s = postprocess_job(&output_dir, "wc", n_reduce) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.72s [INFO] running `Command { std: "docker" "inspect" "f3a00b087cb7940068298656a8e78517ded0cef7b4a729e95166fc55caeaf311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3a00b087cb7940068298656a8e78517ded0cef7b4a729e95166fc55caeaf311", kill_on_drop: false }` [INFO] [stdout] f3a00b087cb7940068298656a8e78517ded0cef7b4a729e95166fc55caeaf311