[INFO] cloning repository https://github.com/codingpog/Simple_Blockchain_With_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codingpog/Simple_Blockchain_With_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodingpog%2FSimple_Blockchain_With_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodingpog%2FSimple_Blockchain_With_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77b88bf64acd2199f5a47cef5b5139e76560ed71 [INFO] checking codingpog/Simple_Blockchain_With_Rust against master#fd0c901b00ee1e08a250039cdb90258603497e20 for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodingpog%2FSimple_Blockchain_With_Rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 44% (166/377) Updating files: 45% (170/377) Updating files: 46% (174/377) Updating files: 47% (178/377) Updating files: 48% (181/377) Updating files: 49% (185/377) Updating files: 50% (189/377) Updating files: 51% (193/377) Updating files: 52% (197/377) Updating files: 53% (200/377) Updating files: 54% (204/377) Updating files: 55% (208/377) Updating files: 56% (212/377) Updating files: 57% (215/377) Updating files: 58% (219/377) Updating files: 59% (223/377) Updating files: 60% (227/377) Updating files: 61% (230/377) Updating files: 62% (234/377) Updating files: 63% (238/377) Updating files: 64% (242/377) Updating files: 65% (246/377) Updating files: 66% (249/377) Updating files: 67% (253/377) Updating files: 68% (257/377) Updating files: 69% (261/377) Updating files: 70% (264/377) Updating files: 71% (268/377) Updating files: 72% (272/377) Updating files: 73% (276/377) Updating files: 74% (279/377) Updating files: 75% (283/377) Updating files: 76% (287/377) Updating files: 77% (291/377) Updating files: 78% (295/377) Updating files: 79% (298/377) Updating files: 80% (302/377) Updating files: 81% (306/377) Updating files: 82% (310/377) Updating files: 83% (313/377) Updating files: 84% (317/377) Updating files: 85% (321/377) Updating files: 86% (325/377) Updating files: 87% (328/377) Updating files: 88% (332/377) Updating files: 89% (336/377) Updating files: 90% (340/377) Updating files: 91% (344/377) Updating files: 92% (347/377) Updating files: 93% (351/377) Updating files: 94% (355/377) Updating files: 95% (359/377) Updating files: 96% (362/377) Updating files: 97% (366/377) Updating files: 98% (370/377) Updating files: 99% (374/377) Updating files: 100% (377/377) Updating files: 100% (377/377), done. [INFO] started tweaking git repo https://github.com/codingpog/Simple_Blockchain_With_Rust [INFO] finished tweaking git repo https://github.com/codingpog/Simple_Blockchain_With_Rust [INFO] tweaked toml for git repo https://github.com/codingpog/Simple_Blockchain_With_Rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/codingpog/Simple_Blockchain_With_Rust on toolchain fd0c901b00ee1e08a250039cdb90258603497e20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fd0c901b00ee1e08a250039cdb90258603497e20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/codingpog/Simple_Blockchain_With_Rust 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" "+fd0c901b00ee1e08a250039cdb90258603497e20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spmc v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fd0c901b00ee1e08a250039cdb90258603497e20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eadb347fd1bd868be1c997f454ebfa6fb09b0e3501ef404761dfffd145671451 [INFO] running `Command { std: "docker" "start" "-a" "eadb347fd1bd868be1c997f454ebfa6fb09b0e3501ef404761dfffd145671451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eadb347fd1bd868be1c997f454ebfa6fb09b0e3501ef404761dfffd145671451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eadb347fd1bd868be1c997f454ebfa6fb09b0e3501ef404761dfffd145671451", kill_on_drop: false }` [INFO] [stdout] eadb347fd1bd868be1c997f454ebfa6fb09b0e3501ef404761dfffd145671451 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fd0c901b00ee1e08a250039cdb90258603497e20" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84888c1b3b47495eb3bde5bfecadc91023c621238f453c74bf930105a383694f [INFO] running `Command { std: "docker" "start" "-a" "84888c1b3b47495eb3bde5bfecadc91023c621238f453c74bf930105a383694f", kill_on_drop: false }` [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking spmc v0.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking a3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/queue.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, Mutex}; [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: `Mutex` [INFO] [stdout] --> src/queue.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, Mutex}; [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 variable: `send_output_shared` [INFO] [stdout] --> src/queue.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let send_output_shared = Arc::new(Box::new(send_output.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_output_shared` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/queue.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/block.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | q.enqueue(MiningTask::new(block_clone, start_chunk, end_chunk)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 135 | let _ = q.enqueue(MiningTask::new(block_clone, start_chunk, end_chunk)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/block.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | q.enqueue(MiningTask::new(block_clone, start_chunk, end_chunk)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = q.enqueue(MiningTask::new(block_clone, start_chunk, end_chunk)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/queue.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&mut self) -> mpsc::Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&mut self) -> mpsc::Iter<'_, TaskType::Output> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_output_shared` [INFO] [stdout] --> src/queue.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let send_output_shared = Arc::new(Box::new(send_output.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_output_shared` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/queue.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALID_HASH_STRING` is never used [INFO] [stdout] --> src/block_tests.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | ... const VALID_HASH_STRING: & str = "4a1c722d8021346fa2f440d7f0bbaa585e632f68fd20fed812fc944613b92500:2:7:this is not interesting... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALID_HASH` is never used [INFO] [stdout] --> src/block_tests.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | const VALID_HASH : &str = "ba2f9bf0f9ec629db726f1a5fe7312eb76270459e3f5bfdc4e213df9e47cd380"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALID_HASH_STRING` is never used [INFO] [stdout] --> src/block_tests.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | ... const VALID_HASH_STRING: & str = "a42b7e319ee2dee845f1eb842c31dac60a94c04432319638ec1b9f989d000000:2:20:this is not interestin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALID_HASH` is never used [INFO] [stdout] --> src/block_tests.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | const VALID_HASH : &str = "6c589f7a3d2df217fdb39cd969006bc8651a0a3251ffb50470cbc9a0e4d00000"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/block.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | q.enqueue(MiningTask::new(block_clone, start_chunk, end_chunk)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 135 | let _ = q.enqueue(MiningTask::new(block_clone, start_chunk, end_chunk)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/block.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | q.enqueue(MiningTask::new(block_clone, start_chunk, end_chunk)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = q.enqueue(MiningTask::new(block_clone, start_chunk, end_chunk)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/queue.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&mut self) -> mpsc::Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&mut self) -> mpsc::Iter<'_, TaskType::Output> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `a3::block::Block` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use a3::block::Block; [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: `Mutex` [INFO] [stdout] --> src/queue.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `a3::block::Block` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use a3::block::Block; [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: `Mutex` [INFO] [stdout] --> src/queue.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_output_shared` [INFO] [stdout] --> src/queue.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let send_output_shared = Arc::new(Box::new(send_output.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_output_shared` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/queue.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Task` is never used [INFO] [stdout] --> src/queue.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkQueue` is never constructed [INFO] [stdout] --> src/queue.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct WorkQueue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/queue.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl WorkQueue { [INFO] [stdout] | --------------------------------------------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(n_workers: usize) -> WorkQueue { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn run(recv_tasks: spmc::Receiver, send_output: mpsc::Sender) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn enqueue(&mut self, t: TaskType) -> Result<(), spmc::SendError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn iter(&mut self) -> mpsc::Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn recv(&mut self) -> TaskType::Output { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn try_recv(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn recv_timeout( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn shutdown(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/queue.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&mut self) -> mpsc::Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&mut self) -> mpsc::Iter<'_, TaskType::Output> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_output_shared` [INFO] [stdout] --> src/queue.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let send_output_shared = Arc::new(Box::new(send_output.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_output_shared` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/queue.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Task` is never used [INFO] [stdout] --> src/queue.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkQueue` is never constructed [INFO] [stdout] --> src/queue.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct WorkQueue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/queue.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl WorkQueue { [INFO] [stdout] | --------------------------------------------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(n_workers: usize) -> WorkQueue { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn run(recv_tasks: spmc::Receiver, send_output: mpsc::Sender) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn enqueue(&mut self, t: TaskType) -> Result<(), spmc::SendError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn iter(&mut self) -> mpsc::Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn recv(&mut self) -> TaskType::Output { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn try_recv(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn recv_timeout( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn shutdown(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/queue.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&mut self) -> mpsc::Iter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn iter(&mut self) -> mpsc::Iter<'_, TaskType::Output> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "84888c1b3b47495eb3bde5bfecadc91023c621238f453c74bf930105a383694f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84888c1b3b47495eb3bde5bfecadc91023c621238f453c74bf930105a383694f", kill_on_drop: false }` [INFO] [stdout] 84888c1b3b47495eb3bde5bfecadc91023c621238f453c74bf930105a383694f