[INFO] cloning repository https://github.com/shenxushenxu/threadpool
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shenxushenxu/threadpool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshenxushenxu%2Fthreadpool", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshenxushenxu%2Fthreadpool'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 86d9b6c09ef8d9d4ffa5cce4af81a02baa5eba81
[INFO] testing shenxushenxu/threadpool against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshenxushenxu%2Fthreadpool" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shenxushenxu/threadpool
[INFO] finished tweaking git repo https://github.com/shenxushenxu/threadpool
[INFO] tweaked toml for git repo https://github.com/shenxushenxu/threadpool written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shenxushenxu/threadpool on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shenxushenxu/threadpool 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 292a253b703e779701fd3b191fcf8eb337a54192db1a7ce39fc3f0d63910148e
[INFO] running `Command { std: "docker" "start" "-a" "292a253b703e779701fd3b191fcf8eb337a54192db1a7ce39fc3f0d63910148e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "292a253b703e779701fd3b191fcf8eb337a54192db1a7ce39fc3f0d63910148e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "292a253b703e779701fd3b191fcf8eb337a54192db1a7ce39fc3f0d63910148e", kill_on_drop: false }`
[INFO] [stdout] 292a253b703e779701fd3b191fcf8eb337a54192db1a7ce39fc3f0d63910148e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48552f85d30d5ff4d2d29b0ef4dc1a12d2df5edefbb1358d1dd2abf3548f33d1
[INFO] running `Command { std: "docker" "start" "-a" "48552f85d30d5ff4d2d29b0ef4dc1a12d2df5edefbb1358d1dd2abf3548f33d1", kill_on_drop: false }`
[INFO] [stderr]    Compiling java-threadpool v0.1.13 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[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 imports: `Receiver` and `Sender`
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::mpsc::{Receiver, Sender, SyncSender};
[INFO] [stdout]   |                       ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LazyLock`
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::{mpsc, Arc, LazyLock, Mutex};
[INFO] [stdout]   |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:33:58
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout]    |                                        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 33 -                                         (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout] 33 +                                         (*thread_size) = (*thread_size) - 1 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:68:62
[INFO] [stdout]    |
[INFO] [stdout] 68 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout]    |                                        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 68 -                                             (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout] 68 +                                             (*thread_size) = (*thread_size) - 1 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Mess_job` should have an upper camel case name
[INFO] [stdout]  --> src/ThreadPool_rs/Message_rs.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Mess_job((Job, Sender<String>)),
[INFO] [stdout]   |     ^^^^^^^^ help: convert the identifier to upper camel case: `MessJob`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:72:74
[INFO] [stdout]    |
[INFO] [stdout] 72 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout]    |                                        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 72 -                                                         (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout] 72 +                                                         (*thread_size) = (*thread_size) - 1 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |                     Err(e) => ()
[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: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |                         Err(e) => ()
[INFO] [stdout]    |                             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 Err(e) => ()
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:70:53
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 unsafe {
[INFO] [stdout]    |                 ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 70 |                                                     unsafe {
[INFO] [stdout]    |                                                     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     let mut thread_size = CORS_THREAD.lock().unwrap();
[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: unused variable: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:84:41
[INFO] [stdout]    |
[INFO] [stdout] 84 | ...                   Err(e) => ()
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:87:33
[INFO] [stdout]    |
[INFO] [stdout] 87 | ...                   Err(e) => ()
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `maximum_pool_size` and `maximum_queue` are never read
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct ThreadPool {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     maximum_pool_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     maximum_queue: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Job` is never used
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | type Job = Box<dyn Fn() + Send + 'static>;
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `handle` is never read
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Executor {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 11 |     handle: JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_thread` is never used
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Executor {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn new_thread(receiver: Arc<Mutex<Receiver<Message>>>){
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `ThreadPool_rs` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod ThreadPool_rs;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `thread_pool_rs`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Executor_rs` should have a snake case name
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod Executor_rs;
[INFO] [stdout]   |     ^^^^^^^^^^^ help: convert the identifier to snake case: `executor_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Message_rs` should have a snake case name
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | mod Message_rs;
[INFO] [stdout]   |     ^^^^^^^^^^ help: convert the identifier to snake case: `message_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Future_rs` should have a snake case name
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub mod Future_rs;
[INFO] [stdout]   |         ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `future_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:48:43
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:49:47
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     let mut non_thread_size = NON_CORE_THREAD.lock().unwrap();
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:71:79
[INFO] [stdout]    |
[INFO] [stdout] 71 | ...                   let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:74:83
[INFO] [stdout]    |
[INFO] [stdout] 74 | ...                   let mut non_thread_size = NON_CORE_THREAD.lock().unwrap();
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ThreadPool_rs/mod.rs:109:35
[INFO] [stdout]     |
[INFO] [stdout] 109 |             let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:32:63
[INFO] [stdout]    |
[INFO] [stdout] 32 | ...                   let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:67:67
[INFO] [stdout]    |
[INFO] [stdout] 67 | ...                   let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:70:71
[INFO] [stdout]    |
[INFO] [stdout] 70 | ...                   let mut non_thread_size = NON_CORE_THREAD.lock().unwrap();
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.70s
[INFO] running `Command { std: "docker" "inspect" "48552f85d30d5ff4d2d29b0ef4dc1a12d2df5edefbb1358d1dd2abf3548f33d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48552f85d30d5ff4d2d29b0ef4dc1a12d2df5edefbb1358d1dd2abf3548f33d1", kill_on_drop: false }`
[INFO] [stdout] 48552f85d30d5ff4d2d29b0ef4dc1a12d2df5edefbb1358d1dd2abf3548f33d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bb6f1bfad78905105df52120bfc5b1842984205887f20c22270505aacddec7a4
[INFO] running `Command { std: "docker" "start" "-a" "bb6f1bfad78905105df52120bfc5b1842984205887f20c22270505aacddec7a4", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[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 imports: `Receiver` and `Sender`
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::mpsc::{Receiver, Sender, SyncSender};
[INFO] [stdout]   |                       ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling java-threadpool v0.1.13 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `LazyLock`
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::{mpsc, Arc, LazyLock, Mutex};
[INFO] [stdout]   |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:33:58
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout]    |                                        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 33 -                                         (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout] 33 +                                         (*thread_size) = (*thread_size) - 1 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:68:62
[INFO] [stdout]    |
[INFO] [stdout] 68 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout]    |                                        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 68 -                                             (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout] 68 +                                             (*thread_size) = (*thread_size) - 1 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Mess_job` should have an upper camel case name
[INFO] [stdout]  --> src/ThreadPool_rs/Message_rs.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Mess_job((Job, Sender<String>)),
[INFO] [stdout]   |     ^^^^^^^^ help: convert the identifier to upper camel case: `MessJob`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:72:74
[INFO] [stdout]    |
[INFO] [stdout] 72 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout]    |                                        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 72 -                                                         (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout] 72 +                                                         (*thread_size) = (*thread_size) - 1 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |                     Err(e) => ()
[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: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |                         Err(e) => ()
[INFO] [stdout]    |                             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 Err(e) => ()
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:70:53
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 unsafe {
[INFO] [stdout]    |                 ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 70 |                                                     unsafe {
[INFO] [stdout]    |                                                     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     let mut thread_size = CORS_THREAD.lock().unwrap();
[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: unused variable: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:84:41
[INFO] [stdout]    |
[INFO] [stdout] 84 | ...                   Err(e) => ()
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:87:33
[INFO] [stdout]    |
[INFO] [stdout] 87 | ...                   Err(e) => ()
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `maximum_pool_size` and `maximum_queue` are never read
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct ThreadPool {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     maximum_pool_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     maximum_queue: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Job` is never used
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | type Job = Box<dyn Fn() + Send + 'static>;
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `handle` is never read
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Executor {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 11 |     handle: JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_thread` is never used
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Executor {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn new_thread(receiver: Arc<Mutex<Receiver<Message>>>){
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `ThreadPool_rs` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod ThreadPool_rs;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `thread_pool_rs`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Executor_rs` should have a snake case name
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod Executor_rs;
[INFO] [stdout]   |     ^^^^^^^^^^^ help: convert the identifier to snake case: `executor_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Message_rs` should have a snake case name
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | mod Message_rs;
[INFO] [stdout]   |     ^^^^^^^^^^ help: convert the identifier to snake case: `message_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Future_rs` should have a snake case name
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub mod Future_rs;
[INFO] [stdout]   |         ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `future_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:48:43
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:49:47
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     let mut non_thread_size = NON_CORE_THREAD.lock().unwrap();
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:71:79
[INFO] [stdout]    |
[INFO] [stdout] 71 | ...                   let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:74:83
[INFO] [stdout]    |
[INFO] [stdout] 74 | ...                   let mut non_thread_size = NON_CORE_THREAD.lock().unwrap();
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ThreadPool_rs/mod.rs:109:35
[INFO] [stdout]     |
[INFO] [stdout] 109 |             let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:32:63
[INFO] [stdout]    |
[INFO] [stdout] 32 | ...                   let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:67:67
[INFO] [stdout]    |
[INFO] [stdout] 67 | ...                   let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:70:71
[INFO] [stdout]    |
[INFO] [stdout] 70 | ...                   let mut non_thread_size = NON_CORE_THREAD.lock().unwrap();
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[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 imports: `Receiver` and `Sender`
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::mpsc::{Receiver, Sender, SyncSender};
[INFO] [stdout]   |                       ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LazyLock`
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::{mpsc, Arc, LazyLock, Mutex};
[INFO] [stdout]   |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:33:58
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout]    |                                        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 33 -                                         (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout] 33 +                                         (*thread_size) = (*thread_size) - 1 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:68:62
[INFO] [stdout]    |
[INFO] [stdout] 68 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout]    |                                        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 68 -                                             (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout] 68 +                                             (*thread_size) = (*thread_size) - 1 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Mess_job` should have an upper camel case name
[INFO] [stdout]  --> src/ThreadPool_rs/Message_rs.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Mess_job((Job, Sender<String>)),
[INFO] [stdout]   |     ^^^^^^^^ help: convert the identifier to upper camel case: `MessJob`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:72:74
[INFO] [stdout]    |
[INFO] [stdout] 72 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout]    |                                        ^                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 72 -                                                         (*thread_size) = ((*thread_size) - 1);
[INFO] [stdout] 72 +                                                         (*thread_size) = (*thread_size) - 1 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |                     Err(e) => ()
[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: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |                         Err(e) => ()
[INFO] [stdout]    |                             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 Err(e) => ()
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:70:53
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 unsafe {
[INFO] [stdout]    |                 ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 70 |                                                     unsafe {
[INFO] [stdout]    |                                                     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     let mut thread_size = CORS_THREAD.lock().unwrap();
[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: unused variable: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:84:41
[INFO] [stdout]    |
[INFO] [stdout] 84 | ...                   Err(e) => ()
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:87:33
[INFO] [stdout]    |
[INFO] [stdout] 87 | ...                   Err(e) => ()
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `maximum_pool_size` and `maximum_queue` are never read
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct ThreadPool {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     maximum_pool_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     maximum_queue: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Job` is never used
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | type Job = Box<dyn Fn() + Send + 'static>;
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `handle` is never read
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Executor {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 11 |     handle: JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_thread` is never used
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Executor {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn new_thread(receiver: Arc<Mutex<Receiver<Message>>>){
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `ThreadPool_rs` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod ThreadPool_rs;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `thread_pool_rs`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Executor_rs` should have a snake case name
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod Executor_rs;
[INFO] [stdout]   |     ^^^^^^^^^^^ help: convert the identifier to snake case: `executor_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Message_rs` should have a snake case name
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | mod Message_rs;
[INFO] [stdout]   |     ^^^^^^^^^^ help: convert the identifier to snake case: `message_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Future_rs` should have a snake case name
[INFO] [stdout]  --> src/ThreadPool_rs/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub mod Future_rs;
[INFO] [stdout]   |         ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `future_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:48:43
[INFO] [stdout]    |
[INFO] [stdout] 48 |                     let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:49:47
[INFO] [stdout]    |
[INFO] [stdout] 49 |                     let mut non_thread_size = NON_CORE_THREAD.lock().unwrap();
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:71:79
[INFO] [stdout]    |
[INFO] [stdout] 71 | ...                   let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/mod.rs:74:83
[INFO] [stdout]    |
[INFO] [stdout] 74 | ...                   let mut non_thread_size = NON_CORE_THREAD.lock().unwrap();
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/ThreadPool_rs/mod.rs:109:35
[INFO] [stdout]     |
[INFO] [stdout] 109 |             let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:32:63
[INFO] [stdout]    |
[INFO] [stdout] 32 | ...                   let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:67:67
[INFO] [stdout]    |
[INFO] [stdout] 67 | ...                   let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/ThreadPool_rs/Executor_rs.rs:70:71
[INFO] [stdout]    |
[INFO] [stdout] 70 | ...                   let mut non_thread_size = NON_CORE_THREAD.lock().unwrap();
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "bb6f1bfad78905105df52120bfc5b1842984205887f20c22270505aacddec7a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb6f1bfad78905105df52120bfc5b1842984205887f20c22270505aacddec7a4", kill_on_drop: false }`
[INFO] [stdout] bb6f1bfad78905105df52120bfc5b1842984205887f20c22270505aacddec7a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e3c83a9761476c2e774521f56c872d6dec5db4ea227615ccb8da42cb5d90b42e
[INFO] running `Command { std: "docker" "start" "-a" "e3c83a9761476c2e774521f56c872d6dec5db4ea227615ccb8da42cb5d90b42e", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::cell::RefCell`
[INFO] [stderr]  --> src/ThreadPool_rs/mod.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::cell::RefCell;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Receiver` and `Sender`
[INFO] [stderr]  --> src/ThreadPool_rs/mod.rs:2:23
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::sync::mpsc::{Receiver, Sender, SyncSender};
[INFO] [stderr]   |                       ^^^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `LazyLock`
[INFO] [stderr]  --> src/ThreadPool_rs/mod.rs:3:28
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::sync::{mpsc, Arc, LazyLock, Mutex};
[INFO] [stderr]   |                            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/ThreadPool_rs/Executor_rs.rs:33:58
[INFO] [stderr]    |
[INFO] [stderr] 33 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stderr]    |                                        ^                  ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 33 -                                         (*thread_size) = ((*thread_size) - 1);
[INFO] [stderr] 33 +                                         (*thread_size) = (*thread_size) - 1 ;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/ThreadPool_rs/Executor_rs.rs:68:62
[INFO] [stderr]    |
[INFO] [stderr] 68 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stderr]    |                                        ^                  ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 68 -                                             (*thread_size) = ((*thread_size) - 1);
[INFO] [stderr] 68 +                                             (*thread_size) = (*thread_size) - 1 ;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Mess_job` should have an upper camel case name
[INFO] [stderr]  --> src/ThreadPool_rs/Message_rs.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 |     Mess_job((Job, Sender<String>)),
[INFO] [stderr]   |     ^^^^^^^^ help: convert the identifier to upper camel case: `MessJob`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/ThreadPool_rs/mod.rs:72:74
[INFO] [stderr]    |
[INFO] [stderr] 72 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stderr]    |                                        ^                  ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 72 -                                                         (*thread_size) = ((*thread_size) - 1);
[INFO] [stderr] 72 +                                                         (*thread_size) = (*thread_size) - 1 ;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> src/ThreadPool_rs/Executor_rs.rs:43:25
[INFO] [stderr]    |
[INFO] [stderr] 43 |                     Err(e) => ()
[INFO] [stderr]    |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> src/ThreadPool_rs/Executor_rs.rs:81:29
[INFO] [stderr]    |
[INFO] [stderr] 81 |                         Err(e) => ()
[INFO] [stderr]    |                             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> src/ThreadPool_rs/Executor_rs.rs:84:21
[INFO] [stderr]    |
[INFO] [stderr] 84 |                 Err(e) => ()
[INFO] [stderr]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> src/ThreadPool_rs/mod.rs:70:53
[INFO] [stderr]    |
[INFO] [stderr] 47 |                 unsafe {
[INFO] [stderr]    |                 ------ because it's nested under this `unsafe` block
[INFO] [stderr] ...
[INFO] [stderr] 70 |                                                     unsafe {
[INFO] [stderr]    |                                                     ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/ThreadPool_rs/mod.rs:48:25
[INFO] [stderr]    |
[INFO] [stderr] 48 |                     let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stderr]    |                         ----^^^^^^^^^^^
[INFO] [stderr]    |                         |
[INFO] [stderr]    |                         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> src/ThreadPool_rs/mod.rs:84:41
[INFO] [stderr]    |
[INFO] [stderr] 84 | ...                   Err(e) => ()
[INFO] [stderr]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> src/ThreadPool_rs/mod.rs:87:33
[INFO] [stderr]    |
[INFO] [stderr] 87 | ...                   Err(e) => ()
[INFO] [stderr]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `maximum_pool_size` and `maximum_queue` are never read
[INFO] [stderr]   --> src/ThreadPool_rs/mod.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct ThreadPool {
[INFO] [stderr]    |            ---------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 20 |     maximum_pool_size: usize,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 21 |     maximum_queue: usize,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `Job` is never used
[INFO] [stderr]   --> src/ThreadPool_rs/mod.rs:24:6
[INFO] [stderr]    |
[INFO] [stderr] 24 | type Job = Box<dyn Fn() + Send + 'static>;
[INFO] [stderr]    |      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `handle` is never read
[INFO] [stderr]   --> src/ThreadPool_rs/Executor_rs.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct Executor {
[INFO] [stderr]    |            -------- field in this struct
[INFO] [stderr] 11 |     handle: JoinHandle<()>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_thread` is never used
[INFO] [stderr]   --> src/ThreadPool_rs/Executor_rs.rs:52:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl Executor {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 52 |     pub fn new_thread(receiver: Arc<Mutex<Receiver<Message>>>){
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: module `ThreadPool_rs` should have a snake case name
[INFO] [stderr]  --> src/lib.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | mod ThreadPool_rs;
[INFO] [stderr]   |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `thread_pool_rs`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: module `Executor_rs` should have a snake case name
[INFO] [stderr]  --> src/ThreadPool_rs/mod.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | mod Executor_rs;
[INFO] [stderr]   |     ^^^^^^^^^^^ help: convert the identifier to snake case: `executor_rs`
[INFO] [stderr] 
[INFO] [stderr] warning: module `Message_rs` should have a snake case name
[INFO] [stderr]  --> src/ThreadPool_rs/mod.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | mod Message_rs;
[INFO] [stderr]   |     ^^^^^^^^^^ help: convert the identifier to snake case: `message_rs`
[INFO] [stderr] 
[INFO] [stderr] warning: module `Future_rs` should have a snake case name
[INFO] [stderr]  --> src/ThreadPool_rs/mod.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub mod Future_rs;
[INFO] [stderr]   |         ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `future_rs`
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/ThreadPool_rs/mod.rs:48:43
[INFO] [stderr]    |
[INFO] [stderr] 48 |                     let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/ThreadPool_rs/mod.rs:49:47
[INFO] [stderr]    |
[INFO] [stderr] 49 |                     let mut non_thread_size = NON_CORE_THREAD.lock().unwrap();
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/ThreadPool_rs/mod.rs:71:79
[INFO] [stderr]    |
[INFO] [stderr] 71 | ...                   let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stderr]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/ThreadPool_rs/mod.rs:74:83
[INFO] [stderr]    |
[INFO] [stderr] 74 | ...                   let mut non_thread_size = NON_CORE_THREAD.lock().unwrap();
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/ThreadPool_rs/mod.rs:109:35
[INFO] [stderr]     |
[INFO] [stderr] 109 |             let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/ThreadPool_rs/Executor_rs.rs:32:63
[INFO] [stderr]    |
[INFO] [stderr] 32 | ...                   let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stderr]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/ThreadPool_rs/Executor_rs.rs:67:67
[INFO] [stderr]    |
[INFO] [stderr] 67 | ...                   let mut thread_size = CORS_THREAD.lock().unwrap();
[INFO] [stderr]    |                                             ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/ThreadPool_rs/Executor_rs.rs:70:71
[INFO] [stderr]    |
[INFO] [stderr] 70 | ...                   let mut non_thread_size = NON_CORE_THREAD.lock().unwrap();
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: `java-threadpool` (lib) generated 30 warnings (run `cargo fix --lib -p java-threadpool` to apply 12 suggestions)
[INFO] [stderr] warning: `java-threadpool` (lib test) generated 30 warnings (30 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/java_threadpool-bc76ce010c925d54)
[INFO] [stderr]    Doc-tests java_threadpool
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/ThreadPool_rs/Executor_rs.rs:33:58
[INFO] [stderr]    |
[INFO] [stderr] 33 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stderr]    |                                        ^                  ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 33 -                                         (*thread_size) = ((*thread_size) - 1);
[INFO] [stderr] 33 +                                         (*thread_size) = (*thread_size) - 1 ;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/ThreadPool_rs/Executor_rs.rs:68:62
[INFO] [stderr]    |
[INFO] [stderr] 68 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stderr]    |                                        ^                  ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 68 -                                             (*thread_size) = ((*thread_size) - 1);
[INFO] [stderr] 68 +                                             (*thread_size) = (*thread_size) - 1 ;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Mess_job` should have an upper camel case name
[INFO] [stderr]  --> src/ThreadPool_rs/Message_rs.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 |     Mess_job((Job, Sender<String>)),
[INFO] [stderr]   |     ^^^^^^^^ help: convert the identifier to upper camel case: `MessJob`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/ThreadPool_rs/mod.rs:72:74
[INFO] [stderr]    |
[INFO] [stderr] 72 | ...                   (*thread_size) = ((*thread_size) - 1);
[INFO] [stderr]    |                                        ^                  ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 72 -                                                         (*thread_size) = ((*thread_size) - 1);
[INFO] [stderr] 72 +                                                         (*thread_size) = (*thread_size) - 1 ;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: 4 warnings emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e3c83a9761476c2e774521f56c872d6dec5db4ea227615ccb8da42cb5d90b42e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3c83a9761476c2e774521f56c872d6dec5db4ea227615ccb8da42cb5d90b42e", kill_on_drop: false }`
[INFO] [stdout] e3c83a9761476c2e774521f56c872d6dec5db4ea227615ccb8da42cb5d90b42e
