[INFO] fetching crate threadReactive 0.1.0... [INFO] checking threadReactive-0.1.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate threadReactive 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate threadReactive 0.1.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate threadReactive 0.1.0 [INFO] finished tweaking crates.io crate threadReactive 0.1.0 [INFO] tweaked toml for crates.io crate threadReactive 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26b35a5d72c974d5ffcddd6178eea9e40899c96799e1953f61feeda691c32fa2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "26b35a5d72c974d5ffcddd6178eea9e40899c96799e1953f61feeda691c32fa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26b35a5d72c974d5ffcddd6178eea9e40899c96799e1953f61feeda691c32fa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26b35a5d72c974d5ffcddd6178eea9e40899c96799e1953f61feeda691c32fa2", kill_on_drop: false }` [INFO] [stdout] 26b35a5d72c974d5ffcddd6178eea9e40899c96799e1953f61feeda691c32fa2 [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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 354b381c7c54bbd91cfa295e932c93baa80ce8ed68e8ddca0653e8798ce24f22 [INFO] running `Command { std: "docker" "start" "-a" "354b381c7c54bbd91cfa295e932c93baa80ce8ed68e8ddca0653e8798ce24f22", kill_on_drop: false }` [INFO] [stderr] Checking threadReactive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Barrier`, `MutexGuard` [INFO] [stdout] --> src/lib.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Condvar, Mutex, MutexGuard, Barrier}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicIsize` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::atomic::AtomicIsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | if(get_condvar_bool(Arc::clone(&signal)) == true){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/lib.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | return (length - i) [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:157:7 [INFO] [stdout] | [INFO] [stdout] 157 | if(*self.NB_wait.lock().unwrap()== 0 && *self.return_code.lock().unwrap()== true){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | if (*self.NB_cooperate.lock().unwrap() == 0i32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | if(self.get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | if (*self.NB_cooperate.lock().unwrap() == 0i32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | if(*self.NB_instant.lock().unwrap() == *self.next_instant.lock().unwrap()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:391:7 [INFO] [stdout] | [INFO] [stdout] 391 | if(*self.NB_wait_cooperate.lock().unwrap() == 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | if(get_condvar_bool(Arc::clone(&signal)) == false){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:451:7 [INFO] [stdout] | [INFO] [stdout] 451 | if(*self.NB_thread.lock().unwrap() > (self.return_length_list_wait() + *self.NB_cooperate.lock().unwrap() + *self.NB_finish.lock().unwrap()) as isize){ /... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:460:7 [INFO] [stdout] | [INFO] [stdout] 460 | if(*self.NB_thread.lock().unwrap() == (self.return_length_list_wait() + *self.NB_cooperate.lock().unwrap() + *self.NB_finish.lock().unwrap()) as isiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | if(*self.NB_cooperate.lock().unwrap() == 0 && *self.NB_wait.lock().unwrap() == 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 465 | else if(*self.NB_cooperate.lock().unwrap() == 0 && *self.NB_wait.lock().unwrap() != 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:470:14 [INFO] [stdout] | [INFO] [stdout] 470 | else if(*self.NB_cooperate.lock().unwrap() != 0 && *self.NB_wait.lock().unwrap() == 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/lib.rs:484:10 [INFO] [stdout] | [INFO] [stdout] 484 | while(done == false){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:489:11 [INFO] [stdout] | [INFO] [stdout] 489 | if (*self.NB_cooperate.lock().unwrap() == 0i32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | if(!not_finish_execution){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:499:7 [INFO] [stdout] | [INFO] [stdout] 499 | if(verify == true){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:503:7 [INFO] [stdout] | [INFO] [stdout] 503 | if(not_finish_execution){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:510:12 [INFO] [stdout] | [INFO] [stdout] 510 | else if(finish_execution == false){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | if(self.get_condvar_cooperate() == false){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:512:11 [INFO] [stdout] | [INFO] [stdout] 512 | if(*self.check_NB_wait.lock().unwrap()== false){// partie cooperate pure [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:525:16 [INFO] [stdout] | [INFO] [stdout] 525 | else if(*self.check_NB_wait.lock().unwrap()== true){// partie wait pure [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 544 | else if(finish_execution == true){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `My_scheduler` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:558:12 [INFO] [stdout] | [INFO] [stdout] 558 | pub struct My_scheduler { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MyScheduler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> src/lib.rs:622:38 [INFO] [stdout] | [INFO] [stdout] 622 | use std::sync::{Arc, Condvar, Mutex, MutexGuard}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/lib.rs:623:5 [INFO] [stdout] | [INFO] [stdout] 623 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/lib.rs:624:5 [INFO] [stdout] | [INFO] [stdout] 624 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/lib.rs:625:5 [INFO] [stdout] | [INFO] [stdout] 625 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/lib.rs:627:5 [INFO] [stdout] | [INFO] [stdout] 627 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Barrier`, `MutexGuard` [INFO] [stdout] --> src/lib.rs:708:38 [INFO] [stdout] | [INFO] [stdout] 708 | use std::sync::{Arc, Condvar, Mutex, MutexGuard, Barrier}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/lib.rs:709:5 [INFO] [stdout] | [INFO] [stdout] 709 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/lib.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/lib.rs:712:38 [INFO] [stdout] | [INFO] [stdout] 712 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/lib.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 713 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:757:9 [INFO] [stdout] | [INFO] [stdout] 757 | if(self.return_scheduler().return_code() == true){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:758:11 [INFO] [stdout] | [INFO] [stdout] 758 | if(*self.return_scheduler().NB_wait.lock().unwrap() == 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:759:9 [INFO] [stdout] | [INFO] [stdout] 759 | if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:767:9 [INFO] [stdout] | [INFO] [stdout] 767 | if(get_condvar_bool(Arc::clone(&signal)) == false){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:769:11 [INFO] [stdout] | [INFO] [stdout] 769 | if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:782:7 [INFO] [stdout] | [INFO] [stdout] 782 | if(self.return_scheduler().return_code() == true){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:783:7 [INFO] [stdout] | [INFO] [stdout] 783 | if(*self.return_scheduler().NB_wait.lock().unwrap() == 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:784:9 [INFO] [stdout] | [INFO] [stdout] 784 | if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:797:7 [INFO] [stdout] | [INFO] [stdout] 797 | if(*num.lock().unwrap() == false){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:804:7 [INFO] [stdout] | [INFO] [stdout] 804 | if(self.return_nb_thread() == (self.return_scheduler().return_length_list_wait() + *self.return_scheduler().NB_cooperate.lock().unwrap() + *self.return_scheduler().NB_finish.lock().unwrap()) as isiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:821:15 [INFO] [stdout] | [INFO] [stdout] 821 | if(check){ [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:840:9 [INFO] [stdout] | [INFO] [stdout] 840 | if(*self.return_scheduler().NB_instant.lock().unwrap() == *self.return_scheduler().next_instant.lock().unwrap()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:844:9 [INFO] [stdout] | [INFO] [stdout] 844 | if(self.return_scheduler().return_code() == true ){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:845:11 [INFO] [stdout] | [INFO] [stdout] 845 | if(*self.return_scheduler().NB_wait.lock().unwrap() == 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:846:9 [INFO] [stdout] | [INFO] [stdout] 846 | if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:855:9 [INFO] [stdout] | [INFO] [stdout] 855 | if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:884:7 [INFO] [stdout] | [INFO] [stdout] 884 | if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Barrier`, `MutexGuard` [INFO] [stdout] --> src/lib.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Condvar, Mutex, MutexGuard, Barrier}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicIsize` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::atomic::AtomicIsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | if(get_condvar_bool(Arc::clone(&signal)) == true){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/lib.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | return (length - i) [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:157:7 [INFO] [stdout] | [INFO] [stdout] 157 | if(*self.NB_wait.lock().unwrap()== 0 && *self.return_code.lock().unwrap()== true){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | if (*self.NB_cooperate.lock().unwrap() == 0i32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | if(self.get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | if (*self.NB_cooperate.lock().unwrap() == 0i32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | if(*self.NB_instant.lock().unwrap() == *self.next_instant.lock().unwrap()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:391:7 [INFO] [stdout] | [INFO] [stdout] 391 | if(*self.NB_wait_cooperate.lock().unwrap() == 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | if(get_condvar_bool(Arc::clone(&signal)) == false){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:451:7 [INFO] [stdout] | [INFO] [stdout] 451 | if(*self.NB_thread.lock().unwrap() > (self.return_length_list_wait() + *self.NB_cooperate.lock().unwrap() + *self.NB_finish.lock().unwrap()) as isize){ /... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:460:7 [INFO] [stdout] | [INFO] [stdout] 460 | if(*self.NB_thread.lock().unwrap() == (self.return_length_list_wait() + *self.NB_cooperate.lock().unwrap() + *self.NB_finish.lock().unwrap()) as isiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | if(*self.NB_cooperate.lock().unwrap() == 0 && *self.NB_wait.lock().unwrap() == 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:465:14 [INFO] [stdout] | [INFO] [stdout] 465 | else if(*self.NB_cooperate.lock().unwrap() == 0 && *self.NB_wait.lock().unwrap() != 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:470:14 [INFO] [stdout] | [INFO] [stdout] 470 | else if(*self.NB_cooperate.lock().unwrap() != 0 && *self.NB_wait.lock().unwrap() == 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/lib.rs:484:10 [INFO] [stdout] | [INFO] [stdout] 484 | while(done == false){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:489:11 [INFO] [stdout] | [INFO] [stdout] 489 | if (*self.NB_cooperate.lock().unwrap() == 0i32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | if(!not_finish_execution){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:499:7 [INFO] [stdout] | [INFO] [stdout] 499 | if(verify == true){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:503:7 [INFO] [stdout] | [INFO] [stdout] 503 | if(not_finish_execution){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:510:12 [INFO] [stdout] | [INFO] [stdout] 510 | else if(finish_execution == false){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | if(self.get_condvar_cooperate() == false){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:512:11 [INFO] [stdout] | [INFO] [stdout] 512 | if(*self.check_NB_wait.lock().unwrap()== false){// partie cooperate pure [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:525:16 [INFO] [stdout] | [INFO] [stdout] 525 | else if(*self.check_NB_wait.lock().unwrap()== true){// partie wait pure [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 544 | else if(finish_execution == true){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `My_scheduler` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:558:12 [INFO] [stdout] | [INFO] [stdout] 558 | pub struct My_scheduler { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MyScheduler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> src/lib.rs:622:38 [INFO] [stdout] | [INFO] [stdout] 622 | use std::sync::{Arc, Condvar, Mutex, MutexGuard}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/lib.rs:623:5 [INFO] [stdout] | [INFO] [stdout] 623 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/lib.rs:624:5 [INFO] [stdout] | [INFO] [stdout] 624 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/lib.rs:625:5 [INFO] [stdout] | [INFO] [stdout] 625 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/lib.rs:627:5 [INFO] [stdout] | [INFO] [stdout] 627 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Barrier`, `MutexGuard` [INFO] [stdout] --> src/lib.rs:708:38 [INFO] [stdout] | [INFO] [stdout] 708 | use std::sync::{Arc, Condvar, Mutex, MutexGuard, Barrier}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/lib.rs:709:5 [INFO] [stdout] | [INFO] [stdout] 709 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/lib.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/lib.rs:712:38 [INFO] [stdout] | [INFO] [stdout] 712 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/lib.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 713 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:757:9 [INFO] [stdout] | [INFO] [stdout] 757 | if(self.return_scheduler().return_code() == true){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:758:11 [INFO] [stdout] | [INFO] [stdout] 758 | if(*self.return_scheduler().NB_wait.lock().unwrap() == 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:759:9 [INFO] [stdout] | [INFO] [stdout] 759 | if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:767:9 [INFO] [stdout] | [INFO] [stdout] 767 | if(get_condvar_bool(Arc::clone(&signal)) == false){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:769:11 [INFO] [stdout] | [INFO] [stdout] 769 | if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:782:7 [INFO] [stdout] | [INFO] [stdout] 782 | if(self.return_scheduler().return_code() == true){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:783:7 [INFO] [stdout] | [INFO] [stdout] 783 | if(*self.return_scheduler().NB_wait.lock().unwrap() == 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:784:9 [INFO] [stdout] | [INFO] [stdout] 784 | if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:797:7 [INFO] [stdout] | [INFO] [stdout] 797 | if(*num.lock().unwrap() == false){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:804:7 [INFO] [stdout] | [INFO] [stdout] 804 | if(self.return_nb_thread() == (self.return_scheduler().return_length_list_wait() + *self.return_scheduler().NB_cooperate.lock().unwrap() + *self.return_scheduler().NB_finish.lock().unwrap()) as isiz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:821:15 [INFO] [stdout] | [INFO] [stdout] 821 | if(check){ [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:840:9 [INFO] [stdout] | [INFO] [stdout] 840 | if(*self.return_scheduler().NB_instant.lock().unwrap() == *self.return_scheduler().next_instant.lock().unwrap()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | pub static GLOBAL_SCHEDULER_COUNT: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:844:9 [INFO] [stdout] | [INFO] [stdout] 844 | if(self.return_scheduler().return_code() == true ){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:23:47 [INFO] [stdout] | [INFO] [stdout] 23 | pub static GLOBAL_THREAD_COUNT: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:845:11 [INFO] [stdout] | [INFO] [stdout] 845 | if(*self.return_scheduler().NB_wait.lock().unwrap() == 0){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:846:9 [INFO] [stdout] | [INFO] [stdout] 846 | if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:855:9 [INFO] [stdout] | [INFO] [stdout] 855 | if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:626:48 [INFO] [stdout] | [INFO] [stdout] 626 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:884:7 [INFO] [stdout] | [INFO] [stdout] 884 | if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:633:47 [INFO] [stdout] | [INFO] [stdout] 633 | pub static GLOBAL_SIGNAL_COUNT: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:712:48 [INFO] [stdout] | [INFO] [stdout] 712 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:740:47 [INFO] [stdout] | [INFO] [stdout] 740 | pub static GLOBAL_THREAD_COUNT: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | pub static GLOBAL_SCHEDULER_COUNT: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:23:47 [INFO] [stdout] | [INFO] [stdout] 23 | pub static GLOBAL_THREAD_COUNT: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:626:48 [INFO] [stdout] | [INFO] [stdout] 626 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:633:47 [INFO] [stdout] | [INFO] [stdout] 633 | pub static GLOBAL_SIGNAL_COUNT: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:712:48 [INFO] [stdout] | [INFO] [stdout] 712 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:740:47 [INFO] [stdout] | [INFO] [stdout] 740 | pub static GLOBAL_THREAD_COUNT: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:596:16 [INFO] [stdout] | [INFO] [stdout] 596 | let ( num, cvar) = &*signal.condition_variable; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:613:26 [INFO] [stdout] | [INFO] [stdout] 613 | let &(ref num, ref cvar) = &*condvar; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 266 | let ( num, cvar) = &*self.condition_wake_up; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:272:16 [INFO] [stdout] | [INFO] [stdout] 272 | let ( num, cvar) = &*self.condition_cooperate_Wake; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 278 | let ( num, cvar) = &*self.condition_cooperate; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:307:16 [INFO] [stdout] | [INFO] [stdout] 307 | let ( num, cvar) = &*self.condition_instant; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:341:16 [INFO] [stdout] | [INFO] [stdout] 341 | let ( num, cvar) = &*self.condition_emit; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:366:16 [INFO] [stdout] | [INFO] [stdout] 366 | let ( num, cvar) = &*self.condition_cooperate_Wake; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:371:16 [INFO] [stdout] | [INFO] [stdout] 371 | let ( num, cvar) = &*self.condition_finish; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:376:16 [INFO] [stdout] | [INFO] [stdout] 376 | let ( num, cvar) = &*self.condition_wake_up; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | let ( num, cvar) = &*self.condition_cooperate; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:386:16 [INFO] [stdout] | [INFO] [stdout] 386 | let ( num, cvar) = &*self.condition_code_signal; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:392:16 [INFO] [stdout] | [INFO] [stdout] 392 | let ( num, cvar) = &*self.condition_instant; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `not_finish_execution` is never read [INFO] [stdout] --> src/lib.rs:485:15 [INFO] [stdout] | [INFO] [stdout] 485 | let mut not_finish_execution = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `verify` is never read [INFO] [stdout] --> src/lib.rs:487:15 [INFO] [stdout] | [INFO] [stdout] 487 | let mut verify = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:676:16 [INFO] [stdout] | [INFO] [stdout] 676 | let ( num, cvar) = &*signal.lock().unwrap().condition_variable; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:693:26 [INFO] [stdout] | [INFO] [stdout] 693 | let &(ref num, ref cvar) = &*condvar; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:907:16 [INFO] [stdout] | [INFO] [stdout] 907 | let ( num, cvar) = &*signal.condition_variable; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:795:17 [INFO] [stdout] | [INFO] [stdout] 795 | {let ( num, cvar) = &*condvar; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:866:9 [INFO] [stdout] | [INFO] [stdout] 866 | for i in (0) ..(instant){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:596:16 [INFO] [stdout] | [INFO] [stdout] 596 | let ( num, cvar) = &*signal.condition_variable; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:613:26 [INFO] [stdout] | [INFO] [stdout] 613 | let &(ref num, ref cvar) = &*condvar; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 266 | let ( num, cvar) = &*self.condition_wake_up; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:272:16 [INFO] [stdout] | [INFO] [stdout] 272 | let ( num, cvar) = &*self.condition_cooperate_Wake; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 278 | let ( num, cvar) = &*self.condition_cooperate; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:307:16 [INFO] [stdout] | [INFO] [stdout] 307 | let ( num, cvar) = &*self.condition_instant; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:341:16 [INFO] [stdout] | [INFO] [stdout] 341 | let ( num, cvar) = &*self.condition_emit; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:366:16 [INFO] [stdout] | [INFO] [stdout] 366 | let ( num, cvar) = &*self.condition_cooperate_Wake; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:371:16 [INFO] [stdout] | [INFO] [stdout] 371 | let ( num, cvar) = &*self.condition_finish; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:376:16 [INFO] [stdout] | [INFO] [stdout] 376 | let ( num, cvar) = &*self.condition_wake_up; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:381:16 [INFO] [stdout] | [INFO] [stdout] 381 | let ( num, cvar) = &*self.condition_cooperate; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:386:16 [INFO] [stdout] | [INFO] [stdout] 386 | let ( num, cvar) = &*self.condition_code_signal; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:392:16 [INFO] [stdout] | [INFO] [stdout] 392 | let ( num, cvar) = &*self.condition_instant; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `not_finish_execution` is never read [INFO] [stdout] --> src/lib.rs:485:15 [INFO] [stdout] | [INFO] [stdout] 485 | let mut not_finish_execution = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `verify` is never read [INFO] [stdout] --> src/lib.rs:487:15 [INFO] [stdout] | [INFO] [stdout] 487 | let mut verify = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:676:16 [INFO] [stdout] | [INFO] [stdout] 676 | let ( num, cvar) = &*signal.lock().unwrap().condition_variable; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:693:26 [INFO] [stdout] | [INFO] [stdout] 693 | let &(ref num, ref cvar) = &*condvar; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:907:16 [INFO] [stdout] | [INFO] [stdout] 907 | let ( num, cvar) = &*signal.condition_variable; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> src/lib.rs:795:17 [INFO] [stdout] | [INFO] [stdout] 795 | {let ( num, cvar) = &*condvar; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:866:9 [INFO] [stdout] | [INFO] [stdout] 866 | for i in (0) ..(instant){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let mut start = num.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | let mut start = num.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | let mut start = num.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | let mut start = num.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | let mut start = num.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | let mut start = num.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let mut start = num.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | let mut start = num.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | let mut start = num.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | let mut start = num.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:908:9 [INFO] [stdout] | [INFO] [stdout] 908 | let mut start = num.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_condvar_bool` [INFO] [stdout] --> src/lib.rs:675:4 [INFO] [stdout] | [INFO] [stdout] 675 | fn get_condvar_bool(signal: Arc>) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `N_THREAD` [INFO] [stdout] --> src/lib.rs:742:1 [INFO] [stdout] | [INFO] [stdout] 742 | static N_THREAD: AtomicIsize = AtomicIsize::new(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `threadReactive` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `thread_reactive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Thread_trait` should have a snake case name [INFO] [stdout] --> src/lib.rs:705:9 [INFO] [stdout] | [INFO] [stdout] 705 | pub mod Thread_trait{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `thread_trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NB_thread` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | pub NB_thread: Arc>, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `nb_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `condition_cooperate_Wake` should have a snake case name [INFO] [stdout] --> src/lib.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | pub condition_cooperate_Wake: Arc<(Mutex, Condvar)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `condition_cooperate_wake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NB_cooperate` should have a snake case name [INFO] [stdout] --> src/lib.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | pub NB_cooperate: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `nb_cooperate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NB_wait` should have a snake case name [INFO] [stdout] --> src/lib.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | pub NB_wait: Arc>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `nb_wait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NB_finish` should have a snake case name [INFO] [stdout] --> src/lib.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | pub NB_finish: Arc>, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `nb_finish` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NB_instant` should have a snake case name [INFO] [stdout] --> src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | pub NB_instant: Arc>,//a voir sans Mutex [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `nb_instant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NB_wait_cooperate` should have a snake case name [INFO] [stdout] --> src/lib.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | pub NB_wait_cooperate: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nb_wait_cooperate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `check_NB_wait` should have a snake case name [INFO] [stdout] --> src/lib.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | pub check_NB_wait: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_nb_wait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `check_NB_cooperate` should have a snake case name [INFO] [stdout] --> src/lib.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | pub check_NB_cooperate: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_nb_cooperate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_condvar_cooperateWake` should have a snake case name [INFO] [stdout] --> src/lib.rs:271:11 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn get_condvar_cooperateWake(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_condvar_cooperate_wake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/lib.rs:529:11 [INFO] [stdout] | [INFO] [stdout] 529 | *self.check_NB_wait.lock().unwrap()== false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `return_ID` should have a snake case name [INFO] [stdout] --> src/lib.rs:751:6 [INFO] [stdout] | [INFO] [stdout] 751 | fn return_ID(&self)-> usize; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `return_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | let mut start = num.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | let mut start = num.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:908:9 [INFO] [stdout] | [INFO] [stdout] 908 | let mut start = num.lock().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_condvar_bool` [INFO] [stdout] --> src/lib.rs:675:4 [INFO] [stdout] | [INFO] [stdout] 675 | fn get_condvar_bool(signal: Arc>) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `N_THREAD` [INFO] [stdout] --> src/lib.rs:742:1 [INFO] [stdout] | [INFO] [stdout] 742 | static N_THREAD: AtomicIsize = AtomicIsize::new(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `threadReactive` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `thread_reactive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Thread_trait` should have a snake case name [INFO] [stdout] --> src/lib.rs:705:9 [INFO] [stdout] | [INFO] [stdout] 705 | pub mod Thread_trait{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `thread_trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NB_thread` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | pub NB_thread: Arc>, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `nb_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `condition_cooperate_Wake` should have a snake case name [INFO] [stdout] --> src/lib.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | pub condition_cooperate_Wake: Arc<(Mutex, Condvar)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `condition_cooperate_wake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NB_cooperate` should have a snake case name [INFO] [stdout] --> src/lib.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | pub NB_cooperate: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `nb_cooperate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NB_wait` should have a snake case name [INFO] [stdout] --> src/lib.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | pub NB_wait: Arc>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `nb_wait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NB_finish` should have a snake case name [INFO] [stdout] --> src/lib.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | pub NB_finish: Arc>, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `nb_finish` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NB_instant` should have a snake case name [INFO] [stdout] --> src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | pub NB_instant: Arc>,//a voir sans Mutex [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `nb_instant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NB_wait_cooperate` should have a snake case name [INFO] [stdout] --> src/lib.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | pub NB_wait_cooperate: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nb_wait_cooperate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `check_NB_wait` should have a snake case name [INFO] [stdout] --> src/lib.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | pub check_NB_wait: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_nb_wait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `check_NB_cooperate` should have a snake case name [INFO] [stdout] --> src/lib.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | pub check_NB_cooperate: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_nb_cooperate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_condvar_cooperateWake` should have a snake case name [INFO] [stdout] --> src/lib.rs:271:11 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn get_condvar_cooperateWake(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_condvar_cooperate_wake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/lib.rs:529:11 [INFO] [stdout] | [INFO] [stdout] 529 | *self.check_NB_wait.lock().unwrap()== false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `return_ID` should have a snake case name [INFO] [stdout] --> src/lib.rs:751:6 [INFO] [stdout] | [INFO] [stdout] 751 | fn return_ID(&self)-> usize; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `return_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 109 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 109 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "354b381c7c54bbd91cfa295e932c93baa80ce8ed68e8ddca0653e8798ce24f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "354b381c7c54bbd91cfa295e932c93baa80ce8ed68e8ddca0653e8798ce24f22", kill_on_drop: false }` [INFO] [stdout] 354b381c7c54bbd91cfa295e932c93baa80ce8ed68e8ddca0653e8798ce24f22