[INFO] cloning repository https://github.com/solaris5000/the_prime_idle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/solaris5000/the_prime_idle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolaris5000%2Fthe_prime_idle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolaris5000%2Fthe_prime_idle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6508e3c711a46713b22d31cfa953bb855f171e72 [INFO] checking solaris5000/the_prime_idle against master#5257aee7dd163d21d32fa904578d4fb0f4c91b79 for pr-116494-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolaris5000%2Fthe_prime_idle" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/solaris5000/the_prime_idle on toolchain 5257aee7dd163d21d32fa904578d4fb0f4c91b79 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5257aee7dd163d21d32fa904578d4fb0f4c91b79" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/solaris5000/the_prime_idle [INFO] finished tweaking git repo https://github.com/solaris5000/the_prime_idle [INFO] tweaked toml for git repo https://github.com/solaris5000/the_prime_idle written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/solaris5000/the_prime_idle already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5257aee7dd163d21d32fa904578d4fb0f4c91b79" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded primes v0.3.0 [INFO] [stderr] Downloaded catch-input v1.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5257aee7dd163d21d32fa904578d4fb0f4c91b79" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20fc8c5a70283fa4980d66aa06f45d0e054ab793b5596f2d7e699f237d634ae7 [INFO] running `Command { std: "docker" "start" "-a" "20fc8c5a70283fa4980d66aa06f45d0e054ab793b5596f2d7e699f237d634ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20fc8c5a70283fa4980d66aa06f45d0e054ab793b5596f2d7e699f237d634ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20fc8c5a70283fa4980d66aa06f45d0e054ab793b5596f2d7e699f237d634ae7", kill_on_drop: false }` [INFO] [stdout] 20fc8c5a70283fa4980d66aa06f45d0e054ab793b5596f2d7e699f237d634ae7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5257aee7dd163d21d32fa904578d4fb0f4c91b79" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25da9dad594c5683f9c68fb5ec775d7e39a85312c19644e5a1a3cce6e8a9394a [INFO] running `Command { std: "docker" "start" "-a" "25da9dad594c5683f9c68fb5ec775d7e39a85312c19644e5a1a3cce6e8a9394a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking catch-input v1.1.2 [INFO] [stderr] Checking primes v0.3.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking the_prime_idle v0.8.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:324:32 [INFO] [stdout] | [INFO] [stdout] 324 | ... if (primes::is_prime(kinda_new_prime) && (f_top || f_lef || f_rig || f_bot)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 324 - if (primes::is_prime(kinda_new_prime) && (f_top || f_lef || f_rig || f_bot)) { [INFO] [stdout] 324 + if primes::is_prime(kinda_new_prime) && (f_top || f_lef || f_rig || f_bot) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:324:32 [INFO] [stdout] | [INFO] [stdout] 324 | ... if (primes::is_prime(kinda_new_prime) && (f_top || f_lef || f_rig || f_bot)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 324 - if (primes::is_prime(kinda_new_prime) && (f_top || f_lef || f_rig || f_bot)) { [INFO] [stdout] 324 + if primes::is_prime(kinda_new_prime) && (f_top || f_lef || f_rig || f_bot) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | let (x, y) = GameMatrix::get_random_node_coords(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let (x, y) = GameMatrix::get_random_node_coords(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | let (x, y) = GameMatrix::get_random_node_coords(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut initializator = GameMatrix { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let (x, y) = GameMatrix::get_random_node_coords(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut initializator = GameMatrix { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_top` is never read [INFO] [stdout] --> src/main.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let mut f_top = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_bot` is never read [INFO] [stdout] --> src/main.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let mut f_bot = 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 `f_lef` is never read [INFO] [stdout] --> src/main.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let mut f_lef = 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 `f_rig` is never read [INFO] [stdout] --> src/main.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let mut f_rig = 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 `f_top` is never read [INFO] [stdout] --> src/main.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let mut f_top = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_bot` is never read [INFO] [stdout] --> src/main.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let mut f_bot = 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 `f_lef` is never read [INFO] [stdout] --> src/main.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let mut f_lef = 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 `f_rig` is never read [INFO] [stdout] --> src/main.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let mut f_rig = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moving` [INFO] [stdout] --> src/main.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | let mut moving = false; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moving` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxy_from` [INFO] [stdout] --> src/main.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | let mut boxy_from : (usize, usize) = (0usize, 0usize); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boxy_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moving` [INFO] [stdout] --> src/main.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | let mut moving = false; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moving` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxy_into` [INFO] [stdout] --> src/main.rs:444:17 [INFO] [stdout] | [INFO] [stdout] 444 | let mut boxy_into : (usize, usize) = (0usize, 0usize); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boxy_into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxy_from` [INFO] [stdout] --> src/main.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | let mut boxy_from : (usize, usize) = (0usize, 0usize); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boxy_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/main.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 445 | let mut player = player.write().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxy_into` [INFO] [stdout] --> src/main.rs:444:17 [INFO] [stdout] | [INFO] [stdout] 444 | let mut boxy_into : (usize, usize) = (0usize, 0usize); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boxy_into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/main.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 445 | let mut player = player.write().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a` is assigned to, but never used [INFO] [stdout] --> src/main.rs:534:53 [INFO] [stdout] | [INFO] [stdout] 534 | ... let mut a = ope_nei.as_mut(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_a` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a` is assigned to, but never used [INFO] [stdout] --> src/main.rs:534:53 [INFO] [stdout] | [INFO] [stdout] 534 | ... let mut a = ope_nei.as_mut(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_a` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/main.rs:535:45 [INFO] [stdout] | [INFO] [stdout] 535 | ... a = None; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_inner_boxy` [INFO] [stdout] --> src/main.rs:619:50 [INFO] [stdout] | [INFO] [stdout] 619 | ... Some(on_inner_boxy) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_inner_boxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/main.rs:535:45 [INFO] [stdout] | [INFO] [stdout] 535 | ... a = None; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand_vec` [INFO] [stdout] --> src/main.rs:433:33 [INFO] [stdout] | [INFO] [stdout] 433 | fn check_conjoin(&mut self, rand_vec : bool, player : &std::sync::Arc>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rand_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/main.rs:433:50 [INFO] [stdout] | [INFO] [stdout] 433 | fn check_conjoin(&mut self, rand_vec : bool, player : &std::sync::Arc>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_inner_boxy` [INFO] [stdout] --> src/main.rs:619:50 [INFO] [stdout] | [INFO] [stdout] 619 | ... Some(on_inner_boxy) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_inner_boxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand_vec` [INFO] [stdout] --> src/main.rs:433:33 [INFO] [stdout] | [INFO] [stdout] 433 | fn check_conjoin(&mut self, rand_vec : bool, player : &std::sync::Arc>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rand_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/main.rs:433:50 [INFO] [stdout] | [INFO] [stdout] 433 | fn check_conjoin(&mut self, rand_vec : bool, player : &std::sync::Arc>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upper_limit` [INFO] [stdout] --> src/main.rs:729:25 [INFO] [stdout] | [INFO] [stdout] 729 | fn spawn(&mut self, upper_limit : u64, player : &std::sync::Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_upper_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upper_limit` [INFO] [stdout] --> src/main.rs:729:25 [INFO] [stdout] | [INFO] [stdout] 729 | fn spawn(&mut self, upper_limit : u64, player : &std::sync::Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_upper_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:892:25 [INFO] [stdout] | [INFO] [stdout] 892 | _ => {}, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawner` [INFO] [stdout] --> src/main.rs:856:21 [INFO] [stdout] | [INFO] [stdout] 856 | let spawner = spawner_arc.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/main.rs:858:21 [INFO] [stdout] | [INFO] [stdout] 858 | let settings = settings_arc.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/main.rs:911:21 [INFO] [stdout] | [INFO] [stdout] 911 | let settings = settings_arc.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:892:25 [INFO] [stdout] | [INFO] [stdout] 892 | _ => {}, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spawner` [INFO] [stdout] --> src/main.rs:856:21 [INFO] [stdout] | [INFO] [stdout] 856 | let spawner = spawner_arc.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spawner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/main.rs:858:21 [INFO] [stdout] | [INFO] [stdout] 858 | let settings = settings_arc.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/main.rs:911:21 [INFO] [stdout] | [INFO] [stdout] 911 | let settings = settings_arc.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aviable` is never read [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct MatrixNode { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | aviable: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatrixNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `free` is never used [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl MatrixNode { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | fn free(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `inittest` and `check_conjoin` are never used [INFO] [stdout] --> src/main.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl GameMatrix { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | fn inittest() -> GameMatrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | fn check_conjoin(&mut self, rand_vec : bool, player : &std::sync::Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `wealth` are never read [INFO] [stdout] --> src/main.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 771 | struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 772 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 773 | score: u64, [INFO] [stdout] 774 | wealth: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rand_conjoin_vector` is never read [INFO] [stdout] --> src/main.rs:820:5 [INFO] [stdout] | [INFO] [stdout] 819 | struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 820 | rand_conjoin_vector : bool, // Рандомизация направления слияния. Проверка будет происходить всё так же ЛВ ->... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aviable` is never read [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct MatrixNode { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | aviable: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatrixNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `free` is never used [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl MatrixNode { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | fn free(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `inittest` and `check_conjoin` are never used [INFO] [stdout] --> src/main.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl GameMatrix { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | fn inittest() -> GameMatrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | fn check_conjoin(&mut self, rand_vec : bool, player : &std::sync::Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `wealth` are never read [INFO] [stdout] --> src/main.rs:772:5 [INFO] [stdout] | [INFO] [stdout] 771 | struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 772 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 773 | score: u64, [INFO] [stdout] 774 | wealth: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rand_conjoin_vector` is never read [INFO] [stdout] --> src/main.rs:820:5 [INFO] [stdout] | [INFO] [stdout] 819 | struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 820 | rand_conjoin_vector : bool, // Рандомизация направления слияния. Проверка будет происходить всё так же ЛВ ->... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "25da9dad594c5683f9c68fb5ec775d7e39a85312c19644e5a1a3cce6e8a9394a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25da9dad594c5683f9c68fb5ec775d7e39a85312c19644e5a1a3cce6e8a9394a", kill_on_drop: false }` [INFO] [stdout] 25da9dad594c5683f9c68fb5ec775d7e39a85312c19644e5a1a3cce6e8a9394a