[INFO] fetching crate threadReactive 0.1.0... [INFO] checking threadReactive-0.1.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate threadReactive 0.1.0 into /workspace/builds/worker-84/source [INFO] validating manifest of crates.io crate threadReactive 0.1.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking 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-84/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a6e1aa891c0afa94566d5b7c031baa64b0db265e68a240dd9e0bc2d68b4ee33 [INFO] running `Command { std: "docker" "start" "-a" "3a6e1aa891c0afa94566d5b7c031baa64b0db265e68a240dd9e0bc2d68b4ee33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a6e1aa891c0afa94566d5b7c031baa64b0db265e68a240dd9e0bc2d68b4ee33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6e1aa891c0afa94566d5b7c031baa64b0db265e68a240dd9e0bc2d68b4ee33", kill_on_drop: false }` [INFO] [stdout] 3a6e1aa891c0afa94566d5b7c031baa64b0db265e68a240dd9e0bc2d68b4ee33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06946386733beaf5f24dea254552243102a412e5da084a1958c4054ca737075b [INFO] running `Command { std: "docker" "start" "-a" "06946386733beaf5f24dea254552243102a412e5da084a1958c4054ca737075b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking threadReactive v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (88 fixes) [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: 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: 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: 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] [stderr] Fixed src/lib.rs (3 fixes) [INFO] [stdout] warning: 18 warnings emitted [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: 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: 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: 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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.08s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking threadReactive v0.1.0 (/tmp/fixit) [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: 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: 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: 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: 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: 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: 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: 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: 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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "06946386733beaf5f24dea254552243102a412e5da084a1958c4054ca737075b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06946386733beaf5f24dea254552243102a412e5da084a1958c4054ca737075b", kill_on_drop: false }` [INFO] [stdout] 06946386733beaf5f24dea254552243102a412e5da084a1958c4054ca737075b