[INFO] cloning repository https://github.com/MortenLohne/rasher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MortenLohne/rasher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMortenLohne%2Frasher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMortenLohne%2Frasher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f79aca7c35cf8e727f5bc331769a7f5c728e3111 [INFO] checking MortenLohne/rasher/f79aca7c35cf8e727f5bc331769a7f5c728e3111 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMortenLohne%2Frasher" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MortenLohne/rasher on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MortenLohne/rasher [INFO] finished tweaking git repo https://github.com/MortenLohne/rasher [INFO] tweaked toml for git repo https://github.com/MortenLohne/rasher written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MortenLohne/rasher already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/MortenLohne/chess-bitboard` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itoa v0.4.4 [INFO] [stderr] Downloaded serde_json v1.0.40 [INFO] [stderr] Downloaded ryu v1.0.0 [INFO] [stderr] Downloaded board-game-traits v0.1.0 [INFO] [stderr] Downloaded nodrop v0.1.13 [INFO] [stderr] Downloaded antidote v1.0.0 [INFO] [stderr] Downloaded num_cpus v1.10.1 [INFO] [stderr] Downloaded log-mdc v0.1.0 [INFO] [stderr] Downloaded rand_os v0.1.3 [INFO] [stderr] Downloaded num-integer v0.1.41 [INFO] [stderr] Downloaded cfg-if v0.1.9 [INFO] [stderr] Downloaded lazy_static v1.2.0 [INFO] [stderr] Downloaded thread-id v3.3.0 [INFO] [stderr] Downloaded arrayvec v0.4.11 [INFO] [stderr] Downloaded log4rs v0.8.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.15 [INFO] [stderr] Downloaded cc v1.0.37 [INFO] [stderr] Downloaded rand_jitter v0.1.4 [INFO] [stderr] Downloaded arc-swap v0.3.11 [INFO] [stderr] Downloaded chrono v0.4.7 [INFO] [stderr] Downloaded nom v4.1.1 [INFO] [stderr] Downloaded syn v0.15.39 [INFO] [stderr] Downloaded rand v0.6.5 [INFO] [stderr] Downloaded time v0.1.42 [INFO] [stderr] Downloaded log v0.4.7 [INFO] [stderr] Downloaded ordered-float v1.0.2 [INFO] [stderr] Downloaded rand_isaac v0.1.1 [INFO] [stderr] Downloaded either v1.5.2 [INFO] [stderr] Downloaded serde v1.0.94 [INFO] [stderr] Downloaded autocfg v0.1.4 [INFO] [stderr] Downloaded libc v0.2.59 [INFO] [stderr] Downloaded rand_core v0.4.0 [INFO] [stderr] Downloaded memchr v2.2.1 [INFO] [stderr] Downloaded rand_chacha v0.1.1 [INFO] [stderr] Downloaded backtrace-sys v0.1.30 [INFO] [stderr] Downloaded bitflags v1.1.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.1 [INFO] [stderr] Downloaded crossbeam-utils v0.6.5 [INFO] [stderr] Downloaded num-traits v0.2.8 [INFO] [stderr] Downloaded crossbeam-deque v0.6.3 [INFO] [stderr] Downloaded rayon-core v1.5.0 [INFO] [stderr] Downloaded rand_hc v0.1.0 [INFO] [stderr] Downloaded rand_pcg v0.1.2 [INFO] [stderr] Downloaded rand_xorshift v0.1.1 [INFO] [stderr] Downloaded crossbeam-queue v0.1.2 [INFO] [stderr] Downloaded serde_derive v1.0.94 [INFO] [stderr] Downloaded winapi v0.3.7 [INFO] [stderr] Downloaded pgn-traits v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79c2abd46b63748be179cb1781e6c0475f139c48ccf395a03f562a8c16eec6d8 [INFO] running `Command { std: "docker" "start" "-a" "79c2abd46b63748be179cb1781e6c0475f139c48ccf395a03f562a8c16eec6d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79c2abd46b63748be179cb1781e6c0475f139c48ccf395a03f562a8c16eec6d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79c2abd46b63748be179cb1781e6c0475f139c48ccf395a03f562a8c16eec6d8", kill_on_drop: false }` [INFO] [stdout] 79c2abd46b63748be179cb1781e6c0475f139c48ccf395a03f562a8c16eec6d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcf609f036c04aa2d3486fa1958f8688a6b0266896af62b1e5baa55df2a96c17 [INFO] running `Command { std: "docker" "start" "-a" "fcf609f036c04aa2d3486fa1958f8688a6b0266896af62b1e5baa55df2a96c17", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking arc-swap v0.3.11 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking board-game-traits v0.1.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking pgn-traits v0.1.0 [INFO] [stderr] Checking chess-bitboard v0.1.0 (https://github.com/MortenLohne/chess-bitboard#e3d5a02c) [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking nom v4.1.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking chrono v0.4.7 [INFO] [stderr] Checking log4rs v0.8.3 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking rasher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `move_gen_tests` is defined multiple times [INFO] [stdout] --> src/tests/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod move_gen_tests; [INFO] [stdout] | ------------------- previous definition of the module `move_gen_tests` here [INFO] [stdout] ... [INFO] [stdout] 13 | mod move_gen_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `move_gen_tests` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `move_gen_tests` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | try!(parse_dur(input.split_whitespace().nth(2)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | try!(parse_int(input.split_whitespace().nth(2)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | try!(parse_int(input.split_whitespace().nth(2)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | try!(parse_int(input.split_whitespace().nth(2)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/uci.rs:539:19 [INFO] [stdout] | [INFO] [stdout] 539 | 0 ... 100 => "Inaccuracy", [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/uci.rs:540:21 [INFO] [stdout] | [INFO] [stdout] 540 | 100 ... 300 => "Mistake", [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board/crazyhouse/board.rs:288:27 [INFO] [stdout] | [INFO] [stdout] 288 | let chess_board = try!(ChessBoard::from_fen(&std_fen_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/search_algorithms/monte_carlo.rs:258:33 [INFO] [stdout] | [INFO] [stdout] 258 | children: RwLock)>>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 258 - children: RwLock)>>>, [INFO] [stdout] 258 + children: RwLock>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/search_algorithms/monte_carlo.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 481 | (f32::atan(cp / 2.90680623072) / 3.096181612 + 0.5) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 481 - (f32::atan(cp / 2.90680623072) / 3.096181612 + 0.5) [INFO] [stdout] 481 + f32::atan(cp / 2.90680623072) / 3.096181612 + 0.5 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | try!(parse_dur(input.split_whitespace().nth(2)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | try!(parse_int(input.split_whitespace().nth(2)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | try!(parse_int(input.split_whitespace().nth(2)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/uci.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | try!(parse_int(input.split_whitespace().nth(2)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/uci.rs:539:19 [INFO] [stdout] | [INFO] [stdout] 539 | 0 ... 100 => "Inaccuracy", [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/uci.rs:540:21 [INFO] [stdout] | [INFO] [stdout] 540 | 100 ... 300 => "Mistake", [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board/crazyhouse/board.rs:288:27 [INFO] [stdout] | [INFO] [stdout] 288 | let chess_board = try!(ChessBoard::from_fen(&std_fen_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/search_algorithms/monte_carlo.rs:258:33 [INFO] [stdout] | [INFO] [stdout] 258 | children: RwLock)>>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 258 - children: RwLock)>>>, [INFO] [stdout] 258 + children: RwLock>>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/search_algorithms/monte_carlo.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 481 | (f32::atan(cp / 2.90680623072) / 3.096181612 + 0.5) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 481 - (f32::atan(cp / 2.90680623072) / 3.096181612 + 0.5) [INFO] [stdout] 481 + f32::atan(cp / 2.90680623072) / 3.096181612 + 0.5 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | fn init_log() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | fn init_log() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/uci.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn connect_engine(stdin : &mut io::BufRead) -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub fn connect_engine(stdin : &mut dyn io::BufRead) -> Result<(), Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/uci.rs:22:70 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn connect_engine(stdin : &mut io::BufRead) -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub fn connect_engine(stdin : &mut io::BufRead) -> Result<(), Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/uci.rs:264:106 [INFO] [stdout] | [INFO] [stdout] 264 | ... searchmoves_input: Option>) -> Result, Box> [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 264 | searchmoves_input: Option>) -> Result, Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/uci.rs:386:23 [INFO] [stdout] | [INFO] [stdout] 386 | -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 386 | -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/uci.rs:570:38 [INFO] [stdout] | [INFO] [stdout] 570 | pub fn get_engine_input(stdin : &mut io::BufRead) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 570 | pub fn get_engine_input(stdin : &mut dyn io::BufRead) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/uci.rs:587:62 [INFO] [stdout] | [INFO] [stdout] 587 | fn parse_position (input : &str) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 587 | fn parse_position (input : &str) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/uci_engine.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | -> Box>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | -> Box>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/search_algorithms/alpha_beta.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | -> Box>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | -> Box>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/search_algorithms/monte_carlo.rs:97:58 [INFO] [stdout] | [INFO] [stdout] 97 | _: Option::Move>>) -> Box>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | _: Option::Move>>) -> Box>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | fn init_log() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | fn init_log() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/uci.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn connect_engine(stdin : &mut io::BufRead) -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub fn connect_engine(stdin : &mut dyn io::BufRead) -> Result<(), Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/uci.rs:22:70 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn connect_engine(stdin : &mut io::BufRead) -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub fn connect_engine(stdin : &mut io::BufRead) -> Result<(), Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/uci.rs:264:106 [INFO] [stdout] | [INFO] [stdout] 264 | ... searchmoves_input: Option>) -> Result, Box> [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 264 | searchmoves_input: Option>) -> Result, Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/uci.rs:386:23 [INFO] [stdout] | [INFO] [stdout] 386 | -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 386 | -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/uci.rs:570:38 [INFO] [stdout] | [INFO] [stdout] 570 | pub fn get_engine_input(stdin : &mut io::BufRead) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 570 | pub fn get_engine_input(stdin : &mut dyn io::BufRead) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/uci.rs:587:62 [INFO] [stdout] | [INFO] [stdout] 587 | fn parse_position (input : &str) -> Result> [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 587 | fn parse_position (input : &str) -> Result> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/uci_engine.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | -> Box>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | -> Box>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/search_algorithms/alpha_beta.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | -> Box>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | -> Box>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/search_algorithms/monte_carlo.rs:97:58 [INFO] [stdout] | [INFO] [stdout] 97 | _: Option::Move>>) -> Box>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | _: Option::Move>>) -> Box>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/board/chess/board.rs:636:31 [INFO] [stdout] | [INFO] [stdout] 636 | let move_filter : Box bool> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 636 | let move_filter : Box bool> = [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/board/chess/board.rs:636:31 [INFO] [stdout] | [INFO] [stdout] 636 | let move_filter : Box bool> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 636 | let move_filter : Box bool> = [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/board/sjadam/board.rs:676:31 [INFO] [stdout] | [INFO] [stdout] 676 | let move_filter : Box bool> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 676 | let move_filter : Box bool> = [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/board/sjadam/board.rs:676:31 [INFO] [stdout] | [INFO] [stdout] 676 | let move_filter : Box bool> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 676 | let move_filter : Box bool> = [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/uci.rs:540:17 [INFO] [stdout] | [INFO] [stdout] 539 | 0 ... 100 => "Inaccuracy", [INFO] [stdout] | --------- this range overlaps on `100_i16`... [INFO] [stdout] 540 | 100 ... 300 => "Mistake", [INFO] [stdout] | ^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/uci.rs:540:17 [INFO] [stdout] | [INFO] [stdout] 539 | 0 ... 100 => "Inaccuracy", [INFO] [stdout] | --------- this range overlaps on `100_i16`... [INFO] [stdout] 540 | 100 ... 300 => "Mistake", [INFO] [stdout] | ^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/board/sjadam/mv.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | struct SquareRef(u8); [INFO] [stdout] | --------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/uci.rs:421:16 [INFO] [stdout] | [INFO] [stdout] 421 | panic!(format!("setoption string \"{}\" did not include name and value", input)); [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 421 - panic!(format!("setoption string \"{}\" did not include name and value", input)); [INFO] [stdout] 421 + panic!("setoption string \"{}\" did not include name and value", input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/board/chess/move_gen.rs:86:38 [INFO] [stdout] | [INFO] [stdout] 86 | debug_assert!(file == 4, format!("Error: King tried to castle from {} on:{}.", [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 87 | | square, board)); [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` 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] 86 ~ debug_assert!(file == 4, "Error: King tried to castle from {} on:{}.", [INFO] [stdout] 87 ~ square, board); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/board/chess/move_gen.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | debug_assert!(file == 4, format!("Error: File is {}.", file)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` 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] 105 - debug_assert!(file == 4, format!("Error: File is {}.", file)); [INFO] [stdout] 105 + debug_assert!(file == 4, "Error: File is {}.", file); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/board/chess/board.rs:804:34 [INFO] [stdout] | [INFO] [stdout] 804 | (_, _) => panic!(format!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 805 | | "Error: Tried to castle to the {}th file. ", file_to)), [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] 804 ~ (_, _) => panic!( [INFO] [stdout] 805 ~ "Error: Tried to castle to the {}th file. ", file_to), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/board/chess/board.rs:908:38 [INFO] [stdout] | [INFO] [stdout] 908 | (_, _) => panic!(format!( [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 909 | | "Error: Tried to castle to the {}th file. ", file_to)), [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] 908 ~ (_, _) => panic!( [INFO] [stdout] 909 ~ "Error: Tried to castle to the {}th file. ", file_to), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/board/chess/board.rs:1154:31 [INFO] [stdout] | [INFO] [stdout] 1154 | debug_assert!(i < 64, format!("Tried to find piece at pos {} on board{}!", i, self)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` 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] 1154 - debug_assert!(i < 64, format!("Tried to find piece at pos {} on board{}!", i, self)); [INFO] [stdout] 1154 + debug_assert!(i < 64, "Tried to find piece at pos {} on board{}!", i, self); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/board/chess/board.rs:1162:31 [INFO] [stdout] | [INFO] [stdout] 1162 | debug_assert!(i < 64, format!("Tried to find piece at pos {} on board{}!", i, self)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` 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] 1162 - debug_assert!(i < 64, format!("Tried to find piece at pos {} on board{}!", i, self)); [INFO] [stdout] 1162 + debug_assert!(i < 64, "Tried to find piece at pos {} on board{}!", i, self); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/board/sjadam/board.rs:1238:26 [INFO] [stdout] | [INFO] [stdout] 1238 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 1238 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 1237 | IntoIterator::into_iter([(-1, -1), (0, -1), (1, -1), (-1, 0), (1, 0), (-1, 1), (0, 1), (1, 1)]) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/search_algorithms/monte_carlo.rs:106:36 [INFO] [stdout] | [INFO] [stdout] 106 | Err(err) => panic!(err), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 106 | Err(err) => panic!("{}", err), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 106 | Err(err) => std::panic::panic_any(err), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rasher` (bin "rasher" test) due to 2 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fcf609f036c04aa2d3486fa1958f8688a6b0266896af62b1e5baa55df2a96c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf609f036c04aa2d3486fa1958f8688a6b0266896af62b1e5baa55df2a96c17", kill_on_drop: false }` [INFO] [stdout] fcf609f036c04aa2d3486fa1958f8688a6b0266896af62b1e5baa55df2a96c17