[INFO] cloning repository https://github.com/MwlLj/rust-pool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MwlLj/rust-pool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMwlLj%2Frust-pool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMwlLj%2Frust-pool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c85127efbf1d85f740ace63f803d5ef516de58c5 [INFO] checking MwlLj/rust-pool against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMwlLj%2Frust-pool" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MwlLj/rust-pool on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MwlLj/rust-pool [INFO] finished tweaking git repo https://github.com/MwlLj/rust-pool [INFO] tweaked toml for git repo https://github.com/MwlLj/rust-pool written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/MwlLj/rust-pool already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92d5302b2f6891448cb7c8f8967e9682b91f2df0e410f3306e570dd80148ad60 [INFO] running `Command { std: "docker" "start" "-a" "92d5302b2f6891448cb7c8f8967e9682b91f2df0e410f3306e570dd80148ad60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92d5302b2f6891448cb7c8f8967e9682b91f2df0e410f3306e570dd80148ad60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92d5302b2f6891448cb7c8f8967e9682b91f2df0e410f3306e570dd80148ad60", kill_on_drop: false }` [INFO] [stdout] 92d5302b2f6891448cb7c8f8967e9682b91f2df0e410f3306e570dd80148ad60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d10c45fef75c3727d5fcafc4ca813567f54d482f23465f48b4b5c7ec9a02bba [INFO] running `Command { std: "docker" "start" "-a" "9d10c45fef75c3727d5fcafc4ca813567f54d482f23465f48b4b5c7ec9a02bba", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking rust_pool v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/thread/simple/mod.rs (2 fixes) [INFO] [stderr] Fixed src/thread/mapping/mod.rs (2 fixes) [INFO] [stdout] warning: field is never read: `handler` [INFO] [stdout] --> src/thread/simple/mod.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | handler: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `threadNo` [INFO] [stdout] --> src/thread/simple/mod.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | threadNo: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `workers` [INFO] [stdout] --> src/thread/simple/mod.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | workers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CThread` [INFO] [stdout] --> src/thread/mapping/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct CThread { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CThreadPool` [INFO] [stdout] --> src/thread/mapping/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct CThreadPool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/thread/mapping/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn execute(&mut self, key: &str, notFoundCb: NC, callback: F) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/thread/mapping/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new() -> CThreadPool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `handler` [INFO] [stdout] --> src/thread/simple/mod.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | handler: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `threadNo` [INFO] [stdout] --> src/thread/simple/mod.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | threadNo: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `workers` [INFO] [stdout] --> src/thread/simple/mod.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | workers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CThread` [INFO] [stdout] --> src/thread/mapping/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct CThread { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CThreadPool` [INFO] [stdout] --> src/thread/mapping/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct CThreadPool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/thread/mapping/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn execute(&mut self, key: &str, notFoundCb: NC, callback: F) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/thread/mapping/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new() -> CThreadPool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `threadNo` should have a snake case name [INFO] [stdout] --> src/thread/simple/mod.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | threadNo: usize [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `thread_no` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `threadNo` should have a snake case name [INFO] [stdout] --> src/thread/simple/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | fn new(threadNo: usize, receiver: Arc>>) -> CWorker { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `thread_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `threadPool` should have a snake case name [INFO] [stdout] --> src/thread/simple/mod.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | let threadPool = CThreadPool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `thread_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `threadNo` should have a snake case name [INFO] [stdout] --> src/thread/simple/mod.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | threadNo: usize [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `thread_no` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `threadNo` should have a snake case name [INFO] [stdout] --> src/thread/simple/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | fn new(threadNo: usize, receiver: Arc>>) -> CWorker { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `thread_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `threadPool` should have a snake case name [INFO] [stdout] --> src/thread/simple/mod.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | let threadPool = CThreadPool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `thread_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread/simple/mod.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | self.sender.send(Box::new(f)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notFoundCb` should have a snake case name [INFO] [stdout] --> src/thread/mapping/mod.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn execute(&mut self, key: &str, notFoundCb: NC, callback: F) [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `not_found_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread/mapping/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | t.sender.send(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread/mapping/mod.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | t.sender.send(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread/simple/mod.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | self.sender.send(Box::new(f)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notFoundCb` should have a snake case name [INFO] [stdout] --> src/thread/mapping/mod.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn execute(&mut self, key: &str, notFoundCb: NC, callback: F) [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `not_found_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread/mapping/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | t.sender.send(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread/mapping/mod.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | t.sender.send(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.77s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking rust_pool v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: field is never read: `handler` [INFO] [stdout] --> src/thread/simple/mod.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | handler: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `threadNo` [INFO] [stdout] --> src/thread/simple/mod.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | threadNo: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `workers` [INFO] [stdout] --> src/thread/simple/mod.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | workers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CThread` [INFO] [stdout] --> src/thread/mapping/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct CThread { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CThreadPool` [INFO] [stdout] --> src/thread/mapping/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct CThreadPool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/thread/mapping/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn execute(&mut self, key: &str, notFoundCb: NC, callback: F) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/thread/mapping/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new() -> CThreadPool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `threadNo` should have a snake case name [INFO] [stdout] --> src/thread/simple/mod.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | threadNo: usize [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `thread_no` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `threadNo` should have a snake case name [INFO] [stdout] --> src/thread/simple/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | fn new(threadNo: usize, receiver: Arc>>) -> CWorker { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `thread_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `threadPool` should have a snake case name [INFO] [stdout] --> src/thread/simple/mod.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | let threadPool = CThreadPool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `thread_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `handler` [INFO] [stdout] --> src/thread/simple/mod.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | handler: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `threadNo` [INFO] [stdout] --> src/thread/simple/mod.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | threadNo: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `workers` [INFO] [stdout] --> src/thread/simple/mod.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | workers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CThread` [INFO] [stdout] --> src/thread/mapping/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct CThread { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CThreadPool` [INFO] [stdout] --> src/thread/mapping/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct CThreadPool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/thread/mapping/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn execute(&mut self, key: &str, notFoundCb: NC, callback: F) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/thread/mapping/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new() -> CThreadPool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread/simple/mod.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | self.sender.send(Box::new(f)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notFoundCb` should have a snake case name [INFO] [stdout] --> src/thread/mapping/mod.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn execute(&mut self, key: &str, notFoundCb: NC, callback: F) [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `not_found_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread/mapping/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | t.sender.send(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread/mapping/mod.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | t.sender.send(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `threadNo` should have a snake case name [INFO] [stdout] --> src/thread/simple/mod.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | threadNo: usize [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `thread_no` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `threadNo` should have a snake case name [INFO] [stdout] --> src/thread/simple/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | fn new(threadNo: usize, receiver: Arc>>) -> CWorker { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `thread_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `threadPool` should have a snake case name [INFO] [stdout] --> src/thread/simple/mod.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | let threadPool = CThreadPool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `thread_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread/simple/mod.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | self.sender.send(Box::new(f)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `notFoundCb` should have a snake case name [INFO] [stdout] --> src/thread/mapping/mod.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn execute(&mut self, key: &str, notFoundCb: NC, callback: F) [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `not_found_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread/mapping/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | t.sender.send(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/thread/mapping/mod.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | t.sender.send(Box::new(callback)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9d10c45fef75c3727d5fcafc4ca813567f54d482f23465f48b4b5c7ec9a02bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d10c45fef75c3727d5fcafc4ca813567f54d482f23465f48b4b5c7ec9a02bba", kill_on_drop: false }` [INFO] [stdout] 9d10c45fef75c3727d5fcafc4ca813567f54d482f23465f48b4b5c7ec9a02bba