[INFO] cloning repository https://github.com/CodingMentalModels/knucklebones-solver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CodingMentalModels/knucklebones-solver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodingMentalModels%2Fknucklebones-solver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodingMentalModels%2Fknucklebones-solver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 847f2eec5c31346d345220dbc09309732a599482 [INFO] testing CodingMentalModels/knucklebones-solver 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%2FCodingMentalModels%2Fknucklebones-solver" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CodingMentalModels/knucklebones-solver [INFO] finished tweaking git repo https://github.com/CodingMentalModels/knucklebones-solver [INFO] tweaked toml for git repo https://github.com/CodingMentalModels/knucklebones-solver written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CodingMentalModels/knucklebones-solver 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/CodingMentalModels/knucklebones-solver 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 73d3ec2046f6586e4e1fbb435a1c5d08ce134465c610ebf6ec0a009f88033983 [INFO] running `Command { std: "docker" "start" "-a" "73d3ec2046f6586e4e1fbb435a1c5d08ce134465c610ebf6ec0a009f88033983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73d3ec2046f6586e4e1fbb435a1c5d08ce134465c610ebf6ec0a009f88033983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73d3ec2046f6586e4e1fbb435a1c5d08ce134465c610ebf6ec0a009f88033983", kill_on_drop: false }` [INFO] [stdout] 73d3ec2046f6586e4e1fbb435a1c5d08ce134465c610ebf6ec0a009f88033983 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0cd24ee6baf962b88dac379da3373a2fc1fa63c7dbdc53dabb632501394d5975 [INFO] running `Command { std: "docker" "start" "-a" "0cd24ee6baf962b88dac379da3373a2fc1fa63c7dbdc53dabb632501394d5975", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling textwrap v0.15.1 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling clap v3.2.22 [INFO] [stderr] Compiling knucklebones-solver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ansi_term::Colour` [INFO] [stdout] --> src/board/board.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ansi_term::Colour; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Board` [INFO] [stdout] --> src/solver/solver.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::board::{Board, Move, Outcome, Player}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/solver/solver.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | Player::Player1 => (player_2_empty_squares - player_1_empty_squares + finishing_first_bonus), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - Player::Player1 => (player_2_empty_squares - player_1_empty_squares + finishing_first_bonus), [INFO] [stdout] 103 + Player::Player1 => player_2_empty_squares - player_1_empty_squares + finishing_first_bonus, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Evaluation` and `HeuristicDepthAndObjective` [INFO] [stdout] --> src/main.rs:11:49 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::solver::solver::{Solver, SolverMode, Evaluation, HeuristicDepthAndObjective}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `column_index` is assigned to, but never used [INFO] [stdout] --> src/board/board.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let mut column_index = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_column_index` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/board/board.rs:171:53 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn to_string_with_square_highlighted(&self, row: usize, col: usize) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/board/board.rs:171:65 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn to_string_with_square_highlighted(&self, row: usize, col: usize) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_bitboard` [INFO] [stdout] --> src/board/board.rs:175:16 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(x_bitboard: Bitboard, o_bitboard: Bitboard) -> Board { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_bitboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o_bitboard` [INFO] [stdout] --> src/board/board.rs:175:38 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn new(x_bitboard: Bitboard, o_bitboard: Bitboard) -> Board { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_bitboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/board/board.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | let mut index = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/board/board.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let mut index = 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: `player` [INFO] [stdout] --> src/tree/tree.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | NodeType::Roll(player) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/tree/tree.rs:132:28 [INFO] [stdout] | [INFO] [stdout] 132 | NodeType::Move(player, die) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/tree/tree.rs:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | NodeType::Move(player, _) => self.get_legal_moves().map_or(false, |moves| moves.contains(&m)), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/tree/tree.rs:158:28 [INFO] [stdout] | [INFO] [stdout] 158 | NodeType::Roll(player) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `die` [INFO] [stdout] --> src/tree/tree.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | NodeType::Move(player, die) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_die` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/tree/tree.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | NodeType::Roll(player) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `die` [INFO] [stdout] --> src/tree/tree.rs:184:36 [INFO] [stdout] | [INFO] [stdout] 184 | NodeType::Move(player, die) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_die` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/tree/tree.rs:349:28 [INFO] [stdout] | [INFO] [stdout] 349 | NodeType::Roll(player) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/tree/tree.rs:354:28 [INFO] [stdout] | [INFO] [stdout] 354 | NodeType::Move(player, _) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `die` [INFO] [stdout] --> src/tree/tree.rs:347:30 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn with_rolls(&self, die: Die) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_die` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solver/solver.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut player_1_empty_squares = node.get_player_1_board().get_n_empty_squares() as f32; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solver/solver.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut player_2_empty_squares = node.get_player_2_board().get_n_empty_squares() as f32; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut game = Node::new(player_board, opponent_board, NodeType::Move(Player::Player1, die)); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `all` is never used [INFO] [stdout] --> src/board/board.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Move { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn all() -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_string_with_square_highlighted` and `new` are never used [INFO] [stdout] --> src/board/board.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn to_string_with_square_highlighted(&self, row: usize, col: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn new(x_bitboard: Bitboard, o_bitboard: Bitboard) -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/board/board.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 377 | impl Bitboard { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 378 | [INFO] [stdout] 379 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn full() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub fn is_victory(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn from_binary(binary: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn union(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | pub fn intersection(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn difference(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | pub fn contains(&self, other: Self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | pub fn set(&mut self, row: usize, col: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub fn n_set(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | pub fn is_set(&self, row: usize, col: usize) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/board/board.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 465 | impl Outcome { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 466 | [INFO] [stdout] 467 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/board/board.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 482 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 483 | [INFO] [stdout] 484 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_boards`, `get_die`, `get_n_empty_squares`, `get_scores`, `get_max_depth`, and `get_children` are never used [INFO] [stdout] --> src/tree/tree.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn get_boards(&self) -> (Board, Board) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_die(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_n_empty_squares(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn get_scores(&self) -> (u16, u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | pub fn get_max_depth(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn get_children(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_root` and `get_evaluation` are never used [INFO] [stdout] --> src/solver/solver.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Solver { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn get_root(&self) -> &Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_evaluation(&mut self, solver_mode: SolverMode) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BruteForce` and `Heuristic` are never constructed [INFO] [stdout] --> src/solver/solver.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub enum SolverMode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 148 | BruteForce, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 149 | Heuristic(HeuristicDepthAndObjective), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SolverMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tree/tree.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | to_return.add_rolls(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 351 | let _ = to_return.add_rolls(); [INFO] [stdout] | +++++++ [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/rustcd39UXs/symbols.o" "<7 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libclap-4c22c9af132c31b6.rlib,libatty-01d5c33846c10384.rlib,libstrsim-7a71560e0c2955e4.rlib,libtermcolor-a537f8c45744a682.rlib,libtextwrap-0708e100dd4a96df.rlib,libindexmap-7e0f1b036029beb7.rlib,libhashbrown-94464ed281767ecc.rlib,libclap_lex-37af8149275d662f.rlib,libos_str_bytes-ec5a14c90b8453eb.rlib,libbitflags-e274cd04b58a060d.rlib,libonce_cell-8a5c5f1c32966472.rlib,librand-c2fcb1b39a65a6fe.rlib,librand_chacha-cf23083bef7a8824.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-df0eccb83679aeb0.rlib,libgetrandom-fe140328e4dd05be.rlib,liblibc-76e0455a9d5c9efa.rlib,libcfg_if-66d55f6b302e88c8.rlib,libansi_term-bdfff57b5fb49171.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/rustcd39UXs/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/knucklebones_solver-9418b53adcdddcbe" "-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-fe140328e4dd05be.rlib(getrandom-fe140328e4dd05be.getrandom.fb685f2033961a2b-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_readonly17hf4f61f036ead849eE+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 `knucklebones-solver` (bin "knucklebones-solver") due to 1 previous error; 33 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0cd24ee6baf962b88dac379da3373a2fc1fa63c7dbdc53dabb632501394d5975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd24ee6baf962b88dac379da3373a2fc1fa63c7dbdc53dabb632501394d5975", kill_on_drop: false }` [INFO] [stdout] 0cd24ee6baf962b88dac379da3373a2fc1fa63c7dbdc53dabb632501394d5975