[INFO] fetching crate fenx 0.1.1... [INFO] testing fenx-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate fenx 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate fenx 0.1.1 [INFO] removed 1 missing tests [INFO] finished tweaking crates.io crate fenx 0.1.1 [INFO] tweaked toml for crates.io crate fenx 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fenx 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c496f598e07e3aaa540c97fb564fd494858a713315654e841520c189eeba4d5 [INFO] running `Command { std: "docker" "start" "-a" "9c496f598e07e3aaa540c97fb564fd494858a713315654e841520c189eeba4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c496f598e07e3aaa540c97fb564fd494858a713315654e841520c189eeba4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c496f598e07e3aaa540c97fb564fd494858a713315654e841520c189eeba4d5", kill_on_drop: false }` [INFO] [stdout] 9c496f598e07e3aaa540c97fb564fd494858a713315654e841520c189eeba4d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 96e4561de290518391d9ee3f6e737a94708f3d8e3dc01fd9bce7ff188a8cef24 [INFO] running `Command { std: "docker" "start" "-a" "96e4561de290518391d9ee3f6e737a94708f3d8e3dc01fd9bce7ff188a8cef24", kill_on_drop: false }` [INFO] [stderr] Compiling fenx v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::chess_board::notation::Notation` [INFO] [stdout] --> src/chess_board/notation_parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::chess_board::notation::Notation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChessPiece` [INFO] [stdout] --> src/chess_board/notation_parser.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::chess_piece::chess_piece::{ChessPiece, Color, PieceType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/bishop.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [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/chess_piece/pieces/bishop.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/bishop.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/king.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/king.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/king.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/knight.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/knight.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/knight.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/pawn.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/pawn.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/queen.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/queen.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/queen.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/rook.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/rook.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/rook.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_piece`, `source_location`, `captured_piece`, and `captured_piece_location` are never read [INFO] [stdout] --> src/chess_board/notation_parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ChessMove { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | source_piece: (PieceType, Color), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | source_location: Coordinates, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | captured_piece: Option<(PieceType, Color)>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | captured_piece_location: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChessMove` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "96e4561de290518391d9ee3f6e737a94708f3d8e3dc01fd9bce7ff188a8cef24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96e4561de290518391d9ee3f6e737a94708f3d8e3dc01fd9bce7ff188a8cef24", kill_on_drop: false }` [INFO] [stdout] 96e4561de290518391d9ee3f6e737a94708f3d8e3dc01fd9bce7ff188a8cef24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bbf75b8314433a919ddc7809378ed7024e591834ae09117a961d5565f401d0f8 [INFO] running `Command { std: "docker" "start" "-a" "bbf75b8314433a919ddc7809378ed7024e591834ae09117a961d5565f401d0f8", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::chess_board::notation::Notation` [INFO] [stdout] --> src/chess_board/notation_parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::chess_board::notation::Notation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChessPiece` [INFO] [stdout] --> src/chess_board/notation_parser.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::chess_piece::chess_piece::{ChessPiece, Color, PieceType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/bishop.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [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/chess_piece/pieces/bishop.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/bishop.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fenx v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/king.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/king.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/king.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/knight.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/knight.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/knight.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/pawn.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/pawn.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/queen.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/queen.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/queen.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/rook.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/rook.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/rook.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_piece`, `source_location`, `captured_piece`, and `captured_piece_location` are never read [INFO] [stdout] --> src/chess_board/notation_parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ChessMove { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | source_piece: (PieceType, Color), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | source_location: Coordinates, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | captured_piece: Option<(PieceType, Color)>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | captured_piece_location: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChessMove` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `fenix` [INFO] [stdout] --> tests/fenx_test.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate fenix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fen` [INFO] [stdout] --> tests/fenx_test.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | let fen = Fen::parse_fen("rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1") [INFO] [stdout] | ^^^ use of undeclared type `Fen` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - let fen = Fen::parse_fen("rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1") [INFO] [stdout] 8 + let fen = Fn::parse_fen("rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1") [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use fenx::fen::Fen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fenx` (test "fenx_test") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `crate::chess_board::notation::Notation` [INFO] [stdout] --> src/chess_board/notation_parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::chess_board::notation::Notation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChessPiece` [INFO] [stdout] --> src/chess_board/notation_parser.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::chess_piece::chess_piece::{ChessPiece, Color, PieceType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/bishop.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [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/chess_piece/pieces/bishop.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/bishop.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/king.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/king.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/king.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/knight.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/knight.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/knight.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/pawn.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/pawn.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/queen.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/queen.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/queen.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/chess_piece/pieces/rook.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/chess_piece/pieces/rook.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | fn move_piece(&self, from: Coordinates, to: Coordinates) -> Result<(), &'static str> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/chess_piece/pieces/rook.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn can_move_to(&self, coordinates: Coordinates) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_piece`, `source_location`, `captured_piece`, and `captured_piece_location` are never read [INFO] [stdout] --> src/chess_board/notation_parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ChessMove { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | source_piece: (PieceType, Color), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | source_location: Coordinates, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | captured_piece: Option<(PieceType, Color)>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | captured_piece_location: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChessMove` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bbf75b8314433a919ddc7809378ed7024e591834ae09117a961d5565f401d0f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbf75b8314433a919ddc7809378ed7024e591834ae09117a961d5565f401d0f8", kill_on_drop: false }` [INFO] [stdout] bbf75b8314433a919ddc7809378ed7024e591834ae09117a961d5565f401d0f8