[INFO] cloning repository https://github.com/nkoppel/chess_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nkoppel/chess_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnkoppel%2Fchess_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnkoppel%2Fchess_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cc4ab6a7a1e6fdf4c3ab3935dc4292ecf17f793 [INFO] testing nkoppel/chess_engine against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnkoppel%2Fchess_engine" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nkoppel/chess_engine on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nkoppel/chess_engine [INFO] finished tweaking git repo https://github.com/nkoppel/chess_engine [INFO] tweaked toml for git repo https://github.com/nkoppel/chess_engine written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/nkoppel/chess_engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ff193d0d6d537b199ba10f7c75deb8efd1782087908004be77ae882daa8101a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7ff193d0d6d537b199ba10f7c75deb8efd1782087908004be77ae882daa8101a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ff193d0d6d537b199ba10f7c75deb8efd1782087908004be77ae882daa8101a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ff193d0d6d537b199ba10f7c75deb8efd1782087908004be77ae882daa8101a", kill_on_drop: false }` [INFO] [stdout] 7ff193d0d6d537b199ba10f7c75deb8efd1782087908004be77ae882daa8101a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ccbc007f92434ab8ef24d2db702c8c69f4e5e68728d1abc7702a324bb13a875 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2ccbc007f92434ab8ef24d2db702c8c69f4e5e68728d1abc7702a324bb13a875", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling chess_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gen_table::print_board` [INFO] [stdout] --> src/board.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::gen_table::print_board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/board.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | let all = (self.curr | self.other); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/board.rs:281:22 [INFO] [stdout] | [INFO] [stdout] 281 | for x in (0..8) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/board.rs:288:22 [INFO] [stdout] | [INFO] [stdout] 288 | for x in (0..8) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/board.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | for x in (0..8) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/board.rs:382:27 [INFO] [stdout] | [INFO] [stdout] 382 | let pos = (x + y * 8); [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `En_passant` should have an upper camel case name [INFO] [stdout] --> src/movegen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | En_passant(u8, u8), [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnPassant` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Castle_king` should have an upper camel case name [INFO] [stdout] --> src/movegen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Castle_king, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CastleKing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Castle_queen` should have an upper camel case name [INFO] [stdout] --> src/movegen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Castle_queen, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CastleQueen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Piece::*`, `Piece` [INFO] [stdout] --> src/position.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::board::{Board, Piece, Piece::*}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LocStack`, `new_tables`, `print_board` [INFO] [stdout] --> src/position.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::gen_table::{LocStack, Tables, new_tables, print_board}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Moves` [INFO] [stdout] --> src/search.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::movegen::{Moves, Move, Move::*}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::Board` [INFO] [stdout] --> src/search.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::board::Board; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/search.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/search.rs:268:23 [INFO] [stdout] | [INFO] [stdout] 268 | let mut score = 0;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `print_board` [INFO] [stdout] --> src/eval.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::gen_table::{print_board, LocStack}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Board`, `Piece::*`, `Piece` [INFO] [stdout] --> src/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::board::{Board, Piece, Piece::*}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Move::*` [INFO] [stdout] --> src/main.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::movegen::{*, Move::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test::Bencher` [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chess_engine`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "2ccbc007f92434ab8ef24d2db702c8c69f4e5e68728d1abc7702a324bb13a875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ccbc007f92434ab8ef24d2db702c8c69f4e5e68728d1abc7702a324bb13a875", kill_on_drop: false }` [INFO] [stdout] 2ccbc007f92434ab8ef24d2db702c8c69f4e5e68728d1abc7702a324bb13a875