[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] testing MortenLohne/rasher against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMortenLohne%2Frasher" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MortenLohne/rasher on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-17/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/MortenLohne/chess-bitboard` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error-chain v0.5.0 [INFO] [stderr] Downloaded cpuprofiler v0.0.3 [INFO] [stderr] Downloaded pgn-traits v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9476cd1ec164fa97f6629a813eb7ce7f523340a7772a87d11f03696ed35cd823 [INFO] running `Command { std: "docker" "start" "-a" "9476cd1ec164fa97f6629a813eb7ce7f523340a7772a87d11f03696ed35cd823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9476cd1ec164fa97f6629a813eb7ce7f523340a7772a87d11f03696ed35cd823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9476cd1ec164fa97f6629a813eb7ce7f523340a7772a87d11f03696ed35cd823", kill_on_drop: false }` [INFO] [stdout] 9476cd1ec164fa97f6629a813eb7ce7f523340a7772a87d11f03696ed35cd823 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fe9507c575cd2dd13d242b6bd7ab927ab0b1afbf86fb49764197bf3588054cd [INFO] running `Command { std: "docker" "start" "-a" "9fe9507c575cd2dd13d242b6bd7ab927ab0b1afbf86fb49764197bf3588054cd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling board-game-traits v0.1.0 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling chess-bitboard v0.1.0 (https://github.com/MortenLohne/chess-bitboard#e3d5a02c) [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling pgn-traits v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [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] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Compiling log4rs v0.8.3 [INFO] [stderr] Compiling rasher v0.1.0 (/opt/rustwide/workdir) [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] = 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/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] = note: `#[warn(bare_trait_objects)]` 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn init_log() -> Result<(), Box> { [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn connect_engine(stdin : &mut io::BufRead) -> Result<(), Box> [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn connect_engine(stdin : &mut io::BufRead) -> Result<(), Box> [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 264 - searchmoves_input: Option>) -> Result, Box> [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 386 - -> Result<(), Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 570 - pub fn get_engine_input(stdin : &mut io::BufRead) -> Result { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 587 - fn parse_position (input : &str) -> Result> [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - -> Box>>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - -> Box>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 - _: Option::Move>>) -> Box>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 636 - let move_filter : Box bool> = [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 676 - let move_filter : Box bool> = [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: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [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: `#[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] 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] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [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: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.71s [INFO] running `Command { std: "docker" "inspect" "9fe9507c575cd2dd13d242b6bd7ab927ab0b1afbf86fb49764197bf3588054cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fe9507c575cd2dd13d242b6bd7ab927ab0b1afbf86fb49764197bf3588054cd", kill_on_drop: false }` [INFO] [stdout] 9fe9507c575cd2dd13d242b6bd7ab927ab0b1afbf86fb49764197bf3588054cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e4d4eccf7ea7c5c202b2382b84e202b55d049c9cf2648bc196dba36fdfb9123 [INFO] running `Command { std: "docker" "start" "-a" "7e4d4eccf7ea7c5c202b2382b84e202b55d049c9cf2648bc196dba36fdfb9123", kill_on_drop: false }` [INFO] [stderr] Compiling 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] = 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/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] = note: `#[warn(bare_trait_objects)]` 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - fn init_log() -> Result<(), Box> { [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn connect_engine(stdin : &mut io::BufRead) -> Result<(), Box> [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - pub fn connect_engine(stdin : &mut io::BufRead) -> Result<(), Box> [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 264 - searchmoves_input: Option>) -> Result, Box> [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 386 - -> Result<(), Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 570 - pub fn get_engine_input(stdin : &mut io::BufRead) -> Result { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 587 - fn parse_position (input : &str) -> Result> [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - -> Box>>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - -> Box>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 - _: Option::Move>>) -> Box>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 636 - let move_filter : Box bool> = [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 676 - let move_filter : Box bool> = [INFO] [stdout] 676 + let move_filter : Box bool> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 21 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` due to 2 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7e4d4eccf7ea7c5c202b2382b84e202b55d049c9cf2648bc196dba36fdfb9123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e4d4eccf7ea7c5c202b2382b84e202b55d049c9cf2648bc196dba36fdfb9123", kill_on_drop: false }` [INFO] [stdout] 7e4d4eccf7ea7c5c202b2382b84e202b55d049c9cf2648bc196dba36fdfb9123