[INFO] cloning repository https://github.com/chrismajor2124/EELE565_Dining_Philosophers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrismajor2124/EELE565_Dining_Philosophers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrismajor2124%2FEELE565_Dining_Philosophers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrismajor2124%2FEELE565_Dining_Philosophers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea059f19b23172e165ec0cf39a79b39edc105ab6 [INFO] checking chrismajor2124/EELE565_Dining_Philosophers against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrismajor2124%2FEELE565_Dining_Philosophers" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrismajor2124/EELE565_Dining_Philosophers on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chrismajor2124/EELE565_Dining_Philosophers [INFO] finished tweaking git repo https://github.com/chrismajor2124/EELE565_Dining_Philosophers [INFO] tweaked toml for git repo https://github.com/chrismajor2124/EELE565_Dining_Philosophers written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/chrismajor2124/EELE565_Dining_Philosophers already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 99256d2242d22181eb917c789d2c2532c803ca8ecc845000d9ee3235ffcac6c5 [INFO] running `Command { std: "docker" "start" "-a" "99256d2242d22181eb917c789d2c2532c803ca8ecc845000d9ee3235ffcac6c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99256d2242d22181eb917c789d2c2532c803ca8ecc845000d9ee3235ffcac6c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99256d2242d22181eb917c789d2c2532c803ca8ecc845000d9ee3235ffcac6c5", kill_on_drop: false }` [INFO] [stdout] 99256d2242d22181eb917c789d2c2532c803ca8ecc845000d9ee3235ffcac6c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 93df52966ae9abea5bc463357ebb043c76e108f1cfd4319097010b26a8ced496 [INFO] running `Command { std: "docker" "start" "-a" "93df52966ae9abea5bc463357ebb043c76e108f1cfd4319097010b26a8ced496", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking colored v1.9.0 [INFO] [stderr] Checking EELE565_Dining_Philosophers v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (13 fixes) [INFO] [stdout] warning: field is never read: `used_count` [INFO] [stdout] --> src/main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | used_count: usize, // Counting semaphore for individual chopstick [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn read(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inc` [INFO] [stdout] --> src/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn inc(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `EELE565_Dining_Philosophers` 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: `eele565_dining_philosophers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sleep_time` should have an upper case name [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | static sleep_time : Duration = time::Duration::from_millis(500); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `SLEEP_TIME` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS` should have a snake case name [INFO] [stdout] --> src/main.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | fn is_eating(&self, CS: &CSarray) { [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_eatC` should have a snake case name [INFO] [stdout] --> src/main.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn update_eatC(counts_lk: &Arc>>, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `update_eat_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS` should have a snake case name [INFO] [stdout] --> src/main.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let CS = Arc::new(CSarray::init(5)); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS1` should have a snake case name [INFO] [stdout] --> src/main.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | let CS1 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS2` should have a snake case name [INFO] [stdout] --> src/main.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let CS2 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS3` should have a snake case name [INFO] [stdout] --> src/main.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | let CS3 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS4` should have a snake case name [INFO] [stdout] --> src/main.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let CS4 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS5` should have a snake case name [INFO] [stdout] --> src/main.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let CS5 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C1` should have a snake case name [INFO] [stdout] --> src/main.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | let C1 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C2` should have a snake case name [INFO] [stdout] --> src/main.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | let C2 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C3` should have a snake case name [INFO] [stdout] --> src/main.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | let C3 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C4` should have a snake case name [INFO] [stdout] --> src/main.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | let C4 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C5` should have a snake case name [INFO] [stdout] --> src/main.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let C5 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `used_count` [INFO] [stdout] --> src/main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | used_count: usize, // Counting semaphore for individual chopstick [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn read(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inc` [INFO] [stdout] --> src/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn inc(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `EELE565_Dining_Philosophers` 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: `eele565_dining_philosophers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sleep_time` should have an upper case name [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | static sleep_time : Duration = time::Duration::from_millis(500); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `SLEEP_TIME` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS` should have a snake case name [INFO] [stdout] --> src/main.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | fn is_eating(&self, CS: &CSarray) { [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_eatC` should have a snake case name [INFO] [stdout] --> src/main.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn update_eatC(counts_lk: &Arc>>, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `update_eat_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS` should have a snake case name [INFO] [stdout] --> src/main.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let CS = Arc::new(CSarray::init(5)); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS1` should have a snake case name [INFO] [stdout] --> src/main.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | let CS1 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS2` should have a snake case name [INFO] [stdout] --> src/main.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let CS2 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS3` should have a snake case name [INFO] [stdout] --> src/main.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | let CS3 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS4` should have a snake case name [INFO] [stdout] --> src/main.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let CS4 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS5` should have a snake case name [INFO] [stdout] --> src/main.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let CS5 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C1` should have a snake case name [INFO] [stdout] --> src/main.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | let C1 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C2` should have a snake case name [INFO] [stdout] --> src/main.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | let C2 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C3` should have a snake case name [INFO] [stdout] --> src/main.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | let C3 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C4` should have a snake case name [INFO] [stdout] --> src/main.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | let C4 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C5` should have a snake case name [INFO] [stdout] --> src/main.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let C5 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.26s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking EELE565_Dining_Philosophers v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: field is never read: `used_count` [INFO] [stdout] --> src/main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | used_count: usize, // Counting semaphore for individual chopstick [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn read(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inc` [INFO] [stdout] --> src/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn inc(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `EELE565_Dining_Philosophers` 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: `eele565_dining_philosophers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sleep_time` should have an upper case name [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | static sleep_time : Duration = time::Duration::from_millis(500); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `SLEEP_TIME` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS` should have a snake case name [INFO] [stdout] --> src/main.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | fn is_eating(&self, CS: &CSarray) { [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_eatC` should have a snake case name [INFO] [stdout] --> src/main.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn update_eatC(counts_lk: &Arc>>, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `update_eat_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS` should have a snake case name [INFO] [stdout] --> src/main.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let CS = Arc::new(CSarray::init(5)); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS1` should have a snake case name [INFO] [stdout] --> src/main.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | let CS1 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS2` should have a snake case name [INFO] [stdout] --> src/main.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let CS2 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS3` should have a snake case name [INFO] [stdout] --> src/main.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | let CS3 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS4` should have a snake case name [INFO] [stdout] --> src/main.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let CS4 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS5` should have a snake case name [INFO] [stdout] --> src/main.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let CS5 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C1` should have a snake case name [INFO] [stdout] --> src/main.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | let C1 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C2` should have a snake case name [INFO] [stdout] --> src/main.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | let C2 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C3` should have a snake case name [INFO] [stdout] --> src/main.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | let C3 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C4` should have a snake case name [INFO] [stdout] --> src/main.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | let C4 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C5` should have a snake case name [INFO] [stdout] --> src/main.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let C5 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `used_count` [INFO] [stdout] --> src/main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | used_count: usize, // Counting semaphore for individual chopstick [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn read(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inc` [INFO] [stdout] --> src/main.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn inc(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `EELE565_Dining_Philosophers` 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: `eele565_dining_philosophers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sleep_time` should have an upper case name [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | static sleep_time : Duration = time::Duration::from_millis(500); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `SLEEP_TIME` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS` should have a snake case name [INFO] [stdout] --> src/main.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | fn is_eating(&self, CS: &CSarray) { [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_eatC` should have a snake case name [INFO] [stdout] --> src/main.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn update_eatC(counts_lk: &Arc>>, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `update_eat_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS` should have a snake case name [INFO] [stdout] --> src/main.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let CS = Arc::new(CSarray::init(5)); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS1` should have a snake case name [INFO] [stdout] --> src/main.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | let CS1 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS2` should have a snake case name [INFO] [stdout] --> src/main.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let CS2 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS3` should have a snake case name [INFO] [stdout] --> src/main.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | let CS3 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS4` should have a snake case name [INFO] [stdout] --> src/main.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let CS4 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CS5` should have a snake case name [INFO] [stdout] --> src/main.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let CS5 =Arc::clone(&CS); [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cs5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C1` should have a snake case name [INFO] [stdout] --> src/main.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | let C1 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C2` should have a snake case name [INFO] [stdout] --> src/main.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | let C2 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C3` should have a snake case name [INFO] [stdout] --> src/main.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | let C3 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C4` should have a snake case name [INFO] [stdout] --> src/main.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | let C4 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C5` should have a snake case name [INFO] [stdout] --> src/main.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let C5 =Arc::clone(&counts); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "93df52966ae9abea5bc463357ebb043c76e108f1cfd4319097010b26a8ced496", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93df52966ae9abea5bc463357ebb043c76e108f1cfd4319097010b26a8ced496", kill_on_drop: false }` [INFO] [stdout] 93df52966ae9abea5bc463357ebb043c76e108f1cfd4319097010b26a8ced496