[INFO] cloning repository https://github.com/thanadolps/chess_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thanadolps/chess_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanadolps%2Fchess_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanadolps%2Fchess_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 184594cc6bd7a091f575645af1326d1c58a2ad27 [INFO] building thanadolps/chess_game against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanadolps%2Fchess_game" "/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/thanadolps/chess_game on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/thanadolps/chess_game [INFO] finished tweaking git repo https://github.com/thanadolps/chess_game [INFO] tweaked toml for git repo https://github.com/thanadolps/chess_game written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thanadolps/chess_game 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" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] building thanadolps/chess_game against try#fe8f664b41f030f307cfeb6cb8c3a1419292aeed for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanadolps%2Fchess_game" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thanadolps/chess_game on toolchain fe8f664b41f030f307cfeb6cb8c3a1419292aeed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/thanadolps/chess_game [INFO] finished tweaking git repo https://github.com/thanadolps/chess_game [INFO] tweaked toml for git repo https://github.com/thanadolps/chess_game written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thanadolps/chess_game 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" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "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 piston2d-graphics v0.41.0 [INFO] [stderr] Downloaded piston_window v0.121.0 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.74.0 [INFO] [stderr] Downloaded nix v0.20.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 475eee9a2a2286d44e84d2a2606b3031c193693a90306eaccd13af8e5f59498e [INFO] running `Command { std: "docker" "start" "-a" "475eee9a2a2286d44e84d2a2606b3031c193693a90306eaccd13af8e5f59498e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "475eee9a2a2286d44e84d2a2606b3031c193693a90306eaccd13af8e5f59498e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "475eee9a2a2286d44e84d2a2606b3031c193693a90306eaccd13af8e5f59498e", kill_on_drop: false }` [INFO] [stdout] 475eee9a2a2286d44e84d2a2606b3031c193693a90306eaccd13af8e5f59498e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-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" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9e83338d14e56975d3fae18e81e39f5c10c75e0ee7bce6b046aad813aee7fb1 [INFO] running `Command { std: "docker" "start" "-a" "d9e83338d14e56975d3fae18e81e39f5c10c75e0ee7bce6b046aad813aee7fb1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling nix v0.20.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling png v0.16.3 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling spin_sleep v1.0.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling piston2d-graphics v0.41.0 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling lru v0.7.2 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling chess v3.2.0 [INFO] [stderr] Compiling piston-gfx_texture v0.41.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.74.0 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling pistoncore-window v0.47.1 [INFO] [stderr] Compiling pistoncore-event_loop v0.53.1 [INFO] [stderr] Compiling piston v0.53.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.69.0 [INFO] [stderr] Compiling piston_window v0.121.0 [INFO] [stderr] Compiling chess_try v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Board`, `ChessMove`, `Color`, `Game`, `MoveGen`, `Piece`, `Square` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use chess::{Board, ChessMove, Color, Game, MoveGen, Piece, Square}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^ ^^^^ ^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdin` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ALL_FILES`, `ALL_RANKS`, `NUM_RANKS` [INFO] [stdout] --> src/chess_minmax.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | Board, BoardStatus, ChessMove, Color, MoveGen, Piece, ALL_FILES, ALL_RANKS, EMPTY, NUM_RANKS, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ALL_FILES`, `ALL_RANKS`, `NUM_RANKS` [INFO] [stdout] --> src/chess_minmax/main_evalation.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use chess::{BitBoard, Board, Color, Piece, ALL_FILES, ALL_RANKS, NUM_RANKS}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chess_minmax::negamax_prelude` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use chess_minmax::negamax_prelude; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lru::LruCache` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use lru::LruCache; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_act` [INFO] [stdout] --> src/chess_graphic.rs:402:22 [INFO] [stdout] | [INFO] [stdout] 402 | if let Some((last_act, prev_acts)) = self.chess_game.actions().split_last() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_act` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/chess_graphic.rs:511:25 [INFO] [stdout] | [INFO] [stdout] 511 | .for_each(|(i, mov)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluation_count_pieces` is never used [INFO] [stdout] --> src/chess_minmax.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn evaluation_count_pieces(board: &Board) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluation_reverse_count_pieces` is never used [INFO] [stdout] --> src/chess_minmax.rs:284:4 [INFO] [stdout] | [INFO] [stdout] 284 | fn evaluation_reverse_count_pieces(board: &Board) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluation_pawn_motion` is never used [INFO] [stdout] --> src/chess_minmax.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn evaluation_pawn_motion(board: &Board) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluation_freedom` is never used [INFO] [stdout] --> src/chess_minmax.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn evaluation_freedom(board: &Board) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluation_pieces_worth` is never used [INFO] [stdout] --> src/chess_minmax.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn evaluation_pieces_worth(board: &Board) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/chess_graphic.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl ChessGraphic { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn from_str( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE` is never used [INFO] [stdout] --> src/chess_graphic/colors.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const WHITE: [f32; 4] = [1.0; 4]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK` is never used [INFO] [stdout] --> src/chess_graphic/colors.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const BLACK: [f32; 4] = [0.0, 0.0, 0.0, 1.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAT_BLUE` is never used [INFO] [stdout] --> src/chess_graphic/colors.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const MAT_BLUE: [f32; 4] = [0.129, 0.588, 0.953, 1.0]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAT_ORANGE` is never used [INFO] [stdout] --> src/chess_graphic/colors.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MAT_ORANGE: [f32; 4] = [0.953, 0.494, 0.129, 1.0]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAT_GREEN` is never used [INFO] [stdout] --> src/chess_graphic/colors.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MAT_GREEN: [f32; 4] = [0.29, 0.812, 0.314, 1.0]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAT_LIME` is never used [INFO] [stdout] --> src/chess_graphic/colors.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MAT_LIME: [f32; 4] = [0.804, 0.863, 0.224, 1.0]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAS_GREEN` is never used [INFO] [stdout] --> src/chess_graphic/colors.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PAS_GREEN: [f32; 4] = [0.467, 0.867, 0.467, 1.0]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.79s [INFO] running `Command { std: "docker" "inspect" "d9e83338d14e56975d3fae18e81e39f5c10c75e0ee7bce6b046aad813aee7fb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e83338d14e56975d3fae18e81e39f5c10c75e0ee7bce6b046aad813aee7fb1", kill_on_drop: false }` [INFO] [stdout] d9e83338d14e56975d3fae18e81e39f5c10c75e0ee7bce6b046aad813aee7fb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-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" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13da26206a2beb2fadc1b3fbe96ee83c0a9a0d76a061f233cfd5500e47c76e81 [INFO] running `Command { std: "docker" "start" "-a" "13da26206a2beb2fadc1b3fbe96ee83c0a9a0d76a061f233cfd5500e47c76e81", kill_on_drop: false }` [INFO] [stderr] Compiling chess_try v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Board`, `ChessMove`, `Color`, `Game`, `MoveGen`, `Piece`, `Square` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use chess::{Board, ChessMove, Color, Game, MoveGen, Piece, Square}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^ ^^^^ ^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdin` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ALL_FILES`, `ALL_RANKS`, `NUM_RANKS` [INFO] [stdout] --> src/chess_minmax.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | Board, BoardStatus, ChessMove, Color, MoveGen, Piece, ALL_FILES, ALL_RANKS, EMPTY, NUM_RANKS, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ALL_FILES`, `ALL_RANKS`, `NUM_RANKS` [INFO] [stdout] --> src/chess_minmax/main_evalation.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use chess::{BitBoard, Board, Color, Piece, ALL_FILES, ALL_RANKS, NUM_RANKS}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chess_minmax::negamax_prelude` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use chess_minmax::negamax_prelude; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lru::LruCache` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use lru::LruCache; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_act` [INFO] [stdout] --> src/chess_graphic.rs:402:22 [INFO] [stdout] | [INFO] [stdout] 402 | if let Some((last_act, prev_acts)) = self.chess_game.actions().split_last() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_act` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/chess_graphic.rs:511:25 [INFO] [stdout] | [INFO] [stdout] 511 | .for_each(|(i, mov)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluation_count_pieces` is never used [INFO] [stdout] --> src/chess_minmax.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn evaluation_count_pieces(board: &Board) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluation_reverse_count_pieces` is never used [INFO] [stdout] --> src/chess_minmax.rs:284:4 [INFO] [stdout] | [INFO] [stdout] 284 | fn evaluation_reverse_count_pieces(board: &Board) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluation_pawn_motion` is never used [INFO] [stdout] --> src/chess_minmax.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn evaluation_pawn_motion(board: &Board) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluation_freedom` is never used [INFO] [stdout] --> src/chess_minmax.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn evaluation_freedom(board: &Board) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluation_pieces_worth` is never used [INFO] [stdout] --> src/chess_minmax.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn evaluation_pieces_worth(board: &Board) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/chess_graphic.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl ChessGraphic { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn from_str( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE` is never used [INFO] [stdout] --> src/chess_graphic/colors.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const WHITE: [f32; 4] = [1.0; 4]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK` is never used [INFO] [stdout] --> src/chess_graphic/colors.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const BLACK: [f32; 4] = [0.0, 0.0, 0.0, 1.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAT_BLUE` is never used [INFO] [stdout] --> src/chess_graphic/colors.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const MAT_BLUE: [f32; 4] = [0.129, 0.588, 0.953, 1.0]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAT_ORANGE` is never used [INFO] [stdout] --> src/chess_graphic/colors.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MAT_ORANGE: [f32; 4] = [0.953, 0.494, 0.129, 1.0]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAT_GREEN` is never used [INFO] [stdout] --> src/chess_graphic/colors.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MAT_GREEN: [f32; 4] = [0.29, 0.812, 0.314, 1.0]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAT_LIME` is never used [INFO] [stdout] --> src/chess_graphic/colors.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MAT_LIME: [f32; 4] = [0.804, 0.863, 0.224, 1.0]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAS_GREEN` is never used [INFO] [stdout] --> src/chess_graphic/colors.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PAS_GREEN: [f32; 4] = [0.467, 0.867, 0.467, 1.0]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "13da26206a2beb2fadc1b3fbe96ee83c0a9a0d76a061f233cfd5500e47c76e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13da26206a2beb2fadc1b3fbe96ee83c0a9a0d76a061f233cfd5500e47c76e81", kill_on_drop: false }` [INFO] [stdout] 13da26206a2beb2fadc1b3fbe96ee83c0a9a0d76a061f233cfd5500e47c76e81