[INFO] cloning repository https://github.com/felipeamp/windmill [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/felipeamp/windmill" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipeamp%2Fwindmill", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipeamp%2Fwindmill'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d96a808429a7a8b5f475b03760ec482abab1d1ac [INFO] testing felipeamp/windmill against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelipeamp%2Fwindmill" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felipeamp/windmill on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/felipeamp/windmill [INFO] finished tweaking git repo https://github.com/felipeamp/windmill [INFO] tweaked toml for git repo https://github.com/felipeamp/windmill written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/felipeamp/windmill already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0582ac9bcc8fb336a61c0d795100ea94f80da1fc2ec88cf888e448261931944 [INFO] running `Command { std: "docker" "start" "-a" "e0582ac9bcc8fb336a61c0d795100ea94f80da1fc2ec88cf888e448261931944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0582ac9bcc8fb336a61c0d795100ea94f80da1fc2ec88cf888e448261931944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0582ac9bcc8fb336a61c0d795100ea94f80da1fc2ec88cf888e448261931944", kill_on_drop: false }` [INFO] [stdout] e0582ac9bcc8fb336a61c0d795100ea94f80da1fc2ec88cf888e448261931944 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcf9abe964ae7ffe148f6016e64c9a2dc3f8ccb133739252bae0487ee1e6459a [INFO] running `Command { std: "docker" "start" "-a" "dcf9abe964ae7ffe148f6016e64c9a2dc3f8ccb133739252bae0487ee1e6459a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling windmill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | c @ 'a'...'h' => ret_u8 += c as u8 - b'a', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | c @ 'A'...'H' => ret_u8 += c as u8 - b'A', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | c @ '1'...'8' => ret_u8 += 8 * (c.to_digit(10).unwrap() as u8 - 1), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/types.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/types.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:217:29 [INFO] [stdout] | [INFO] [stdout] 217 | piece => panic!(format!("Invalid promoted piece: {}", piece)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 217 - piece => panic!(format!("Invalid promoted piece: {}", piece)), [INFO] [stdout] 217 + piece => panic!("Invalid promoted piece: {}", piece), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:324:28 [INFO] [stdout] | [INFO] [stdout] 324 | file => panic!(format!("Illegal file in castle move: {}", file)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 324 - file => panic!(format!("Illegal file in castle move: {}", file)), [INFO] [stdout] 324 + file => panic!("Illegal file in castle move: {}", file), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:337:34 [INFO] [stdout] | [INFO] [stdout] 337 | promotion => {panic!(format!("Wrong promotion value after shift and bitwise-and: {}", [INFO] [stdout] | __________________________________^ [INFO] [stdout] 338 | | promotion)) [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 337 ~ promotion => {panic!("Wrong promotion value after shift and bitwise-and: {}", [INFO] [stdout] 338 ~ promotion) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "dcf9abe964ae7ffe148f6016e64c9a2dc3f8ccb133739252bae0487ee1e6459a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcf9abe964ae7ffe148f6016e64c9a2dc3f8ccb133739252bae0487ee1e6459a", kill_on_drop: false }` [INFO] [stdout] dcf9abe964ae7ffe148f6016e64c9a2dc3f8ccb133739252bae0487ee1e6459a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 813cd1a4bfca0092966ebc63d09e4713900af85c5f77ca79941992b0b8d80781 [INFO] running `Command { std: "docker" "start" "-a" "813cd1a4bfca0092966ebc63d09e4713900af85c5f77ca79941992b0b8d80781", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling windmill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/bitboard.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | c @ 'a'...'h' => ret_u8 += c as u8 - b'a', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | c @ 'A'...'H' => ret_u8 += c as u8 - b'A', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/types.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | c @ '1'...'8' => ret_u8 += 8 * (c.to_digit(10).unwrap() as u8 - 1), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/types.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/types.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:217:29 [INFO] [stdout] | [INFO] [stdout] 217 | piece => panic!(format!("Invalid promoted piece: {}", piece)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 217 - piece => panic!(format!("Invalid promoted piece: {}", piece)), [INFO] [stdout] 217 + piece => panic!("Invalid promoted piece: {}", piece), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:324:28 [INFO] [stdout] | [INFO] [stdout] 324 | file => panic!(format!("Illegal file in castle move: {}", file)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 324 - file => panic!(format!("Illegal file in castle move: {}", file)), [INFO] [stdout] 324 + file => panic!("Illegal file in castle move: {}", file), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types.rs:337:34 [INFO] [stdout] | [INFO] [stdout] 337 | promotion => {panic!(format!("Wrong promotion value after shift and bitwise-and: {}", [INFO] [stdout] | __________________________________^ [INFO] [stdout] 338 | | promotion)) [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 337 ~ promotion => {panic!("Wrong promotion value after shift and bitwise-and: {}", [INFO] [stdout] 338 ~ promotion) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.88s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/windmill-d701eb0f9e152641) [INFO] running `Command { std: "docker" "inspect" "813cd1a4bfca0092966ebc63d09e4713900af85c5f77ca79941992b0b8d80781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "813cd1a4bfca0092966ebc63d09e4713900af85c5f77ca79941992b0b8d80781", kill_on_drop: false }` [INFO] [stdout] 813cd1a4bfca0092966ebc63d09e4713900af85c5f77ca79941992b0b8d80781 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cb673c4c3960dde6b67005c424eeee1d40ca89ed344ff8aa0d8ea3bb31bc7066 [INFO] running `Command { std: "docker" "start" "-a" "cb673c4c3960dde6b67005c424eeee1d40ca89ed344ff8aa0d8ea3bb31bc7066", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `types::*` [INFO] [stderr] --> src/bitboard.rs:126:9 [INFO] [stderr] | [INFO] [stderr] 126 | use types::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/types.rs:137:20 [INFO] [stderr] | [INFO] [stderr] 137 | c @ 'a'...'h' => ret_u8 += c as u8 - b'a', [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/types.rs:138:20 [INFO] [stderr] | [INFO] [stderr] 138 | c @ 'A'...'H' => ret_u8 += c as u8 - b'A', [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/types.rs:142:20 [INFO] [stderr] | [INFO] [stderr] 142 | c @ '1'...'8' => ret_u8 += 8 * (c.to_digit(10).unwrap() as u8 - 1), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/types.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/types.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/types.rs:217:29 [INFO] [stderr] | [INFO] [stderr] 217 | piece => panic!(format!("Invalid promoted piece: {}", piece)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 217 - piece => panic!(format!("Invalid promoted piece: {}", piece)), [INFO] [stderr] 217 + piece => panic!("Invalid promoted piece: {}", piece), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/types.rs:324:28 [INFO] [stderr] | [INFO] [stderr] 324 | file => panic!(format!("Illegal file in castle move: {}", file)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 324 - file => panic!(format!("Illegal file in castle move: {}", file)), [INFO] [stderr] 324 + file => panic!("Illegal file in castle move: {}", file), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/types.rs:337:34 [INFO] [stderr] | [INFO] [stderr] 337 | promotion => {panic!(format!("Wrong promotion value after shift and bitwise-and: {}", [INFO] [stderr] | __________________________________^ [INFO] [stderr] 338 | | promotion)) [INFO] [stderr] | |___________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 337 ~ promotion => {panic!("Wrong promotion value after shift and bitwise-and: {}", [INFO] [stderr] 338 ~ promotion) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `windmill` (bin "windmill" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/windmill-d701eb0f9e152641) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test bitboard::tests::bitboard_iterator ... ok [INFO] [stdout] test bitboard::tests::bitboard_from_squares ... ok [INFO] [stdout] test bitboard::tests::bitboard_display ... ok [INFO] [stdout] test bitboard::tests::bitboard_from_square ... ok [INFO] [stdout] test bitboard::tests::bitboard_lsb_bb ... ok [INFO] [stdout] test types::tests::castleside_display ... ok [INFO] [stdout] test bitboard::tests::bitboard_msb_bb ... ok [INFO] [stdout] test types::tests::move_castle_side ... ok [INFO] [stdout] test types::tests::move_is_castle ... ok [INFO] [stdout] test types::tests::move_sq_from ... ok [INFO] [stdout] test types::tests::move_sq_to ... ok [INFO] [stdout] test types::tests::piece_display ... ok [INFO] [stdout] test types::tests::rank_display ... ok [INFO] [stdout] test types::tests::square_display ... ok [INFO] [stdout] test types::tests::square_from_file_rank ... ok [INFO] [stdout] test types::tests::square_from_string ... ok [INFO] [stdout] test types::tests::move_is_en_passent ... ok [INFO] [stdout] test types::tests::move_is_promotion ... ok [INFO] [stdout] test bitboard::tests::bitboard_pop_count ... ok [INFO] [stdout] test types::tests::move_display ... ok [INFO] [stdout] test types::tests::file_display ... ok [INFO] [stdout] test bitboard::tests::bitboard_msb_sq ... ok [INFO] [stdout] test types::tests::move_creation ... ok [INFO] [stdout] test bitboard::tests::bitboard_lsb_sq ... ok [INFO] [stdout] test types::tests::move_is_valid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cb673c4c3960dde6b67005c424eeee1d40ca89ed344ff8aa0d8ea3bb31bc7066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb673c4c3960dde6b67005c424eeee1d40ca89ed344ff8aa0d8ea3bb31bc7066", kill_on_drop: false }` [INFO] [stdout] cb673c4c3960dde6b67005c424eeee1d40ca89ed344ff8aa0d8ea3bb31bc7066