[INFO] cloning repository https://github.com/furrykef/farce [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/furrykef/farce" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffurrykef%2Ffarce", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffurrykef%2Ffarce'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87be94c2d4d27c4158ba9394e33d6fd942edf148 [INFO] building furrykef/farce against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffurrykef%2Ffarce" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/furrykef/farce on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/furrykef/farce [INFO] finished tweaking git repo https://github.com/furrykef/farce [INFO] tweaked toml for git repo https://github.com/furrykef/farce written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/furrykef/farce 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 491c0258728ea0e08701221c9b470ab3939a3b9965df5629e35c3478cac368f6 [INFO] running `Command { std: "docker" "start" "-a" "491c0258728ea0e08701221c9b470ab3939a3b9965df5629e35c3478cac368f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "491c0258728ea0e08701221c9b470ab3939a3b9965df5629e35c3478cac368f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "491c0258728ea0e08701221c9b470ab3939a3b9965df5629e35c3478cac368f6", kill_on_drop: false }` [INFO] [stdout] 491c0258728ea0e08701221c9b470ab3939a3b9965df5629e35c3478cac368f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 320fd6f1c01833c83972aae0285a4c923be1f047cba26cb3055bbbe8af4a37b6 [INFO] running `Command { std: "docker" "start" "-a" "320fd6f1c01833c83972aae0285a4c923be1f047cba26cb3055bbbe8af4a37b6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling libc v0.2.24 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling farce v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/engine_thread_manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/position.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / lazy_static! { [INFO] [stdout] 60 | | static ref RE: Regex = Regex::new("^([PpNnBbRrQqKk1-8]+)/\ [INFO] [stdout] 61 | | ([PpNnBbRrQqKk1-8]+)/\ [INFO] [stdout] 62 | | ([PpNnBbRrQqKk1-8]+)/\ [INFO] [stdout] ... | [INFO] [stdout] 72 | | (?P[0-9]+)$").unwrap(); [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/position.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / lazy_static! { [INFO] [stdout] 60 | | static ref RE: Regex = Regex::new("^([PpNnBbRrQqKk1-8]+)/\ [INFO] [stdout] 61 | | ([PpNnBbRrQqKk1-8]+)/\ [INFO] [stdout] 62 | | ([PpNnBbRrQqKk1-8]+)/\ [INFO] [stdout] ... | [INFO] [stdout] 72 | | (?P[0-9]+)$").unwrap(); [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/engine_thread_manager.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let (tx, rx) = mpsc::channel::(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/engine_thread_manager.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn cmd_go(&self, tokens: &mut SplitWhitespace) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/engine_thread_manager.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn cmd_position(&self, tokens: &mut SplitWhitespace) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/engine_thread_manager.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn cmd_setoption(&self, tokens: &mut SplitWhitespace) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `White` and `Black` are never constructed [INFO] [stdout] --> src/color.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Color [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | { [INFO] [stdout] 4 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Black [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `opposite_color` is never used [INFO] [stdout] --> src/color.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn opposite_color(color: Color) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pawn`, `Knight`, `Bishop`, `Rook`, `Queen`, and `King` are never constructed [INFO] [stdout] --> src/piece.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum PieceType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | Pawn, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | Knight, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | Bishop, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | Rook, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Queen, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | King [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PieceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STARTPOS_FEN` is never used [INFO] [stdout] --> src/position.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const STARTPOS_FEN: &str = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Empty` and `Piece` are never constructed [INFO] [stdout] --> src/position.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Cell { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 33 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | Piece(PieceType, Color) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_fen`, and `make_move` are never used [INFO] [stdout] --> src/position.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Position { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 50 | pub fn new() -> Position { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn from_fen(fen: &str) -> Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn make_move(&mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_board_data` is never used [INFO] [stdout] --> src/position.rs:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | fn read_board_data(captures: &Captures) -> [[Cell; 8]; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_piece_move_into_cell` is never used [INFO] [stdout] --> src/position.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn can_piece_move_into_cell(cell: Cell, my_color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_algebraic_coords` is never used [INFO] [stdout] --> src/position.rs:340:4 [INFO] [stdout] | [INFO] [stdout] 340 | fn parse_algebraic_coords(coords: &str) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.72s [INFO] running `Command { std: "docker" "inspect" "320fd6f1c01833c83972aae0285a4c923be1f047cba26cb3055bbbe8af4a37b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "320fd6f1c01833c83972aae0285a4c923be1f047cba26cb3055bbbe8af4a37b6", kill_on_drop: false }` [INFO] [stdout] 320fd6f1c01833c83972aae0285a4c923be1f047cba26cb3055bbbe8af4a37b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5e95e2b5a7336e84e162ef796bc65270eb2c9cced28f5141daa10d14867d922 [INFO] running `Command { std: "docker" "start" "-a" "a5e95e2b5a7336e84e162ef796bc65270eb2c9cced28f5141daa10d14867d922", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling farce v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/engine_thread_manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/position.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / lazy_static! { [INFO] [stdout] 60 | | static ref RE: Regex = Regex::new("^([PpNnBbRrQqKk1-8]+)/\ [INFO] [stdout] 61 | | ([PpNnBbRrQqKk1-8]+)/\ [INFO] [stdout] 62 | | ([PpNnBbRrQqKk1-8]+)/\ [INFO] [stdout] ... | [INFO] [stdout] 72 | | (?P[0-9]+)$").unwrap(); [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/position.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / lazy_static! { [INFO] [stdout] 60 | | static ref RE: Regex = Regex::new("^([PpNnBbRrQqKk1-8]+)/\ [INFO] [stdout] 61 | | ([PpNnBbRrQqKk1-8]+)/\ [INFO] [stdout] 62 | | ([PpNnBbRrQqKk1-8]+)/\ [INFO] [stdout] ... | [INFO] [stdout] 72 | | (?P[0-9]+)$").unwrap(); [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/engine_thread_manager.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let (tx, rx) = mpsc::channel::(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/engine_thread_manager.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn cmd_go(&self, tokens: &mut SplitWhitespace) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/engine_thread_manager.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn cmd_position(&self, tokens: &mut SplitWhitespace) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/engine_thread_manager.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn cmd_setoption(&self, tokens: &mut SplitWhitespace) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_piece_move_into_cell` is never used [INFO] [stdout] --> src/position.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn can_piece_move_into_cell(cell: Cell, my_color: Color) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "a5e95e2b5a7336e84e162ef796bc65270eb2c9cced28f5141daa10d14867d922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5e95e2b5a7336e84e162ef796bc65270eb2c9cced28f5141daa10d14867d922", kill_on_drop: false }` [INFO] [stdout] a5e95e2b5a7336e84e162ef796bc65270eb2c9cced28f5141daa10d14867d922