[INFO] cloning repository https://github.com/Janos95/onion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Janos95/onion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanos95%2Fonion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanos95%2Fonion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63cedc6c183e30802cc79cd27e936993db89c2fe [INFO] testing Janos95/onion against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanos95%2Fonion" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Janos95/onion on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Janos95/onion [INFO] finished tweaking git repo https://github.com/Janos95/onion [INFO] tweaked toml for git repo https://github.com/Janos95/onion written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Janos95/onion 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arrayvec v0.7.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cb1a27bfa57c2b9e8e5cbb6c68a03385c237a9ae84ad6e8faf3122a71ccbbaa [INFO] running `Command { std: "docker" "start" "-a" "8cb1a27bfa57c2b9e8e5cbb6c68a03385c237a9ae84ad6e8faf3122a71ccbbaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cb1a27bfa57c2b9e8e5cbb6c68a03385c237a9ae84ad6e8faf3122a71ccbbaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cb1a27bfa57c2b9e8e5cbb6c68a03385c237a9ae84ad6e8faf3122a71ccbbaa", kill_on_drop: false }` [INFO] [stdout] 8cb1a27bfa57c2b9e8e5cbb6c68a03385c237a9ae84ad6e8faf3122a71ccbbaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00889ecb517fef45b0173f5a75635baf1bc3a6f83770bec34274b53079a36e8a [INFO] running `Command { std: "docker" "start" "-a" "00889ecb517fef45b0173f5a75635baf1bc3a6f83770bec34274b53079a36e8a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling libloading v0.8.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling xml-rs v0.8.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling simd-adler32 v0.3.5 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling crossfont v0.5.1 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling bitflags v2.3.2 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling png v0.17.9 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling wgpu-types v0.16.0 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling profiling v1.0.8 [INFO] [stderr] Compiling glow v0.12.2 [INFO] [stderr] Compiling arrayvec v0.7.3 [INFO] [stderr] Compiling renderdoc-sys v1.0.0 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling naga v0.12.2 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling js-sys v0.3.64 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.64 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.37 [INFO] [stderr] Compiling console_log v1.0.0 [INFO] [stderr] Compiling wgpu-hal v0.16.1 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling wgpu v0.16.1 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling onion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `waiting_for_promotion` is never read [INFO] [stdout] --> src/main.rs:753:29 [INFO] [stdout] | [INFO] [stdout] 753 | ... waiting_for_promotion = true; [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: value captured by `mouse_down` is never read [INFO] [stdout] --> src/main.rs:713:21 [INFO] [stdout] | [INFO] [stdout] 713 | mouse_down = state == winit::event::ElementState::Pressed; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `waiting_for_promotion` [INFO] [stdout] --> src/main.rs:753:29 [INFO] [stdout] | [INFO] [stdout] 753 | ... waiting_for_promotion = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `gpu_board` is never read [INFO] [stdout] --> src/main.rs:766:25 [INFO] [stdout] | [INFO] [stdout] 766 | gpu_board = GpuBoard::new(&position); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `us` [INFO] [stdout] --> src/main.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | fn pawn_attacks(us : usize, square : Square) -> Bitboard { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_us` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `square` [INFO] [stdout] --> src/main.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | fn pawn_attacks(us : usize, square : Square) -> Bitboard { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | let mut attacks = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:371:31 [INFO] [stdout] | [INFO] [stdout] 371 | fn get_attacks(from : Square, pos : &Position, piece_kind : PieceKind) -> Bitboard { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/main.rs:389:56 [INFO] [stdout] | [INFO] [stdout] 389 | fn generate_moves(pos : &Position, moves : &mut Moves, target : Bitboard, piece_kind : PieceKind) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_MASKS` is never used [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const FILE_MASKS: [u64; 8] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_MASKS` is never used [INFO] [stdout] --> src/main.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const RANK_MASKS: [u64; 8] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u8` is never used [INFO] [stdout] --> src/main.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl PieceKind { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 77 | fn from_u8(p : u8) -> PieceKind { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Promotion`, `EnPassant`, and `Castling` are never constructed [INFO] [stdout] --> src/main.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 108 | enum MoveType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 109 | Normal, [INFO] [stdout] 110 | Promotion, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | EnPassant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 112 | Castling, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pawn_attacks` is never used [INFO] [stdout] --> src/main.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn pawn_attacks(us : usize, square : Square) -> Bitboard { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "00889ecb517fef45b0173f5a75635baf1bc3a6f83770bec34274b53079a36e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00889ecb517fef45b0173f5a75635baf1bc3a6f83770bec34274b53079a36e8a", kill_on_drop: false }` [INFO] [stdout] 00889ecb517fef45b0173f5a75635baf1bc3a6f83770bec34274b53079a36e8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be594464654341eef03946b9f162944d9e07b862aa23ced41796188c42a860c4 [INFO] running `Command { std: "docker" "start" "-a" "be594464654341eef03946b9f162944d9e07b862aa23ced41796188c42a860c4", kill_on_drop: false }` [INFO] [stderr] Compiling onion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `waiting_for_promotion` is never read [INFO] [stdout] --> src/main.rs:753:29 [INFO] [stdout] | [INFO] [stdout] 753 | ... waiting_for_promotion = true; [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: value captured by `mouse_down` is never read [INFO] [stdout] --> src/main.rs:713:21 [INFO] [stdout] | [INFO] [stdout] 713 | mouse_down = state == winit::event::ElementState::Pressed; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `waiting_for_promotion` [INFO] [stdout] --> src/main.rs:753:29 [INFO] [stdout] | [INFO] [stdout] 753 | ... waiting_for_promotion = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `gpu_board` is never read [INFO] [stdout] --> src/main.rs:766:25 [INFO] [stdout] | [INFO] [stdout] 766 | gpu_board = GpuBoard::new(&position); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `us` [INFO] [stdout] --> src/main.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | fn pawn_attacks(us : usize, square : Square) -> Bitboard { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_us` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `square` [INFO] [stdout] --> src/main.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | fn pawn_attacks(us : usize, square : Square) -> Bitboard { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | let mut attacks = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:371:31 [INFO] [stdout] | [INFO] [stdout] 371 | fn get_attacks(from : Square, pos : &Position, piece_kind : PieceKind) -> Bitboard { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/main.rs:389:56 [INFO] [stdout] | [INFO] [stdout] 389 | fn generate_moves(pos : &Position, moves : &mut Moves, target : Bitboard, piece_kind : PieceKind) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_MASKS` is never used [INFO] [stdout] --> src/main.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const FILE_MASKS: [u64; 8] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RANK_MASKS` is never used [INFO] [stdout] --> src/main.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const RANK_MASKS: [u64; 8] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u8` is never used [INFO] [stdout] --> src/main.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl PieceKind { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 77 | fn from_u8(p : u8) -> PieceKind { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Promotion`, `EnPassant`, and `Castling` are never constructed [INFO] [stdout] --> src/main.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 108 | enum MoveType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 109 | Normal, [INFO] [stdout] 110 | Promotion, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 111 | EnPassant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 112 | Castling, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pawn_attacks` is never used [INFO] [stdout] --> src/main.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn pawn_attacks(us : usize, square : Square) -> Bitboard { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "be594464654341eef03946b9f162944d9e07b862aa23ced41796188c42a860c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be594464654341eef03946b9f162944d9e07b862aa23ced41796188c42a860c4", kill_on_drop: false }` [INFO] [stdout] be594464654341eef03946b9f162944d9e07b862aa23ced41796188c42a860c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6c153a6470a313facbf5f63d8cab5d92303fb7d0c19451088f6d13c9fad3fbaf [INFO] running `Command { std: "docker" "start" "-a" "6c153a6470a313facbf5f63d8cab5d92303fb7d0c19451088f6d13c9fad3fbaf", kill_on_drop: false }` [INFO] [stderr] warning: value assigned to `waiting_for_promotion` is never read [INFO] [stderr] --> src/main.rs:753:29 [INFO] [stderr] | [INFO] [stderr] 753 | ... waiting_for_promotion = true; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value captured by `mouse_down` is never read [INFO] [stderr] --> src/main.rs:713:21 [INFO] [stderr] | [INFO] [stderr] 713 | mouse_down = state == winit::event::ElementState::Pressed; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `waiting_for_promotion` [INFO] [stderr] --> src/main.rs:753:29 [INFO] [stderr] | [INFO] [stderr] 753 | ... waiting_for_promotion = true; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value captured by `gpu_board` is never read [INFO] [stderr] --> src/main.rs:766:25 [INFO] [stderr] | [INFO] [stderr] 766 | gpu_board = GpuBoard::new(&position); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `us` [INFO] [stderr] --> src/main.rs:271:17 [INFO] [stderr] | [INFO] [stderr] 271 | fn pawn_attacks(us : usize, square : Square) -> Bitboard { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_us` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `square` [INFO] [stderr] --> src/main.rs:271:29 [INFO] [stderr] | [INFO] [stderr] 271 | fn pawn_attacks(us : usize, square : Square) -> Bitboard { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:272:9 [INFO] [stderr] | [INFO] [stderr] 272 | let mut attacks = 0; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/main.rs:371:31 [INFO] [stderr] | [INFO] [stderr] 371 | fn get_attacks(from : Square, pos : &Position, piece_kind : PieceKind) -> Bitboard { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/main.rs:389:56 [INFO] [stderr] | [INFO] [stderr] 389 | fn generate_moves(pos : &Position, moves : &mut Moves, target : Bitboard, piece_kind : PieceKind) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: constant `FILE_MASKS` is never used [INFO] [stderr] --> src/main.rs:21:7 [INFO] [stderr] | [INFO] [stderr] 21 | const FILE_MASKS: [u64; 8] = [ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `RANK_MASKS` is never used [INFO] [stderr] --> src/main.rs:32:7 [INFO] [stderr] | [INFO] [stderr] 32 | const RANK_MASKS: [u64; 8] = [ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_u8` is never used [INFO] [stderr] --> src/main.rs:77:8 [INFO] [stderr] | [INFO] [stderr] 76 | impl PieceKind { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 77 | fn from_u8(p : u8) -> PieceKind { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Promotion`, `EnPassant`, and `Castling` are never constructed [INFO] [stderr] --> src/main.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 108 | enum MoveType { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] 109 | Normal, [INFO] [stderr] 110 | Promotion, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 111 | EnPassant, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 112 | Castling, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `pawn_attacks` is never used [INFO] [stderr] --> src/main.rs:271:4 [INFO] [stderr] | [INFO] [stderr] 271 | fn pawn_attacks(us : usize, square : Square) -> Bitboard { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `onion` (bin "onion" test) generated 14 warnings (run `cargo fix --bin "onion" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/onion-45e351decf4337e5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6c153a6470a313facbf5f63d8cab5d92303fb7d0c19451088f6d13c9fad3fbaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c153a6470a313facbf5f63d8cab5d92303fb7d0c19451088f6d13c9fad3fbaf", kill_on_drop: false }` [INFO] [stdout] 6c153a6470a313facbf5f63d8cab5d92303fb7d0c19451088f6d13c9fad3fbaf