[INFO] cloning repository https://github.com/hieunguyent12/friendly-chess-workspace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hieunguyent12/friendly-chess-workspace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhieunguyent12%2Ffriendly-chess-workspace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhieunguyent12%2Ffriendly-chess-workspace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36c2f7f4bd5c44bd6cea92b82d409c8285afd3ee [INFO] testing hieunguyent12/friendly-chess-workspace against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhieunguyent12%2Ffriendly-chess-workspace" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hieunguyent12/friendly-chess-workspace on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hieunguyent12/friendly-chess-workspace [INFO] finished tweaking git repo https://github.com/hieunguyent12/friendly-chess-workspace [INFO] tweaked toml for git repo https://github.com/hieunguyent12/friendly-chess-workspace written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hieunguyent12/friendly-chess-workspace 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" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-3-tc2/source/friendly-chess-wasm/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf23ad2764d868cf68f8bf3d44ed7304d1e634752c16bf13873a4ac0e0a12da3 [INFO] running `Command { std: "docker" "start" "-a" "bf23ad2764d868cf68f8bf3d44ed7304d1e634752c16bf13873a4ac0e0a12da3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf23ad2764d868cf68f8bf3d44ed7304d1e634752c16bf13873a4ac0e0a12da3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf23ad2764d868cf68f8bf3d44ed7304d1e634752c16bf13873a4ac0e0a12da3", kill_on_drop: false }` [INFO] [stdout] bf23ad2764d868cf68f8bf3d44ed7304d1e634752c16bf13873a4ac0e0a12da3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efe2ca82c36d4a55c441d8ddb8d0df89bac8c911311bd0ed5b80fc81e8245b21 [INFO] running `Command { std: "docker" "start" "-a" "efe2ca82c36d4a55c441d8ddb8d0df89bac8c911311bd0ed5b80fc81e8245b21", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/friendly-chess-wasm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.180 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling serde_derive v1.0.180 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling friendly-chess v0.1.0 (/opt/rustwide/workdir/friendly-chess) [INFO] [stdout] warning: unused imports: `Castling`, `PieceType`, and `Piece` [INFO] [stdout] --> friendly-chess/src/chess/history.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | castling::{Castling, CastlingRights}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | play_move::InternalMove, [INFO] [stdout] 4 | Color, Kings, Piece, PieceType, SquareCoordinate, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `__BAD_COORD` should have an upper camel case name [INFO] [stdout] --> friendly-chess/src/chess/square.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | __BAD_COORD = 200 [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `BadCoord` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piece::*` [INFO] [stdout] --> friendly-chess/src/chess/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use piece::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> friendly-chess/src/chess/mod.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | if (rank == 8 || rank == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1237 - if (rank == 8 || rank == 1) { [INFO] [stdout] 1237 + if rank == 8 || rank == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cnt` is never read [INFO] [stdout] --> friendly-chess/src/chess/mod.rs:811:17 [INFO] [stdout] | [INFO] [stdout] 811 | let mut cnt = Ok(0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> friendly-chess/src/chess/mod.rs:1091:29 [INFO] [stdout] | [INFO] [stdout] 1091 | let a = 1; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stdout] error: older versions of the `wasm-bindgen` crate are incompatible with current versions of Rust; please update to `wasm-bindgen` v0.2.88 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-bindgen` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "efe2ca82c36d4a55c441d8ddb8d0df89bac8c911311bd0ed5b80fc81e8245b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efe2ca82c36d4a55c441d8ddb8d0df89bac8c911311bd0ed5b80fc81e8245b21", kill_on_drop: false }` [INFO] [stdout] efe2ca82c36d4a55c441d8ddb8d0df89bac8c911311bd0ed5b80fc81e8245b21