[INFO] cloning repository https://github.com/EdenOttleyHodgson/EdenChess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EdenOttleyHodgson/EdenChess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdenOttleyHodgson%2FEdenChess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdenOttleyHodgson%2FEdenChess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52ad5150b8404cd8c591795cd69c585742ba0dee [INFO] checking EdenOttleyHodgson/EdenChess/52ad5150b8404cd8c591795cd69c585742ba0dee against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdenOttleyHodgson%2FEdenChess" "/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/EdenOttleyHodgson/EdenChess on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EdenOttleyHodgson/EdenChess [INFO] finished tweaking git repo https://github.com/EdenOttleyHodgson/EdenChess [INFO] tweaked toml for git repo https://github.com/EdenOttleyHodgson/EdenChess written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/EdenOttleyHodgson/EdenChess 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3404076ddd7d2654196c9f7c7176238102170e77fce886d2299500ce624adf18 [INFO] running `Command { std: "docker" "start" "-a" "3404076ddd7d2654196c9f7c7176238102170e77fce886d2299500ce624adf18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3404076ddd7d2654196c9f7c7176238102170e77fce886d2299500ce624adf18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3404076ddd7d2654196c9f7c7176238102170e77fce886d2299500ce624adf18", kill_on_drop: false }` [INFO] [stdout] 3404076ddd7d2654196c9f7c7176238102170e77fce886d2299500ce624adf18 [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" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b42735538903eed34536b0826300c4ac9585ede15c6f767a17508775c4f65fe8 [INFO] running `Command { std: "docker" "start" "-a" "b42735538903eed34536b0826300c4ac9585ede15c6f767a17508775c4f65fe8", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking castaway v0.2.2 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling stability v0.2.0 [INFO] [stderr] Checking flexi_logger v0.28.0 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking ratatui v0.26.2 [INFO] [stderr] Checking eden_chess v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/ui/chessboard.rs (9 fixes) [INFO] [stderr] Fixed src/model/mod.rs (5 fixes) [INFO] [stderr] Fixed src/ui/mod.rs (4 fixes) [INFO] [stderr] Fixed src/control.rs (3 fixes) [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/control.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | fmt::{Debug, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::owo_colors::OwoColorize` [INFO] [stdout] --> src/ui/chessboard.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use color_eyre::owo_colors::OwoColorize as BadColor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/model/mod.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | UiMsg::CheckValidMove((from, to)) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/model/mod.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 68 | UiMsg::CheckValidMove((from, to)) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/model/mod.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | let board = &self.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/model/mod.rs:719:42 [INFO] [stdout] | [INFO] [stdout] 719 | fn get_available_castle_moves(&self, board: &Board) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/ui/mod.rs:99:43 [INFO] [stdout] | [INFO] [stdout] 99 | let valid_moves = if let Some(p) = self.square_selected { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/ui/mod.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | if let Some(piece) = board.get(&selected).expect("Selected should be in board") { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_str` [INFO] [stdout] --> src/ui/mod.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | let move_str = String::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_init` is never used [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_init() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UpDown` is never used [INFO] [stdout] --> src/control.rs:338:6 [INFO] [stdout] | [INFO] [stdout] 338 | enum UpDown { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LeftRight` is never used [INFO] [stdout] --> src/control.rs:343:6 [INFO] [stdout] | [INFO] [stdout] 343 | enum LeftRight { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `relative_direction` is never used [INFO] [stdout] --> src/control.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 349 | impl Direction { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 350 | pub fn relative_direction(anchor: CBPosition, relative: CBPosition) -> Direction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_if_exists` is never used [INFO] [stdout] --> src/control.rs:385:8 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn push_if_exists(vec: &mut Vec, new_obj: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Debug`, `CheckValidMove`, and `Quit` are never constructed [INFO] [stdout] --> src/control.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 393 | pub enum UiMsg { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 394 | Debug(&'static str), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 395 | CheckValidMove((CBPosition, CBPosition)), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UiMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_println` is never used [INFO] [stdout] --> src/control.rs:454:8 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn test_println(s: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_dbg` is never used [INFO] [stdout] --> src/control.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn test_dbg(s: &impl Debug) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoveRecord` is never constructed [INFO] [stdout] --> src/ui/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct MoveRecord<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_move_to_move_history` is never used [INFO] [stdout] --> src/ui/mod.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl EdenChessUi { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | fn add_move_to_move_history(&mut self, selected: CBPosition) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/model/mod.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | / self.ui_sender [INFO] [stdout] 81 | | .send(ModelMsg::BoardState(self.game.board.clone())); [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] 80 | let _ = self.ui_sender [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/model/mod.rs:857:26 [INFO] [stdout] | [INFO] [stdout] 857 | threads.push(thread::spawn(|| test_individual_checkmate(mate))); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 802 + use crate::thread; [INFO] [stdout] | [INFO] [stdout] 802 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/model/mod.rs:878:40 [INFO] [stdout] | [INFO] [stdout] 878 | let (model_send, model_recv) = channel(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 802 + use crate::channel; [INFO] [stdout] | [INFO] [stdout] 802 + use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/model/mod.rs:879:34 [INFO] [stdout] | [INFO] [stdout] 879 | let (ui_send, ui_recv) = channel(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 802 + use crate::channel; [INFO] [stdout] | [INFO] [stdout] 802 + use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/model/mod.rs:882:9 [INFO] [stdout] | [INFO] [stdout] 882 | thread::spawn(move || model.model_loop()); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 802 + use crate::thread; [INFO] [stdout] | [INFO] [stdout] 802 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/model/mod.rs:884:9 [INFO] [stdout] | [INFO] [stdout] 884 | thread::sleep(Duration::from_secs(3)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 802 + use crate::thread; [INFO] [stdout] | [INFO] [stdout] 802 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/model/mod.rs:884:23 [INFO] [stdout] | [INFO] [stdout] 884 | thread::sleep(Duration::from_secs(3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 802 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future` [INFO] [stdout] --> src/model/mod.rs:803:15 [INFO] [stdout] | [INFO] [stdout] 803 | use std::{future, thread::JoinHandle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/control.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | fmt::{Debug, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::owo_colors::OwoColorize` [INFO] [stdout] --> src/ui/chessboard.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use color_eyre::owo_colors::OwoColorize as BadColor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/model/mod.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | UiMsg::CheckValidMove((from, to)) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/model/mod.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 68 | UiMsg::CheckValidMove((from, to)) => todo!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/model/mod.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | let board = &self.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/model/mod.rs:719:42 [INFO] [stdout] | [INFO] [stdout] 719 | fn get_available_castle_moves(&self, board: &Board) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/ui/mod.rs:99:43 [INFO] [stdout] | [INFO] [stdout] 99 | let valid_moves = if let Some(p) = self.square_selected { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/ui/mod.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | if let Some(piece) = board.get(&selected).expect("Selected should be in board") { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_str` [INFO] [stdout] --> src/ui/mod.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | let move_str = String::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eden_chess` (bin "eden_chess" test) due to 7 previous errors; 10 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b42735538903eed34536b0826300c4ac9585ede15c6f767a17508775c4f65fe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b42735538903eed34536b0826300c4ac9585ede15c6f767a17508775c4f65fe8", kill_on_drop: false }` [INFO] [stdout] b42735538903eed34536b0826300c4ac9585ede15c6f767a17508775c4f65fe8