[INFO] cloning repository https://github.com/simon-void/chess_replay_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simon-void/chess_replay_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimon-void%2Fchess_replay_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimon-void%2Fchess_replay_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76bd4ea25f514867508c48fb306e392f3bd53554 [INFO] testing simon-void/chess_replay_rs/76bd4ea25f514867508c48fb306e392f3bd53554 against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimon-void%2Fchess_replay_rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simon-void/chess_replay_rs on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/simon-void/chess_replay_rs [INFO] finished tweaking git repo https://github.com/simon-void/chess_replay_rs [INFO] tweaked toml for git repo https://github.com/simon-void/chess_replay_rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/simon-void/chess_replay_rs 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34b649f74188a5cb67f81fab9dd9eeeb61b9017ef148f44c5d32c130086ab5ca [INFO] running `Command { std: "docker" "start" "-a" "34b649f74188a5cb67f81fab9dd9eeeb61b9017ef148f44c5d32c130086ab5ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34b649f74188a5cb67f81fab9dd9eeeb61b9017ef148f44c5d32c130086ab5ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34b649f74188a5cb67f81fab9dd9eeeb61b9017ef148f44c5d32c130086ab5ca", kill_on_drop: false }` [INFO] [stdout] 34b649f74188a5cb67f81fab9dd9eeeb61b9017ef148f44c5d32c130086ab5ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b447149b0429c982e9b52ad8635d3c275379fee122f108e0aaf5d574d2c4c977 [INFO] running `Command { std: "docker" "start" "-a" "b447149b0429c982e9b52ad8635d3c275379fee122f108e0aaf5d574d2c4c977", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.89 [INFO] [stderr] Compiling js-sys v0.3.66 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.66 [INFO] [stderr] Compiling logic_core v0.0.1 (/opt/rustwide/workdir/workspace/logic_core) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> workspace/logic_core/src/base/position.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::{Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Direction` is imported redundantly [INFO] [stdout] --> workspace/logic_core/src/figure/functions/checkmate.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base::*; [INFO] [stdout] | -------------- the item `Direction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::base::direction::{Direction, ALL_DIRECTIONS}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ALL_DIRECTIONS` is imported redundantly [INFO] [stdout] --> workspace/logic_core/src/figure/functions/checkmate.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base::*; [INFO] [stdout] | -------------- the item `ALL_DIRECTIONS` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::base::direction::{Direction, ALL_DIRECTIONS}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chess_logic_wasm v0.1.0 (/opt/rustwide/workdir/workspace/wasm) [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> workspace/wasm/src/lib.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::{Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.72s [INFO] running `Command { std: "docker" "inspect" "b447149b0429c982e9b52ad8635d3c275379fee122f108e0aaf5d574d2c4c977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b447149b0429c982e9b52ad8635d3c275379fee122f108e0aaf5d574d2c4c977", kill_on_drop: false }` [INFO] [stdout] b447149b0429c982e9b52ad8635d3c275379fee122f108e0aaf5d574d2c4c977 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 596fb3196c69dc02f1769e00320a8fd1643225210558ab3c7ba63bf6dfcb1da4 [INFO] running `Command { std: "docker" "start" "-a" "596fb3196c69dc02f1769e00320a8fd1643225210558ab3c7ba63bf6dfcb1da4", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling relative-path v1.9.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.89 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Compiling js-sys v0.3.66 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling web-sys v0.3.66 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling logic_core v0.0.1 (/opt/rustwide/workdir/workspace/logic_core) [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> workspace/logic_core/src/base/position.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::{Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Direction` is imported redundantly [INFO] [stdout] --> workspace/logic_core/src/figure/functions/checkmate.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base::*; [INFO] [stdout] | -------------- the item `Direction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::base::direction::{Direction, ALL_DIRECTIONS}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ALL_DIRECTIONS` is imported redundantly [INFO] [stdout] --> workspace/logic_core/src/figure/functions/checkmate.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base::*; [INFO] [stdout] | -------------- the item `ALL_DIRECTIONS` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::base::direction::{Direction, ALL_DIRECTIONS}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rstest v0.18.2 [INFO] [stderr] Compiling chess_logic_wasm v0.1.0 (/opt/rustwide/workdir/workspace/wasm) [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> workspace/wasm/src/lib.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::{Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Vec` [INFO] [stdout] --> workspace/wasm/src/lib.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | / assert_eq!( [INFO] [stdout] 310 | | actual_decoded, [INFO] [stdout] 311 | | expected_decoded, [INFO] [stdout] 312 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________Vec [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chess_logic_wasm` (lib test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> workspace/logic_core/src/base/position.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::{Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ALL_DIRECTIONS` is imported redundantly [INFO] [stdout] --> workspace/logic_core/src/figure/functions/checkmate.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base::*; [INFO] [stdout] | -------------- the item `ALL_DIRECTIONS` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::base::direction::{Direction, ALL_DIRECTIONS}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GameState` is imported redundantly [INFO] [stdout] --> workspace/logic_core/src/figure/functions/checkmate.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 336 | use super::*; [INFO] [stdout] | -------- the item `GameState` is already imported here [INFO] [stdout] 337 | use rstest::*; [INFO] [stdout] 338 | use crate::game::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GameState` is imported redundantly [INFO] [stdout] --> workspace/logic_core/src/game/game_state.rs:729:23 [INFO] [stdout] | [INFO] [stdout] 727 | use super::*; [INFO] [stdout] | -------- the item `GameState` is already imported here [INFO] [stdout] 728 | use rstest::*; [INFO] [stdout] 729 | use crate::game::{GameState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "596fb3196c69dc02f1769e00320a8fd1643225210558ab3c7ba63bf6dfcb1da4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "596fb3196c69dc02f1769e00320a8fd1643225210558ab3c7ba63bf6dfcb1da4", kill_on_drop: false }` [INFO] [stdout] 596fb3196c69dc02f1769e00320a8fd1643225210558ab3c7ba63bf6dfcb1da4