[INFO] fetching crate turbochess 0.2.0... [INFO] checking turbochess-0.2.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate turbochess 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate turbochess 0.2.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate turbochess 0.2.0 [INFO] finished tweaking crates.io crate turbochess 0.2.0 [INFO] tweaked toml for crates.io crate turbochess 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 491052df28cbb49064cfa47ec94d02b0a24f97649f8d2e4f7505036ea85766f6 [INFO] running `Command { std: "docker" "start" "-a" "491052df28cbb49064cfa47ec94d02b0a24f97649f8d2e4f7505036ea85766f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "491052df28cbb49064cfa47ec94d02b0a24f97649f8d2e4f7505036ea85766f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "491052df28cbb49064cfa47ec94d02b0a24f97649f8d2e4f7505036ea85766f6", kill_on_drop: false }` [INFO] [stdout] 491052df28cbb49064cfa47ec94d02b0a24f97649f8d2e4f7505036ea85766f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7aeb41f90fd18847e890285904b090f4b35041d262324df7b28b5d44fb569bf [INFO] running `Command { std: "docker" "start" "-a" "e7aeb41f90fd18847e890285904b090f4b35041d262324df7b28b5d44fb569bf", kill_on_drop: false }` [INFO] [stderr] Checking turbochess v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lookup.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File`, `thread` [INFO] [stdout] --> src/lookup.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs::File, thread}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lookup.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File`, `thread` [INFO] [stdout] --> src/lookup.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs::File, thread}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/testing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/testing.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `test_perft` [INFO] [stdout] --> src/testing.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | macro_rules! test_perft { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/testing.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut pos = [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: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:652:17 [INFO] [stdout] | [INFO] [stdout] 652 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/lib.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 653 | let mut s = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `check_count` is never read [INFO] [stdout] --> src/lib.rs:695:17 [INFO] [stdout] | [INFO] [stdout] 695 | let mut check_count = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:700:17 [INFO] [stdout] | [INFO] [stdout] 700 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b2` is never read [INFO] [stdout] --> src/lib.rs:701:17 [INFO] [stdout] | [INFO] [stdout] 701 | let mut b2 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/lib.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | let mut s = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:813:17 [INFO] [stdout] | [INFO] [stdout] 813 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b2` is never read [INFO] [stdout] --> src/lib.rs:814:17 [INFO] [stdout] | [INFO] [stdout] 814 | let mut b2 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b3` is never read [INFO] [stdout] --> src/lib.rs:815:17 [INFO] [stdout] | [INFO] [stdout] 815 | let mut b3 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:652:17 [INFO] [stdout] | [INFO] [stdout] 652 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/lib.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 653 | let mut s = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `check_count` is never read [INFO] [stdout] --> src/lib.rs:695:17 [INFO] [stdout] | [INFO] [stdout] 695 | let mut check_count = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:700:17 [INFO] [stdout] | [INFO] [stdout] 700 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b2` is never read [INFO] [stdout] --> src/lib.rs:701:17 [INFO] [stdout] | [INFO] [stdout] 701 | let mut b2 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/lib.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | let mut s = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:813:17 [INFO] [stdout] | [INFO] [stdout] 813 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b2` is never read [INFO] [stdout] --> src/lib.rs:814:17 [INFO] [stdout] | [INFO] [stdout] 814 | let mut b2 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b3` is never read [INFO] [stdout] --> src/lib.rs:815:17 [INFO] [stdout] | [INFO] [stdout] 815 | let mut b3 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attacks` is never used [INFO] [stdout] --> src/lookup.rs:116457:14 [INFO] [stdout] | [INFO] [stdout] 116457 | pub const fn attacks(sq: usize, p: usize, occupancy: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pawn_attacks` is never used [INFO] [stdout] --> src/lookup.rs:116473:14 [INFO] [stdout] | [INFO] [stdout] 116473 | pub const fn pawn_attacks(sq: usize, color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pawn_attacks_bb` is never used [INFO] [stdout] --> src/lookup.rs:116477:14 [INFO] [stdout] | [INFO] [stdout] 116477 | pub const fn pawn_attacks_bb(bb: u64, color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_00` is never used [INFO] [stdout] --> src/lookup.rs:116486:11 [INFO] [stdout] | [INFO] [stdout] 116486 | pub const WHITE_00: u64 = 0x90; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_00` is never used [INFO] [stdout] --> src/lookup.rs:116487:11 [INFO] [stdout] | [INFO] [stdout] 116487 | pub const BLACK_00: u64 = 0x9000000000000000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_000` is never used [INFO] [stdout] --> src/lookup.rs:116488:11 [INFO] [stdout] | [INFO] [stdout] 116488 | pub const WHITE_000: u64 = 0x11; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_000` is never used [INFO] [stdout] --> src/lookup.rs:116489:11 [INFO] [stdout] | [INFO] [stdout] 116489 | pub const BLACK_000: u64 = 0x1100000000000000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `oo_mask` is never used [INFO] [stdout] --> src/lookup.rs:116495:8 [INFO] [stdout] | [INFO] [stdout] 116495 | pub fn oo_mask(color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ooo_mask` is never used [INFO] [stdout] --> src/lookup.rs:116502:8 [INFO] [stdout] | [INFO] [stdout] 116502 | pub fn ooo_mask(color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft_complete` is never used [INFO] [stdout] --> src/testing.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn perft_complete( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attacks` is never used [INFO] [stdout] --> src/lookup.rs:116457:14 [INFO] [stdout] | [INFO] [stdout] 116457 | pub const fn attacks(sq: usize, p: usize, occupancy: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pawn_attacks` is never used [INFO] [stdout] --> src/lookup.rs:116473:14 [INFO] [stdout] | [INFO] [stdout] 116473 | pub const fn pawn_attacks(sq: usize, color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pawn_attacks_bb` is never used [INFO] [stdout] --> src/lookup.rs:116477:14 [INFO] [stdout] | [INFO] [stdout] 116477 | pub const fn pawn_attacks_bb(bb: u64, color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_00` is never used [INFO] [stdout] --> src/lookup.rs:116486:11 [INFO] [stdout] | [INFO] [stdout] 116486 | pub const WHITE_00: u64 = 0x90; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_00` is never used [INFO] [stdout] --> src/lookup.rs:116487:11 [INFO] [stdout] | [INFO] [stdout] 116487 | pub const BLACK_00: u64 = 0x9000000000000000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_000` is never used [INFO] [stdout] --> src/lookup.rs:116488:11 [INFO] [stdout] | [INFO] [stdout] 116488 | pub const WHITE_000: u64 = 0x11; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_000` is never used [INFO] [stdout] --> src/lookup.rs:116489:11 [INFO] [stdout] | [INFO] [stdout] 116489 | pub const BLACK_000: u64 = 0x1100000000000000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `oo_mask` is never used [INFO] [stdout] --> src/lookup.rs:116495:8 [INFO] [stdout] | [INFO] [stdout] 116495 | pub fn oo_mask(color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ooo_mask` is never used [INFO] [stdout] --> src/lookup.rs:116502:8 [INFO] [stdout] | [INFO] [stdout] 116502 | pub fn ooo_mask(color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft` is never used [INFO] [stdout] --> src/testing.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn perft(mut pos: Position, depth: usize) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft_complete` is never used [INFO] [stdout] --> src/testing.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn perft_complete( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft_divide` is never used [INFO] [stdout] --> src/testing.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn perft_divide(mut pos: Position, depth: usize) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "e7aeb41f90fd18847e890285904b090f4b35041d262324df7b28b5d44fb569bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7aeb41f90fd18847e890285904b090f4b35041d262324df7b28b5d44fb569bf", kill_on_drop: false }` [INFO] [stdout] e7aeb41f90fd18847e890285904b090f4b35041d262324df7b28b5d44fb569bf [INFO] checking turbochess-0.2.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate turbochess 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate turbochess 0.2.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate turbochess 0.2.0 [INFO] finished tweaking crates.io crate turbochess 0.2.0 [INFO] tweaked toml for crates.io crate turbochess 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f2520bffa8fa053dd2284ac4610e5a594db79205e2674ad427c1b1aeb0fe37e [INFO] running `Command { std: "docker" "start" "-a" "3f2520bffa8fa053dd2284ac4610e5a594db79205e2674ad427c1b1aeb0fe37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f2520bffa8fa053dd2284ac4610e5a594db79205e2674ad427c1b1aeb0fe37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f2520bffa8fa053dd2284ac4610e5a594db79205e2674ad427c1b1aeb0fe37e", kill_on_drop: false }` [INFO] [stdout] 3f2520bffa8fa053dd2284ac4610e5a594db79205e2674ad427c1b1aeb0fe37e [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe98f35e0fc17f802bd91b3d8cd43c112cd244b69e4724f8a24d72c62eee693f [INFO] running `Command { std: "docker" "start" "-a" "fe98f35e0fc17f802bd91b3d8cd43c112cd244b69e4724f8a24d72c62eee693f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking turbochess v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lookup.rs (2 fixes) [INFO] [stderr] Fixed src/testing.rs (1 fix) [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:652:17 [INFO] [stdout] | [INFO] [stdout] 652 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/lib.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 653 | let mut s = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `check_count` is never read [INFO] [stdout] --> src/lib.rs:695:17 [INFO] [stdout] | [INFO] [stdout] 695 | let mut check_count = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:700:17 [INFO] [stdout] | [INFO] [stdout] 700 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b2` is never read [INFO] [stdout] --> src/lib.rs:701:17 [INFO] [stdout] | [INFO] [stdout] 701 | let mut b2 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/lib.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | let mut s = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:813:17 [INFO] [stdout] | [INFO] [stdout] 813 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b2` is never read [INFO] [stdout] --> src/lib.rs:814:17 [INFO] [stdout] | [INFO] [stdout] 814 | let mut b2 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b3` is never read [INFO] [stdout] --> src/lib.rs:815:17 [INFO] [stdout] | [INFO] [stdout] 815 | let mut b3 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attacks` is never used [INFO] [stdout] --> src/lookup.rs:116455:14 [INFO] [stdout] | [INFO] [stdout] 116455 | pub const fn attacks(sq: usize, p: usize, occupancy: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pawn_attacks` is never used [INFO] [stdout] --> src/lookup.rs:116471:14 [INFO] [stdout] | [INFO] [stdout] 116471 | pub const fn pawn_attacks(sq: usize, color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pawn_attacks_bb` is never used [INFO] [stdout] --> src/lookup.rs:116475:14 [INFO] [stdout] | [INFO] [stdout] 116475 | pub const fn pawn_attacks_bb(bb: u64, color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_00` is never used [INFO] [stdout] --> src/lookup.rs:116484:11 [INFO] [stdout] | [INFO] [stdout] 116484 | pub const WHITE_00: u64 = 0x90; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_00` is never used [INFO] [stdout] --> src/lookup.rs:116485:11 [INFO] [stdout] | [INFO] [stdout] 116485 | pub const BLACK_00: u64 = 0x9000000000000000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_000` is never used [INFO] [stdout] --> src/lookup.rs:116486:11 [INFO] [stdout] | [INFO] [stdout] 116486 | pub const WHITE_000: u64 = 0x11; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_000` is never used [INFO] [stdout] --> src/lookup.rs:116487:11 [INFO] [stdout] | [INFO] [stdout] 116487 | pub const BLACK_000: u64 = 0x1100000000000000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `oo_mask` is never used [INFO] [stdout] --> src/lookup.rs:116493:8 [INFO] [stdout] | [INFO] [stdout] 116493 | pub fn oo_mask(color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ooo_mask` is never used [INFO] [stdout] --> src/lookup.rs:116500:8 [INFO] [stdout] | [INFO] [stdout] 116500 | pub fn ooo_mask(color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft_complete` is never used [INFO] [stdout] --> src/testing.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn perft_complete( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/testing.rs (2 fixes) [INFO] [stdout] warning: unused macro definition: `test_perft` [INFO] [stdout] --> src/testing.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | macro_rules! test_perft { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:652:17 [INFO] [stdout] | [INFO] [stdout] 652 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/lib.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 653 | let mut s = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `check_count` is never read [INFO] [stdout] --> src/lib.rs:695:17 [INFO] [stdout] | [INFO] [stdout] 695 | let mut check_count = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:700:17 [INFO] [stdout] | [INFO] [stdout] 700 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b2` is never read [INFO] [stdout] --> src/lib.rs:701:17 [INFO] [stdout] | [INFO] [stdout] 701 | let mut b2 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/lib.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | let mut s = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:813:17 [INFO] [stdout] | [INFO] [stdout] 813 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b2` is never read [INFO] [stdout] --> src/lib.rs:814:17 [INFO] [stdout] | [INFO] [stdout] 814 | let mut b2 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b3` is never read [INFO] [stdout] --> src/lib.rs:815:17 [INFO] [stdout] | [INFO] [stdout] 815 | let mut b3 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attacks` is never used [INFO] [stdout] --> src/lookup.rs:116455:14 [INFO] [stdout] | [INFO] [stdout] 116455 | pub const fn attacks(sq: usize, p: usize, occupancy: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pawn_attacks` is never used [INFO] [stdout] --> src/lookup.rs:116471:14 [INFO] [stdout] | [INFO] [stdout] 116471 | pub const fn pawn_attacks(sq: usize, color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pawn_attacks_bb` is never used [INFO] [stdout] --> src/lookup.rs:116475:14 [INFO] [stdout] | [INFO] [stdout] 116475 | pub const fn pawn_attacks_bb(bb: u64, color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_00` is never used [INFO] [stdout] --> src/lookup.rs:116484:11 [INFO] [stdout] | [INFO] [stdout] 116484 | pub const WHITE_00: u64 = 0x90; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_00` is never used [INFO] [stdout] --> src/lookup.rs:116485:11 [INFO] [stdout] | [INFO] [stdout] 116485 | pub const BLACK_00: u64 = 0x9000000000000000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_000` is never used [INFO] [stdout] --> src/lookup.rs:116486:11 [INFO] [stdout] | [INFO] [stdout] 116486 | pub const WHITE_000: u64 = 0x11; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_000` is never used [INFO] [stdout] --> src/lookup.rs:116487:11 [INFO] [stdout] | [INFO] [stdout] 116487 | pub const BLACK_000: u64 = 0x1100000000000000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `oo_mask` is never used [INFO] [stdout] --> src/lookup.rs:116493:8 [INFO] [stdout] | [INFO] [stdout] 116493 | pub fn oo_mask(color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ooo_mask` is never used [INFO] [stdout] --> src/lookup.rs:116500:8 [INFO] [stdout] | [INFO] [stdout] 116500 | pub fn ooo_mask(color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft` is never used [INFO] [stdout] --> src/testing.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn perft(mut pos: Position, depth: usize) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft_complete` is never used [INFO] [stdout] --> src/testing.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn perft_complete( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft_divide` is never used [INFO] [stdout] --> src/testing.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn perft_divide(mut pos: Position, depth: usize) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.40s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking turbochess v0.2.0 (/tmp/fixit) [INFO] [stdout] warning: unused macro definition: `test_perft` [INFO] [stdout] --> src/testing.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | macro_rules! test_perft { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/testing.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let start = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/testing.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let start = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] ... [INFO] [stdout] 120 | / test_perft!( [INFO] [stdout] 121 | | "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1", [INFO] [stdout] 122 | | 2, [INFO] [stdout] 123 | | 2039 [INFO] [stdout] 124 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/testing.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let start = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] ... [INFO] [stdout] 125 | / test_perft!( [INFO] [stdout] 126 | | "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1", [INFO] [stdout] 127 | | 3, [INFO] [stdout] 128 | | 97862 [INFO] [stdout] 129 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/testing.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let start = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] ... [INFO] [stdout] 130 | / test_perft!( [INFO] [stdout] 131 | | "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1", [INFO] [stdout] 132 | | 4, [INFO] [stdout] 133 | | 4085603 [INFO] [stdout] 134 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/testing.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let start = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] ... [INFO] [stdout] 135 | / test_perft!( [INFO] [stdout] 136 | | "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1", [INFO] [stdout] 137 | | 5, [INFO] [stdout] 138 | | 193690690 [INFO] [stdout] 139 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/testing.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let start = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] ... [INFO] [stdout] 140 | / test_perft!( [INFO] [stdout] 141 | | "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1", [INFO] [stdout] 142 | | 6, [INFO] [stdout] 143 | | 8031647685 [INFO] [stdout] 144 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/testing.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let start = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] ... [INFO] [stdout] 146 | / test_perft!( [INFO] [stdout] 147 | | "rnbq1k1r/pp1Pbppp/2p5/8/2B5/8/PPP1NnPP/RNBQK2R w KQ - 1 8", [INFO] [stdout] 148 | | 3, [INFO] [stdout] 149 | | 62379 [INFO] [stdout] 150 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/testing.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let start = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] ... [INFO] [stdout] 151 | / test_perft!( [INFO] [stdout] 152 | | "rnbq1k1r/pp1Pbppp/2p5/8/2B5/8/PPP1NnPP/RNBQK2R w KQ - 1 8", [INFO] [stdout] 153 | | 4, [INFO] [stdout] 154 | | 2103487 [INFO] [stdout] 155 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/testing.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let start = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] ... [INFO] [stdout] 156 | / test_perft!( [INFO] [stdout] 157 | | "rnbq1k1r/pp1Pbppp/2p5/8/2B5/8/PPP1NnPP/RNBQK2R w KQ - 1 8", [INFO] [stdout] 158 | | 5, [INFO] [stdout] 159 | | 89941194 [INFO] [stdout] 160 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Position` in the current scope [INFO] [stdout] --> src/testing.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let pos = Position::from_str("B3n1N1/b3P1PK/R1P1P3/7R/4p3/8/7Q/6k1 b - - 0 2").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Position` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Position { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Position`, consider using `Position::new` which returns `Position` [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 87 | let pos = Position::from("B3n1N1/b3P1PK/R1P1P3/7R/4p3/8/7Q/6k1 b - - 0 2").unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Position` in the current scope [INFO] [stdout] --> src/testing.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | Position::from_str("r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1") [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Position` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Position { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Position`, consider using `Position::new` which returns `Position` [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 98 | Position::from("r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1") [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Position` in the current scope [INFO] [stdout] --> src/testing.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from_str($fen).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Position` [INFO] [stdout] ... [INFO] [stdout] 120 | / test_perft!( [INFO] [stdout] 121 | | "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1", [INFO] [stdout] 122 | | 2, [INFO] [stdout] 123 | | 2039 [INFO] [stdout] 124 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Position { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Position`, consider using `Position::new` which returns `Position` [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from($fen).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Position` in the current scope [INFO] [stdout] --> src/testing.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from_str($fen).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Position` [INFO] [stdout] ... [INFO] [stdout] 125 | / test_perft!( [INFO] [stdout] 126 | | "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1", [INFO] [stdout] 127 | | 3, [INFO] [stdout] 128 | | 97862 [INFO] [stdout] 129 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Position { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Position`, consider using `Position::new` which returns `Position` [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from($fen).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Position` in the current scope [INFO] [stdout] --> src/testing.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from_str($fen).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Position` [INFO] [stdout] ... [INFO] [stdout] 130 | / test_perft!( [INFO] [stdout] 131 | | "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1", [INFO] [stdout] 132 | | 4, [INFO] [stdout] 133 | | 4085603 [INFO] [stdout] 134 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Position { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Position`, consider using `Position::new` which returns `Position` [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from($fen).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Position` in the current scope [INFO] [stdout] --> src/testing.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from_str($fen).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Position` [INFO] [stdout] ... [INFO] [stdout] 135 | / test_perft!( [INFO] [stdout] 136 | | "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1", [INFO] [stdout] 137 | | 5, [INFO] [stdout] 138 | | 193690690 [INFO] [stdout] 139 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Position { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Position`, consider using `Position::new` which returns `Position` [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from($fen).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Position` in the current scope [INFO] [stdout] --> src/testing.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from_str($fen).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Position` [INFO] [stdout] ... [INFO] [stdout] 140 | / test_perft!( [INFO] [stdout] 141 | | "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1", [INFO] [stdout] 142 | | 6, [INFO] [stdout] 143 | | 8031647685 [INFO] [stdout] 144 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Position { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Position`, consider using `Position::new` which returns `Position` [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from($fen).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Position` in the current scope [INFO] [stdout] --> src/testing.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from_str($fen).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Position` [INFO] [stdout] ... [INFO] [stdout] 146 | / test_perft!( [INFO] [stdout] 147 | | "rnbq1k1r/pp1Pbppp/2p5/8/2B5/8/PPP1NnPP/RNBQK2R w KQ - 1 8", [INFO] [stdout] 148 | | 3, [INFO] [stdout] 149 | | 62379 [INFO] [stdout] 150 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Position { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Position`, consider using `Position::new` which returns `Position` [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from($fen).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Position` in the current scope [INFO] [stdout] --> src/testing.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from_str($fen).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Position` [INFO] [stdout] ... [INFO] [stdout] 151 | / test_perft!( [INFO] [stdout] 152 | | "rnbq1k1r/pp1Pbppp/2p5/8/2B5/8/PPP1NnPP/RNBQK2R w KQ - 1 8", [INFO] [stdout] 153 | | 4, [INFO] [stdout] 154 | | 2103487 [INFO] [stdout] 155 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Position { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Position`, consider using `Position::new` which returns `Position` [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from($fen).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `Position` in the current scope [INFO] [stdout] --> src/testing.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from_str($fen).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Position` [INFO] [stdout] ... [INFO] [stdout] 156 | / test_perft!( [INFO] [stdout] 157 | | "rnbq1k1r/pp1Pbppp/2p5/8/2B5/8/PPP1NnPP/RNBQK2R w KQ - 1 8", [INFO] [stdout] 158 | | 5, [INFO] [stdout] 159 | | 89941194 [INFO] [stdout] 160 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Position { [INFO] [stdout] | ------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Position`, consider using `Position::new` which returns `Position` [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `test_perft` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 68 | let pos = Position::from($fen).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:652:17 [INFO] [stdout] | [INFO] [stdout] 652 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/lib.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 653 | let mut s = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `check_count` is never read [INFO] [stdout] --> src/lib.rs:695:17 [INFO] [stdout] | [INFO] [stdout] 695 | let mut check_count = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:700:17 [INFO] [stdout] | [INFO] [stdout] 700 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b2` is never read [INFO] [stdout] --> src/lib.rs:701:17 [INFO] [stdout] | [INFO] [stdout] 701 | let mut b2 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/lib.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | let mut s = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:813:17 [INFO] [stdout] | [INFO] [stdout] 813 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b2` is never read [INFO] [stdout] --> src/lib.rs:814:17 [INFO] [stdout] | [INFO] [stdout] 814 | let mut b2 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b3` is never read [INFO] [stdout] --> src/lib.rs:815:17 [INFO] [stdout] | [INFO] [stdout] 815 | let mut b3 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attacks` is never used [INFO] [stdout] --> src/lookup.rs:116455:14 [INFO] [stdout] | [INFO] [stdout] 116455 | pub const fn attacks(sq: usize, p: usize, occupancy: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pawn_attacks` is never used [INFO] [stdout] --> src/lookup.rs:116471:14 [INFO] [stdout] | [INFO] [stdout] 116471 | pub const fn pawn_attacks(sq: usize, color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pawn_attacks_bb` is never used [INFO] [stdout] --> src/lookup.rs:116475:14 [INFO] [stdout] | [INFO] [stdout] 116475 | pub const fn pawn_attacks_bb(bb: u64, color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_00` is never used [INFO] [stdout] --> src/lookup.rs:116484:11 [INFO] [stdout] | [INFO] [stdout] 116484 | pub const WHITE_00: u64 = 0x90; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_00` is never used [INFO] [stdout] --> src/lookup.rs:116485:11 [INFO] [stdout] | [INFO] [stdout] 116485 | pub const BLACK_00: u64 = 0x9000000000000000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_000` is never used [INFO] [stdout] --> src/lookup.rs:116486:11 [INFO] [stdout] | [INFO] [stdout] 116486 | pub const WHITE_000: u64 = 0x11; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_000` is never used [INFO] [stdout] --> src/lookup.rs:116487:11 [INFO] [stdout] | [INFO] [stdout] 116487 | pub const BLACK_000: u64 = 0x1100000000000000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `oo_mask` is never used [INFO] [stdout] --> src/lookup.rs:116493:8 [INFO] [stdout] | [INFO] [stdout] 116493 | pub fn oo_mask(color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ooo_mask` is never used [INFO] [stdout] --> src/lookup.rs:116500:8 [INFO] [stdout] | [INFO] [stdout] 116500 | pub fn ooo_mask(color: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft` is never used [INFO] [stdout] --> src/testing.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn perft(mut pos: Position, depth: usize) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft_complete` is never used [INFO] [stdout] --> src/testing.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn perft_complete( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perft_divide` is never used [INFO] [stdout] --> src/testing.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn perft_divide(mut pos: Position, depth: usize) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:652:17 [INFO] [stdout] | [INFO] [stdout] 652 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/lib.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 653 | let mut s = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `check_count` is never read [INFO] [stdout] --> src/lib.rs:695:17 [INFO] [stdout] | [INFO] [stdout] 695 | let mut check_count = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:700:17 [INFO] [stdout] | [INFO] [stdout] 700 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b2` is never read [INFO] [stdout] --> src/lib.rs:701:17 [INFO] [stdout] | [INFO] [stdout] 701 | let mut b2 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/lib.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | let mut s = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b1` is never read [INFO] [stdout] --> src/lib.rs:813:17 [INFO] [stdout] | [INFO] [stdout] 813 | let mut b1 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b2` is never read [INFO] [stdout] --> src/lib.rs:814:17 [INFO] [stdout] | [INFO] [stdout] 814 | let mut b2 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b3` is never read [INFO] [stdout] --> src/lib.rs:815:17 [INFO] [stdout] | [INFO] [stdout] 815 | let mut b3 = 0u64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `turbochess` (lib test) due to 20 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "fe98f35e0fc17f802bd91b3d8cd43c112cd244b69e4724f8a24d72c62eee693f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe98f35e0fc17f802bd91b3d8cd43c112cd244b69e4724f8a24d72c62eee693f", kill_on_drop: false }` [INFO] [stdout] fe98f35e0fc17f802bd91b3d8cd43c112cd244b69e4724f8a24d72c62eee693f