[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] checking furrykef/farce against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffurrykef%2Ffarce" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/furrykef/farce on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-0-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.2.8 [INFO] [stderr] Downloaded libc v0.2.24 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db91e5283a05cbf5ec21d30df5857cd3fc98e0121dd562f3d07aa862adb626a0 [INFO] running `Command { std: "docker" "start" "-a" "db91e5283a05cbf5ec21d30df5857cd3fc98e0121dd562f3d07aa862adb626a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db91e5283a05cbf5ec21d30df5857cd3fc98e0121dd562f3d07aa862adb626a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db91e5283a05cbf5ec21d30df5857cd3fc98e0121dd562f3d07aa862adb626a0", kill_on_drop: false }` [INFO] [stdout] db91e5283a05cbf5ec21d30df5857cd3fc98e0121dd562f3d07aa862adb626a0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 836f700aebdd87b172d8820fef93b872af1e47eba567377c09a75350af35ccbe [INFO] running `Command { std: "docker" "start" "-a" "836f700aebdd87b172d8820fef93b872af1e47eba567377c09a75350af35ccbe", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.24 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking 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: the item `std` is imported redundantly [INFO] [stdout] --> src/position.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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 `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 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: the item `std` is imported redundantly [INFO] [stdout] --> src/position.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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 `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] [stdout] warning: 17 warnings emitted [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] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "836f700aebdd87b172d8820fef93b872af1e47eba567377c09a75350af35ccbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "836f700aebdd87b172d8820fef93b872af1e47eba567377c09a75350af35ccbe", kill_on_drop: false }` [INFO] [stdout] 836f700aebdd87b172d8820fef93b872af1e47eba567377c09a75350af35ccbe