[INFO] cloning repository https://github.com/CSDotNET0211/TetrisAIrs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CSDotNET0211/TetrisAIrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCSDotNET0211%2FTetrisAIrs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCSDotNET0211%2FTetrisAIrs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fdd2a7f5fac35f71a53354c0516af6ce4dfc9638
[INFO] building CSDotNET0211/TetrisAIrs against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCSDotNET0211%2FTetrisAIrs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/CSDotNET0211/TetrisAIrs on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/CSDotNET0211/TetrisAIrs
[INFO] finished tweaking git repo https://github.com/CSDotNET0211/TetrisAIrs
[INFO] tweaked toml for git repo https://github.com/CSDotNET0211/TetrisAIrs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/CSDotNET0211/TetrisAIrs 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a3474a9e567f50e5a8ee04509f75ea84b04406aaa435150c2434ef2bc82dbf2d
[INFO] running `Command { std: "docker" "start" "-a" "a3474a9e567f50e5a8ee04509f75ea84b04406aaa435150c2434ef2bc82dbf2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3474a9e567f50e5a8ee04509f75ea84b04406aaa435150c2434ef2bc82dbf2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3474a9e567f50e5a8ee04509f75ea84b04406aaa435150c2434ef2bc82dbf2d", kill_on_drop: false }`
[INFO] [stdout] a3474a9e567f50e5a8ee04509f75ea84b04406aaa435150c2434ef2bc82dbf2d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aae656a0e4a1a8ad104e795c6b2c75a7683eddbd03f8688c368f5f075f41659b
[INFO] running `Command { std: "docker" "start" "-a" "aae656a0e4a1a8ad104e795c6b2c75a7683eddbd03f8688c368f5f075f41659b", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling smallvec v1.8.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling libm v0.2.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling once_cell v1.12.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling thread-id v4.0.0
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-complex v0.4.2
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling crossterm v0.23.2
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling TetrisAIrs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Vector2`
[INFO] [stdout]  --> src/draw.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 |     environment::{Environment, Vector2},
[INFO] [stdout]   |                                ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufReader`, `Write`, and `fs::File`
[INFO] [stdout]  --> src/geneticalgorithm.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 7 |     io::{self, BufRead, BufReader, Write},
[INFO] [stdout]   |                         ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/geneticalgorithm.rs:109:23
[INFO] [stdout]     |
[INFO] [stdout] 109 |             result += (array[i].powf(2.0) as f64
[INFO] [stdout]     |                       ^
[INFO] [stdout] 110 |                 - 10 as f64 * (2 as f64 * PI * array[i] as f64).cos()
[INFO] [stdout] 111 |                 + 10 as f64)
[INFO] [stdout]     |                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 109 ~             result += array[i].powf(2.0) as f64
[INFO] [stdout] 110 |                 - 10 as f64 * (2 as f64 * PI * array[i] as f64).cos()
[INFO] [stdout] 111 ~                 + 10 as f64
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use core::time;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/main.rs:182:29
[INFO] [stdout]     |
[INFO] [stdout] 182 |                     thread::sleep_ms(100);
[INFO] [stdout]     |                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/geneticalgorithm.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     io::{self, BufRead, BufReader, Write},
[INFO] [stdout]   |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next_count`
[INFO] [stdout]   --> src/beemsearch.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         next_count: i8,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_count`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pc`
[INFO] [stdout]    --> src/environment.rs:585:9
[INFO] [stdout]     |
[INFO] [stdout] 585 |         is_pc: bool,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mino`
[INFO] [stdout]   --> src/evaluation.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         mino: &Mino,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_mino`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gen_count`
[INFO] [stdout]   --> src/geneticalgorithm.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut gen_count = 0;
[INFO] [stdout]    |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/geneticalgorithm.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut gen_count = 0;
[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: `stdout`
[INFO] [stdout]    --> src/main.rs:104:21
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let mut stdout = stdout();
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let mut stdout = stdout();
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `can_hold` is never read
[INFO] [stdout]   --> src/beemsearch.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct SearchedPattern {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub can_hold: bool,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SearchedPattern` has a derived impl for the trait `Clone`, 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: function `main` is never used
[INFO] [stdout]    --> src/draw.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 |     fn main() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `btb_level` is never read
[INFO] [stdout]    --> src/environment.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 96  | pub struct Environment {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 107 |     btb_level: u32,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `get_attack_garbage` and `is_tspin` are never used
[INFO] [stdout]    --> src/environment.rs:579:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl Environment {
[INFO] [stdout]     | ---------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 579 |     pub fn get_attack_garbage(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 682 |     pub fn is_tspin() -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `bench_mark_test`, `Function`, and `tournament_choise` are never used
[INFO] [stdout]    --> src/geneticalgorithm.rs:32:12
[INFO] [stdout]     |
[INFO] [stdout] 31  | impl GeneticAlgorithm {
[INFO] [stdout]     | --------------------- associated functions in this implementation
[INFO] [stdout] 32  |     pub fn bench_mark_test() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn Function(array: &[f64]) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |     fn tournament_choise(indivisuals: &[Indivisual], tournament_count: i32) -> Indivisual {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/threadpool.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct Worker {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 50 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Terminate` is never constructed
[INFO] [stdout]   --> src/threadpool.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 82 | enum Message {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] 83 |     NewJob(Job),
[INFO] [stdout] 84 |     Terminate,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Function` should have a snake case name
[INFO] [stdout]    --> src/geneticalgorithm.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn Function(array: &[f64]) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `function`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.90s
[INFO] running `Command { std: "docker" "inspect" "aae656a0e4a1a8ad104e795c6b2c75a7683eddbd03f8688c368f5f075f41659b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aae656a0e4a1a8ad104e795c6b2c75a7683eddbd03f8688c368f5f075f41659b", kill_on_drop: false }`
[INFO] [stdout] aae656a0e4a1a8ad104e795c6b2c75a7683eddbd03f8688c368f5f075f41659b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2b5b7ec840fd3e162b550c9e9e0e5409b12e582d4893df179ad12f32fa8e5445
[INFO] running `Command { std: "docker" "start" "-a" "2b5b7ec840fd3e162b550c9e9e0e5409b12e582d4893df179ad12f32fa8e5445", kill_on_drop: false }`
[INFO] [stderr]    Compiling TetrisAIrs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Vector2`
[INFO] [stdout]  --> src/draw.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 |     environment::{Environment, Vector2},
[INFO] [stdout]   |                                ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufReader`, `Write`, and `fs::File`
[INFO] [stdout]  --> src/geneticalgorithm.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 7 |     io::{self, BufRead, BufReader, Write},
[INFO] [stdout]   |                         ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/geneticalgorithm.rs:109:23
[INFO] [stdout]     |
[INFO] [stdout] 109 |             result += (array[i].powf(2.0) as f64
[INFO] [stdout]     |                       ^
[INFO] [stdout] 110 |                 - 10 as f64 * (2 as f64 * PI * array[i] as f64).cos()
[INFO] [stdout] 111 |                 + 10 as f64)
[INFO] [stdout]     |                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 109 ~             result += array[i].powf(2.0) as f64
[INFO] [stdout] 110 |                 - 10 as f64 * (2 as f64 * PI * array[i] as f64).cos()
[INFO] [stdout] 111 ~                 + 10 as f64
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use core::time;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/main.rs:182:29
[INFO] [stdout]     |
[INFO] [stdout] 182 |                     thread::sleep_ms(100);
[INFO] [stdout]     |                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/geneticalgorithm.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     io::{self, BufRead, BufReader, Write},
[INFO] [stdout]   |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next_count`
[INFO] [stdout]   --> src/beemsearch.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |         next_count: i8,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_count`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pc`
[INFO] [stdout]    --> src/environment.rs:585:9
[INFO] [stdout]     |
[INFO] [stdout] 585 |         is_pc: bool,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mino`
[INFO] [stdout]   --> src/evaluation.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |         mino: &Mino,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_mino`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gen_count`
[INFO] [stdout]   --> src/geneticalgorithm.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut gen_count = 0;
[INFO] [stdout]    |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/geneticalgorithm.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut gen_count = 0;
[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: `stdout`
[INFO] [stdout]    --> src/main.rs:104:21
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let mut stdout = stdout();
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let mut stdout = stdout();
[INFO] [stdout]     |                 ----^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `can_hold` is never read
[INFO] [stdout]   --> src/beemsearch.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct SearchedPattern {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub can_hold: bool,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SearchedPattern` has a derived impl for the trait `Clone`, 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: function `main` is never used
[INFO] [stdout]    --> src/draw.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 |     fn main() {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `btb_level` is never read
[INFO] [stdout]    --> src/environment.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 96  | pub struct Environment {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 107 |     btb_level: u32,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `get_attack_garbage` and `is_tspin` are never used
[INFO] [stdout]    --> src/environment.rs:579:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl Environment {
[INFO] [stdout]     | ---------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 579 |     pub fn get_attack_garbage(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 682 |     pub fn is_tspin() -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `bench_mark_test`, `Function`, and `tournament_choise` are never used
[INFO] [stdout]    --> src/geneticalgorithm.rs:32:12
[INFO] [stdout]     |
[INFO] [stdout] 31  | impl GeneticAlgorithm {
[INFO] [stdout]     | --------------------- associated functions in this implementation
[INFO] [stdout] 32  |     pub fn bench_mark_test() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn Function(array: &[f64]) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |     fn tournament_choise(indivisuals: &[Indivisual], tournament_count: i32) -> Indivisual {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/threadpool.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct Worker {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 50 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Terminate` is never constructed
[INFO] [stdout]   --> src/threadpool.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 82 | enum Message {
[INFO] [stdout]    |      ------- variant in this enum
[INFO] [stdout] 83 |     NewJob(Job),
[INFO] [stdout] 84 |     Terminate,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Function` should have a snake case name
[INFO] [stdout]    --> src/geneticalgorithm.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn Function(array: &[f64]) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `function`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s
[INFO] running `Command { std: "docker" "inspect" "2b5b7ec840fd3e162b550c9e9e0e5409b12e582d4893df179ad12f32fa8e5445", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b5b7ec840fd3e162b550c9e9e0e5409b12e582d4893df179ad12f32fa8e5445", kill_on_drop: false }`
[INFO] [stdout] 2b5b7ec840fd3e162b550c9e9e0e5409b12e582d4893df179ad12f32fa8e5445
