[INFO] cloning repository https://github.com/vitvakatu/chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vitvakatu/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitvakatu%2Fchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitvakatu%2Fchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0a5bf3272ec559a9b79e3a6d19d9b66a7f3432f [INFO] testing vitvakatu/chess against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitvakatu%2Fchess" "/workspace/builds/worker-59/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-59/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vitvakatu/chess 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/vitvakatu/chess [INFO] finished tweaking git repo https://github.com/vitvakatu/chess [INFO] tweaked toml for git repo https://github.com/vitvakatu/chess written to /workspace/builds/worker-59/source/Cargo.toml [INFO] crate git repo https://github.com/vitvakatu/chess 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yew v0.19.3 [INFO] [stderr] Downloaded gloo-file v0.2.1 [INFO] [stderr] Downloaded gloo-utils v0.1.2 [INFO] [stderr] Downloaded yew-macro v0.19.3 [INFO] [stderr] Downloaded gloo v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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] e8d5c0cc473faaa85efca88198c0b95e3da663eeee4a866482ab60e913899222 [INFO] running `Command { std: "docker" "start" "-a" "e8d5c0cc473faaa85efca88198c0b95e3da663eeee4a866482ab60e913899222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8d5c0cc473faaa85efca88198c0b95e3da663eeee4a866482ab60e913899222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d5c0cc473faaa85efca88198c0b95e3da663eeee4a866482ab60e913899222", kill_on_drop: false }` [INFO] [stdout] e8d5c0cc473faaa85efca88198c0b95e3da663eeee4a866482ab60e913899222 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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] 112032ad23188806d69d9dde580fc1f3637ad2335058a66c8631bedc6ee4d30e [INFO] running `Command { std: "docker" "start" "-a" "112032ad23188806d69d9dde580fc1f3637ad2335058a66c8631bedc6ee4d30e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling js-sys v0.3.56 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.56 [INFO] [stderr] Compiling gloo-timers v0.2.3 [INFO] [stderr] Compiling serde-wasm-bindgen v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.29 [INFO] [stderr] Compiling gloo-utils v0.1.2 [INFO] [stderr] Compiling gloo-events v0.1.1 [INFO] [stderr] Compiling gloo-console v0.2.1 [INFO] [stderr] Compiling gloo-render v0.1.0 [INFO] [stderr] Compiling gloo-dialogs v0.1.0 [INFO] [stderr] Compiling gloo-file v0.2.1 [INFO] [stderr] Compiling gloo-storage v0.2.0 [INFO] [stderr] Compiling gloo-history v0.1.0 [INFO] [stderr] Compiling gloo-worker v0.1.0 [INFO] [stderr] Compiling gloo v0.4.2 [INFO] [stderr] Compiling yew v0.19.3 [INFO] [stderr] Compiling gloo v0.6.0 [INFO] [stderr] Compiling chess v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `moves::PromotedTo` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use moves::PromotedTo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `Pos`, `Rank` [INFO] [stdout] --> src/board/castling.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::pos::{Pos, File, Rank}; [INFO] [stdout] | ^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::piece::PieceColor` [INFO] [stdout] --> src/board/castling.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::piece::PieceColor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::BoardState` [INFO] [stdout] --> src/board/castling.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::board::BoardState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::BoardState` [INFO] [stdout] --> src/move_list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::board::BoardState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::moves::san::Move` [INFO] [stdout] --> src/move_list.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::moves::san::Move; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Msg` [INFO] [stdout] --> src/move_list.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Msg; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::BoardState` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::board::BoardState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::GameResult` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::board::GameResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::board::Square` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::board::Square; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::moves::internal::Move` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::moves::internal::Move; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::moves::CastlingSide` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::moves::CastlingSide; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PieceColor`, `PieceType`, `Piece` [INFO] [stdout] --> src/main.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::piece::{Piece, PieceColor, PieceType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `Rank` [INFO] [stdout] --> src/main.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::pos::{File, Pos, Rank}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/board.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/board.rs:236:70 [INFO] [stdout] | [INFO] [stdout] 236 | let active_piece_highlight = self.state.selected_piece.map(|(piece, pos)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/pos.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn left(&self, n: u8) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/pos.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn right(&self, n: u8) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/board/state.rs:221:58 [INFO] [stdout] | [INFO] [stdout] 221 | .filter(|(Piece { kind, color }, pos)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/board/state.rs:232:38 [INFO] [stdout] | [INFO] [stdout] 232 | .filter(|(m, pos)| m.to() == Some(to)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/board/state.rs:251:54 [INFO] [stdout] | [INFO] [stdout] 251 | .filter(|(Piece { kind, color }, pos)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FOOLS_MATE` [INFO] [stdout] --> src/fen.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const FOOLS_MATE: &str = "rnbqkbnr/pppppppp/8/7Q/2B5/8/PPPP1PPP/RNB1K1NR"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TWO_KINGS` [INFO] [stdout] --> src/fen.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const TWO_KINGS: &str = "4k3/8/8/8/8/8/8/3K4"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plies_since_last_non_repeatable_move` [INFO] [stdout] --> src/board/state.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn plies_since_last_non_repeatable_move(&self) -> Ply { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_number` [INFO] [stdout] --> src/board/state.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn move_number(&self) -> MoveNumber { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/moves.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn from(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(bool_to_option)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 26 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` due to 2 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "112032ad23188806d69d9dde580fc1f3637ad2335058a66c8631bedc6ee4d30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "112032ad23188806d69d9dde580fc1f3637ad2335058a66c8631bedc6ee4d30e", kill_on_drop: false }` [INFO] [stdout] 112032ad23188806d69d9dde580fc1f3637ad2335058a66c8631bedc6ee4d30e