[INFO] fetching crate chessai 0.1.8... [INFO] checking chessai-0.1.8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate chessai 0.1.8 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate chessai 0.1.8 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chessai 0.1.8 [INFO] finished tweaking crates.io crate chessai 0.1.8 [INFO] tweaked toml for crates.io crate chessai 0.1.8 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63fe88325c11aa66bfe3f6b0a0ffb3a0c5e2bdbbb2c5d85081728d9885bc13fc [INFO] running `Command { std: "docker" "start" "-a" "63fe88325c11aa66bfe3f6b0a0ffb3a0c5e2bdbbb2c5d85081728d9885bc13fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63fe88325c11aa66bfe3f6b0a0ffb3a0c5e2bdbbb2c5d85081728d9885bc13fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63fe88325c11aa66bfe3f6b0a0ffb3a0c5e2bdbbb2c5d85081728d9885bc13fc", kill_on_drop: false }` [INFO] [stdout] 63fe88325c11aa66bfe3f6b0a0ffb3a0c5e2bdbbb2c5d85081728d9885bc13fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3348c69a9ff1cdc001b40b629fb591937641c41cf71ff08177398f39a08f6cd [INFO] running `Command { std: "docker" "start" "-a" "c3348c69a9ff1cdc001b40b629fb591937641c41cf71ff08177398f39a08f6cd", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chessai v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `KILLER_FIRST` should have an upper camel case name [INFO] [stdout] --> src/state.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | KILLER_FIRST = 1, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `KillerFirst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `KILLER_SECOND` should have an upper camel case name [INFO] [stdout] --> src/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | KILLER_SECOND = 2, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `KillerSecond` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GEN_MOVES` should have an upper camel case name [INFO] [stdout] --> src/state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | GEN_MOVES = 3, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `GenMoves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `KILLER_FIRST` should have an upper camel case name [INFO] [stdout] --> src/state.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | KILLER_FIRST = 1, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `KillerFirst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `KILLER_SECOND` should have an upper camel case name [INFO] [stdout] --> src/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | KILLER_SECOND = 2, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `KillerSecond` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GEN_MOVES` should have an upper camel case name [INFO] [stdout] --> src/state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | GEN_MOVES = 3, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `GenMoves` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `adjust` is never read [INFO] [stdout] --> src/lib.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 500 | let mut adjust = 0; [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 `mvs` is never read [INFO] [stdout] --> src/lib.rs:1071:17 [INFO] [stdout] | [INFO] [stdout] 1071 | let mut mvs = vec![]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:1228:17 [INFO] [stdout] | [INFO] [stdout] 1228 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `vl` is never read [INFO] [stdout] --> src/lib.rs:1245:21 [INFO] [stdout] | [INFO] [stdout] 1245 | let mut vl = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/book.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 15 | let mut reader = BufReader::new(File::open("book.dat").unwrap()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Book { [INFO] [stdout] 17 | data: bincode::deserialize_from(&mut reader).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IN_BROAD` should have a snake case name [INFO] [stdout] --> src/pregen.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub const fn IN_BROAD(idx: isize) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `in_broad` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IN_FORT` should have a snake case name [INFO] [stdout] --> src/pregen.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | pub const fn IN_FORT(idx: isize) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `in_fort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `KING_SPAN` should have a snake case name [INFO] [stdout] --> src/pregen.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | pub const fn KING_SPAN(src: isize, dst: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `king_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ADVISOR_SPAN` should have a snake case name [INFO] [stdout] --> src/pregen.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub const fn ADVISOR_SPAN(src: isize, dst: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `advisor_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `BISHOP_SPAN` should have a snake case name [INFO] [stdout] --> src/pregen.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | pub const fn BISHOP_SPAN(src: isize, dst: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `bishop_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `BISHOP_PIN` should have a snake case name [INFO] [stdout] --> src/pregen.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub const fn BISHOP_PIN(src: isize, dst: isize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `bishop_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `KNIGHT_PIN` should have a snake case name [INFO] [stdout] --> src/pregen.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub const fn KNIGHT_PIN(src: isize, dst: isize) -> isize { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `knight_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HOME_HALF` should have a snake case name [INFO] [stdout] --> src/pregen.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | pub const fn HOME_HALF(sq: isize, sd: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `home_half` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `AWAY_HALF` should have a snake case name [INFO] [stdout] --> src/pregen.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | pub const fn AWAY_HALF(sq: isize, sd: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `away_half` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SAME_HALF` should have a snake case name [INFO] [stdout] --> src/pregen.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn SAME_HALF(src: isize, dst: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `same_half` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SAME_RANK` should have a snake case name [INFO] [stdout] --> src/pregen.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | pub const fn SAME_RANK(src: isize, dst: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `same_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SAME_FILE` should have a snake case name [INFO] [stdout] --> src/pregen.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | pub const fn SAME_FILE(src: isize, dst: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `same_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MVV_LVA` should have a snake case name [INFO] [stdout] --> src/pregen.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | pub const fn MVV_LVA(pc: isize, lva: isize) -> isize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `mvv_lva` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chessai` (lib) due to 2 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: value assigned to `adjust` is never read [INFO] [stdout] --> src/lib.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 500 | let mut adjust = 0; [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 `mvs` is never read [INFO] [stdout] --> src/lib.rs:1071:17 [INFO] [stdout] | [INFO] [stdout] 1071 | let mut mvs = vec![]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> src/lib.rs:1228:17 [INFO] [stdout] | [INFO] [stdout] 1228 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `vl` is never read [INFO] [stdout] --> src/lib.rs:1245:21 [INFO] [stdout] | [INFO] [stdout] 1245 | let mut vl = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/book.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 15 | let mut reader = BufReader::new(File::open("book.dat").unwrap()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Book { [INFO] [stdout] 17 | data: bincode::deserialize_from(&mut reader).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IN_BROAD` should have a snake case name [INFO] [stdout] --> src/pregen.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | pub const fn IN_BROAD(idx: isize) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `in_broad` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IN_FORT` should have a snake case name [INFO] [stdout] --> src/pregen.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | pub const fn IN_FORT(idx: isize) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `in_fort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `KING_SPAN` should have a snake case name [INFO] [stdout] --> src/pregen.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | pub const fn KING_SPAN(src: isize, dst: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `king_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ADVISOR_SPAN` should have a snake case name [INFO] [stdout] --> src/pregen.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub const fn ADVISOR_SPAN(src: isize, dst: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `advisor_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `BISHOP_SPAN` should have a snake case name [INFO] [stdout] --> src/pregen.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | pub const fn BISHOP_SPAN(src: isize, dst: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `bishop_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `BISHOP_PIN` should have a snake case name [INFO] [stdout] --> src/pregen.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub const fn BISHOP_PIN(src: isize, dst: isize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `bishop_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `KNIGHT_PIN` should have a snake case name [INFO] [stdout] --> src/pregen.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub const fn KNIGHT_PIN(src: isize, dst: isize) -> isize { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `knight_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HOME_HALF` should have a snake case name [INFO] [stdout] --> src/pregen.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | pub const fn HOME_HALF(sq: isize, sd: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `home_half` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `AWAY_HALF` should have a snake case name [INFO] [stdout] --> src/pregen.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | pub const fn AWAY_HALF(sq: isize, sd: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `away_half` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SAME_HALF` should have a snake case name [INFO] [stdout] --> src/pregen.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | pub const fn SAME_HALF(src: isize, dst: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `same_half` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SAME_RANK` should have a snake case name [INFO] [stdout] --> src/pregen.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | pub const fn SAME_RANK(src: isize, dst: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `same_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SAME_FILE` should have a snake case name [INFO] [stdout] --> src/pregen.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | pub const fn SAME_FILE(src: isize, dst: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `same_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MVV_LVA` should have a snake case name [INFO] [stdout] --> src/pregen.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | pub const fn MVV_LVA(pc: isize, lva: isize) -> isize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `mvv_lva` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chessai` (lib test) due to 2 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c3348c69a9ff1cdc001b40b629fb591937641c41cf71ff08177398f39a08f6cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3348c69a9ff1cdc001b40b629fb591937641c41cf71ff08177398f39a08f6cd", kill_on_drop: false }` [INFO] [stdout] c3348c69a9ff1cdc001b40b629fb591937641c41cf71ff08177398f39a08f6cd