[INFO] fetching crate threadReactive 0.1.0... [INFO] documenting threadReactive-0.1.0 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate threadReactive 0.1.0 into /workspace/builds/worker-21/source [INFO] validating manifest of crates.io crate threadReactive 0.1.0 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-21/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acaef2e15b26f9126be29c412265779e1e84e5772c97fc8cefa738a9e8a362f8 [INFO] running `Command { std: "docker" "start" "-a" "acaef2e15b26f9126be29c412265779e1e84e5772c97fc8cefa738a9e8a362f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acaef2e15b26f9126be29c412265779e1e84e5772c97fc8cefa738a9e8a362f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acaef2e15b26f9126be29c412265779e1e84e5772c97fc8cefa738a9e8a362f8", kill_on_drop: false }` [INFO] [stdout] acaef2e15b26f9126be29c412265779e1e84e5772c97fc8cefa738a9e8a362f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 946f71646c0690121578eff7871385d48ad1b55cca81caf902ad701241016477 [INFO] running `Command { std: "docker" "start" "-a" "946f71646c0690121578eff7871385d48ad1b55cca81caf902ad701241016477", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Documenting threadReactive v0.1.0 (/opt/rustwide/workdir) [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 117 - if(get_condvar_bool(Arc::clone(&signal)) == true){ [INFO] [stdout] 117 + if get_condvar_bool(Arc::clone(&signal)) == true { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 124 - return (length - i) [INFO] [stdout] 124 + return length - i [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - if(*self.NB_wait.lock().unwrap()== 0 && *self.return_code.lock().unwrap()== true){ [INFO] [stdout] 157 + if *self.NB_wait.lock().unwrap()== 0 && *self.return_code.lock().unwrap()== true { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - if (*self.NB_cooperate.lock().unwrap() == 0i32){ [INFO] [stdout] 181 + if *self.NB_cooperate.lock().unwrap() == 0i32 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - if(self.get_condvar_wake_up()){ [INFO] [stdout] 182 + if self.get_condvar_wake_up() { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 194 - if (*self.NB_cooperate.lock().unwrap() == 0i32){ [INFO] [stdout] 194 + if *self.NB_cooperate.lock().unwrap() == 0i32 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 195 - if(*self.NB_instant.lock().unwrap() == *self.next_instant.lock().unwrap()){ [INFO] [stdout] 195 + if *self.NB_instant.lock().unwrap() == *self.next_instant.lock().unwrap() { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 391 - if(*self.NB_wait_cooperate.lock().unwrap() == 0){ [INFO] [stdout] 391 + if *self.NB_wait_cooperate.lock().unwrap() == 0 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 439 - if(get_condvar_bool(Arc::clone(&signal)) == false){ [INFO] [stdout] 439 + if get_condvar_bool(Arc::clone(&signal)) == false { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [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){ //somme as isize converter i32 to isize [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 { //somme as isize converter i32 to isize [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [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 isize){ [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 isize { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 461 - if(*self.NB_cooperate.lock().unwrap() == 0 && *self.NB_wait.lock().unwrap() == 0){ [INFO] [stdout] 461 + if *self.NB_cooperate.lock().unwrap() == 0 && *self.NB_wait.lock().unwrap() == 0 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 465 - else if(*self.NB_cooperate.lock().unwrap() == 0 && *self.NB_wait.lock().unwrap() != 0){ [INFO] [stdout] 465 + else if *self.NB_cooperate.lock().unwrap() == 0 && *self.NB_wait.lock().unwrap() != 0 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 470 - else if(*self.NB_cooperate.lock().unwrap() != 0 && *self.NB_wait.lock().unwrap() == 0){ [INFO] [stdout] 470 + else if *self.NB_cooperate.lock().unwrap() != 0 && *self.NB_wait.lock().unwrap() == 0 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 484 - while(done == false){ [INFO] [stdout] 484 + while done == false { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 489 - if (*self.NB_cooperate.lock().unwrap() == 0i32){ [INFO] [stdout] 489 + if *self.NB_cooperate.lock().unwrap() == 0i32 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 496 - if(!not_finish_execution){ [INFO] [stdout] 496 + if !not_finish_execution { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 499 - if(verify == true){ [INFO] [stdout] 499 + if verify == true { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 503 - if(not_finish_execution){ [INFO] [stdout] 503 + if not_finish_execution { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 510 - else if(finish_execution == false){ [INFO] [stdout] 510 + else if finish_execution == false { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 511 - if(self.get_condvar_cooperate() == false){ [INFO] [stdout] 511 + if self.get_condvar_cooperate() == false { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 512 - if(*self.check_NB_wait.lock().unwrap()== false){// partie cooperate pure [INFO] [stdout] 512 + if *self.check_NB_wait.lock().unwrap()== false {// partie cooperate pure [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 525 - else if(*self.check_NB_wait.lock().unwrap()== true){// partie wait pure [INFO] [stdout] 525 + else if *self.check_NB_wait.lock().unwrap()== true {// partie wait pure [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 544 - else if(finish_execution == true){ [INFO] [stdout] 544 + else if finish_execution == true { [INFO] [stdout] | [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: 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 757 - if(self.return_scheduler().return_code() == true){ [INFO] [stdout] 757 + if self.return_scheduler().return_code() == true { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 758 - if(*self.return_scheduler().NB_wait.lock().unwrap() == 0){ [INFO] [stdout] 758 + if *self.return_scheduler().NB_wait.lock().unwrap() == 0 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 759 - if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] 759 + if self.return_scheduler().get_condvar_wake_up() { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 767 - if(get_condvar_bool(Arc::clone(&signal)) == false){ [INFO] [stdout] 767 + if get_condvar_bool(Arc::clone(&signal)) == false { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 769 - if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] 769 + if self.return_scheduler().get_condvar_wake_up() { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 782 - if(self.return_scheduler().return_code() == true){ [INFO] [stdout] 782 + if self.return_scheduler().return_code() == true { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 783 - if(*self.return_scheduler().NB_wait.lock().unwrap() == 0){ [INFO] [stdout] 783 + if *self.return_scheduler().NB_wait.lock().unwrap() == 0 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 784 - if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] 784 + if self.return_scheduler().get_condvar_wake_up() { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 797 - if(*num.lock().unwrap() == false){ [INFO] [stdout] 797 + if *num.lock().unwrap() == false { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [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 isize){ [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 isize { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 805 - if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] 805 + if self.return_scheduler().get_condvar_wake_up() { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 821 - if(check){ [INFO] [stdout] 821 + if check { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 840 - if(*self.return_scheduler().NB_instant.lock().unwrap() == *self.return_scheduler().next_instant.lock().unwrap()){ [INFO] [stdout] 840 + if *self.return_scheduler().NB_instant.lock().unwrap() == *self.return_scheduler().next_instant.lock().unwrap() { [INFO] [stdout] | [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] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 844 - if(self.return_scheduler().return_code() == true ){ [INFO] [stdout] 844 + if self.return_scheduler().return_code() == true { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 845 - if(*self.return_scheduler().NB_wait.lock().unwrap() == 0){ [INFO] [stdout] 845 + if *self.return_scheduler().NB_wait.lock().unwrap() == 0 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 846 - if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] 846 + if self.return_scheduler().get_condvar_wake_up() { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 855 - if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] 855 + if self.return_scheduler().get_condvar_wake_up() { [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 884 - if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] 884 + if self.return_scheduler().get_condvar_wake_up() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.64s [INFO] running `Command { std: "docker" "inspect" "946f71646c0690121578eff7871385d48ad1b55cca81caf902ad701241016477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "946f71646c0690121578eff7871385d48ad1b55cca81caf902ad701241016477", kill_on_drop: false }` [INFO] [stdout] 946f71646c0690121578eff7871385d48ad1b55cca81caf902ad701241016477 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 8d203e84960a7f4012c17cc981f7b91b32bfdfac99d255aa7bc7ba58b3957ced [INFO] running `Command { std: "docker" "start" "-a" "8d203e84960a7f4012c17cc981f7b91b32bfdfac99d255aa7bc7ba58b3957ced", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Documenting threadReactive v0.1.0 (/opt/rustwide/workdir) [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 117 - if(get_condvar_bool(Arc::clone(&signal)) == true){ [INFO] [stdout] 117 + if get_condvar_bool(Arc::clone(&signal)) == true { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 124 - return (length - i) [INFO] [stdout] 124 + return length - i [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - if(*self.NB_wait.lock().unwrap()== 0 && *self.return_code.lock().unwrap()== true){ [INFO] [stdout] 157 + if *self.NB_wait.lock().unwrap()== 0 && *self.return_code.lock().unwrap()== true { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - if (*self.NB_cooperate.lock().unwrap() == 0i32){ [INFO] [stdout] 181 + if *self.NB_cooperate.lock().unwrap() == 0i32 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 - if(self.get_condvar_wake_up()){ [INFO] [stdout] 182 + if self.get_condvar_wake_up() { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 194 - if (*self.NB_cooperate.lock().unwrap() == 0i32){ [INFO] [stdout] 194 + if *self.NB_cooperate.lock().unwrap() == 0i32 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 195 - if(*self.NB_instant.lock().unwrap() == *self.next_instant.lock().unwrap()){ [INFO] [stdout] 195 + if *self.NB_instant.lock().unwrap() == *self.next_instant.lock().unwrap() { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 391 - if(*self.NB_wait_cooperate.lock().unwrap() == 0){ [INFO] [stdout] 391 + if *self.NB_wait_cooperate.lock().unwrap() == 0 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 439 - if(get_condvar_bool(Arc::clone(&signal)) == false){ [INFO] [stdout] 439 + if get_condvar_bool(Arc::clone(&signal)) == false { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [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){ //somme as isize converter i32 to isize [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 { //somme as isize converter i32 to isize [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [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 isize){ [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 isize { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 461 - if(*self.NB_cooperate.lock().unwrap() == 0 && *self.NB_wait.lock().unwrap() == 0){ [INFO] [stdout] 461 + if *self.NB_cooperate.lock().unwrap() == 0 && *self.NB_wait.lock().unwrap() == 0 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 465 - else if(*self.NB_cooperate.lock().unwrap() == 0 && *self.NB_wait.lock().unwrap() != 0){ [INFO] [stdout] 465 + else if *self.NB_cooperate.lock().unwrap() == 0 && *self.NB_wait.lock().unwrap() != 0 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 470 - else if(*self.NB_cooperate.lock().unwrap() != 0 && *self.NB_wait.lock().unwrap() == 0){ [INFO] [stdout] 470 + else if *self.NB_cooperate.lock().unwrap() != 0 && *self.NB_wait.lock().unwrap() == 0 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 484 - while(done == false){ [INFO] [stdout] 484 + while done == false { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 489 - if (*self.NB_cooperate.lock().unwrap() == 0i32){ [INFO] [stdout] 489 + if *self.NB_cooperate.lock().unwrap() == 0i32 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 496 - if(!not_finish_execution){ [INFO] [stdout] 496 + if !not_finish_execution { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 499 - if(verify == true){ [INFO] [stdout] 499 + if verify == true { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 503 - if(not_finish_execution){ [INFO] [stdout] 503 + if not_finish_execution { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 510 - else if(finish_execution == false){ [INFO] [stdout] 510 + else if finish_execution == false { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 511 - if(self.get_condvar_cooperate() == false){ [INFO] [stdout] 511 + if self.get_condvar_cooperate() == false { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 512 - if(*self.check_NB_wait.lock().unwrap()== false){// partie cooperate pure [INFO] [stdout] 512 + if *self.check_NB_wait.lock().unwrap()== false {// partie cooperate pure [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 525 - else if(*self.check_NB_wait.lock().unwrap()== true){// partie wait pure [INFO] [stdout] 525 + else if *self.check_NB_wait.lock().unwrap()== true {// partie wait pure [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 544 - else if(finish_execution == true){ [INFO] [stdout] 544 + else if finish_execution == true { [INFO] [stdout] | [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: 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 757 - if(self.return_scheduler().return_code() == true){ [INFO] [stdout] 757 + if self.return_scheduler().return_code() == true { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 758 - if(*self.return_scheduler().NB_wait.lock().unwrap() == 0){ [INFO] [stdout] 758 + if *self.return_scheduler().NB_wait.lock().unwrap() == 0 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 759 - if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] 759 + if self.return_scheduler().get_condvar_wake_up() { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 767 - if(get_condvar_bool(Arc::clone(&signal)) == false){ [INFO] [stdout] 767 + if get_condvar_bool(Arc::clone(&signal)) == false { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 769 - if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] 769 + if self.return_scheduler().get_condvar_wake_up() { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 782 - if(self.return_scheduler().return_code() == true){ [INFO] [stdout] 782 + if self.return_scheduler().return_code() == true { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 783 - if(*self.return_scheduler().NB_wait.lock().unwrap() == 0){ [INFO] [stdout] 783 + if *self.return_scheduler().NB_wait.lock().unwrap() == 0 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 784 - if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] 784 + if self.return_scheduler().get_condvar_wake_up() { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 797 - if(*num.lock().unwrap() == false){ [INFO] [stdout] 797 + if *num.lock().unwrap() == false { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [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 isize){ [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 isize { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 805 - if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] 805 + if self.return_scheduler().get_condvar_wake_up() { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 821 - if(check){ [INFO] [stdout] 821 + if check { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 840 - if(*self.return_scheduler().NB_instant.lock().unwrap() == *self.return_scheduler().next_instant.lock().unwrap()){ [INFO] [stdout] 840 + if *self.return_scheduler().NB_instant.lock().unwrap() == *self.return_scheduler().next_instant.lock().unwrap() { [INFO] [stdout] | [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] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 844 - if(self.return_scheduler().return_code() == true ){ [INFO] [stdout] 844 + if self.return_scheduler().return_code() == true { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 845 - if(*self.return_scheduler().NB_wait.lock().unwrap() == 0){ [INFO] [stdout] 845 + if *self.return_scheduler().NB_wait.lock().unwrap() == 0 { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 846 - if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] 846 + if self.return_scheduler().get_condvar_wake_up() { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 855 - if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] 855 + if self.return_scheduler().get_condvar_wake_up() { [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 884 - if(self.return_scheduler().get_condvar_wake_up()){ [INFO] [stdout] 884 + if self.return_scheduler().get_condvar_wake_up() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.40s [INFO] running `Command { std: "docker" "inspect" "8d203e84960a7f4012c17cc981f7b91b32bfdfac99d255aa7bc7ba58b3957ced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d203e84960a7f4012c17cc981f7b91b32bfdfac99d255aa7bc7ba58b3957ced", kill_on_drop: false }` [INFO] [stdout] 8d203e84960a7f4012c17cc981f7b91b32bfdfac99d255aa7bc7ba58b3957ced