[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] testing CSDotNET0211/TetrisAIrs against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCSDotNET0211%2FTetrisAIrs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CSDotNET0211/TetrisAIrs on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14bdc16ed98bf608ecd489d0d185d4b6cd382013fdeed41ced6a9aa95d10fa22 [INFO] running `Command { std: "docker" "start" "-a" "14bdc16ed98bf608ecd489d0d185d4b6cd382013fdeed41ced6a9aa95d10fa22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14bdc16ed98bf608ecd489d0d185d4b6cd382013fdeed41ced6a9aa95d10fa22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14bdc16ed98bf608ecd489d0d185d4b6cd382013fdeed41ced6a9aa95d10fa22", kill_on_drop: false }` [INFO] [stdout] 14bdc16ed98bf608ecd489d0d185d4b6cd382013fdeed41ced6a9aa95d10fa22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 37a15ec3f37535be19db292b7ce991903e32dd2fc400a1f1f114a1b2b510efd2 [INFO] running `Command { std: "docker" "start" "-a" "37a15ec3f37535be19db292b7ce991903e32dd2fc400a1f1f114a1b2b510efd2", kill_on_drop: false }` [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 signal-hook v0.3.14 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling smallvec v1.8.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling thread-id v4.0.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossterm v0.23.2 [INFO] [stderr] Compiling num-complex v0.4.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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcd08ZK8/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibm-c49d16c366756432.rlib,libnum_cpus-9d308afd159ac3a9.rlib,librand-2a861c800ee5cf5b.rlib,librand_chacha-943da4419f173414.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-8cc0d8bdae1ba156.rlib,libgetrandom-aa730e50b98218fd.rlib,libcrossterm-6386395acf3a6d93.rlib,libsignal_hook_mio-de7006638dd13fee.rlib,libsignal_hook-65cbdde29f09be23.rlib,libsignal_hook_registry-8993cb9c6a008dda.rlib,libmio-3b406743781d9af8.rlib,liblog-fc4b0167ad2190de.rlib,libparking_lot-d99348912a9cfd89.rlib,libparking_lot_core-ecc73d0ce1a08e44.rlib,liblibc-46cbd4892249b89e.rlib,libcfg_if-66d55f6b302e88c8.rlib,libsmallvec-c754e1de7c740ede.rlib,liblock_api-05ccfdad17814006.rlib,libscopeguard-73056285f12cb829.rlib,libbitflags-e274cd04b58a060d.rlib,libonce_cell-5fb422ec4b835c16.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcd08ZK8/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/TetrisAIrs-ddfdbaa7bd89db39" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-aa730e50b98218fd.rlib(getrandom-aa730e50b98218fd.getrandom.fee3cd4793159606-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.7/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17hc88e109cb50baf96E+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `TetrisAIrs` (bin "TetrisAIrs") due to 1 previous error; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "37a15ec3f37535be19db292b7ce991903e32dd2fc400a1f1f114a1b2b510efd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37a15ec3f37535be19db292b7ce991903e32dd2fc400a1f1f114a1b2b510efd2", kill_on_drop: false }` [INFO] [stdout] 37a15ec3f37535be19db292b7ce991903e32dd2fc400a1f1f114a1b2b510efd2