[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] checking CSDotNET0211/TetrisAIrs/fdd2a7f5fac35f71a53354c0516af6ce4dfc9638 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCSDotNET0211%2FTetrisAIrs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CSDotNET0211/TetrisAIrs on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-5-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 321692b75dcd2e80598ad47ee610fb192bf5a9e378e9157a9caea7179d696b80 [INFO] running `Command { std: "docker" "start" "-a" "321692b75dcd2e80598ad47ee610fb192bf5a9e378e9157a9caea7179d696b80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "321692b75dcd2e80598ad47ee610fb192bf5a9e378e9157a9caea7179d696b80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "321692b75dcd2e80598ad47ee610fb192bf5a9e378e9157a9caea7179d696b80", kill_on_drop: false }` [INFO] [stdout] 321692b75dcd2e80598ad47ee610fb192bf5a9e378e9157a9caea7179d696b80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85ecc6d7c35eab397156b255d3bcbb286433107db2c5d5507abc5557f056108d [INFO] running `Command { std: "docker" "start" "-a" "85ecc6d7c35eab397156b255d3bcbb286433107db2c5d5507abc5557f056108d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking smallvec v1.8.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking thread-id v4.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.23.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking 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: 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: 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 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: `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: `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: 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: 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: `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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/beemsearch.rs:308:48 [INFO] [stdout] | [INFO] [stdout] 308 | PASSED_TREE_ROUTE_SET.with(|value| value.borrow_mut().clear()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/beemsearch.rs:309:36 [INFO] [stdout] | [INFO] [stdout] 309 | VEC_FIELD.with(|value| value.borrow_mut().clear()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/beemsearch.rs:310:40 [INFO] [stdout] | [INFO] [stdout] 310 | SEARCHED_DATA.with(|value| value.borrow_mut().clear()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/beemsearch.rs:311:44 [INFO] [stdout] | [INFO] [stdout] 311 | SEARCHED_DATA_VEC.with(|value| value.borrow_mut().clear()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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: 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] [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/threadpool.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 55 | fn new(id: usize, receiver: Arc>>) -> Worker { [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let thread = thread::spawn(move || loop { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | thread: Some(thread), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/beemsearch.rs:308:48 [INFO] [stdout] | [INFO] [stdout] 308 | PASSED_TREE_ROUTE_SET.with(|value| value.borrow_mut().clear()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/beemsearch.rs:309:36 [INFO] [stdout] | [INFO] [stdout] 309 | VEC_FIELD.with(|value| value.borrow_mut().clear()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/beemsearch.rs:310:40 [INFO] [stdout] | [INFO] [stdout] 310 | SEARCHED_DATA.with(|value| value.borrow_mut().clear()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/beemsearch.rs:311:44 [INFO] [stdout] | [INFO] [stdout] 311 | SEARCHED_DATA_VEC.with(|value| value.borrow_mut().clear()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/threadpool.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 55 | fn new(id: usize, receiver: Arc>>) -> Worker { [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let thread = thread::spawn(move || loop { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | thread: Some(thread), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `TetrisAIrs` (bin "TetrisAIrs") due to 6 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `TetrisAIrs` (bin "TetrisAIrs" test) due to 6 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "85ecc6d7c35eab397156b255d3bcbb286433107db2c5d5507abc5557f056108d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85ecc6d7c35eab397156b255d3bcbb286433107db2c5d5507abc5557f056108d", kill_on_drop: false }` [INFO] [stdout] 85ecc6d7c35eab397156b255d3bcbb286433107db2c5d5507abc5557f056108d