[INFO] cloning repository https://github.com/floriandotorg/risk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/floriandotorg/risk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffloriandotorg%2Frisk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffloriandotorg%2Frisk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 383b9dff26ab2bea25efe324894c86a8c7bb4df3 [INFO] checking floriandotorg/risk against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffloriandotorg%2Frisk" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/floriandotorg/risk on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/floriandotorg/risk [INFO] finished tweaking git repo https://github.com/floriandotorg/risk [INFO] tweaked toml for git repo https://github.com/floriandotorg/risk written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/floriandotorg/risk 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glib-sys v0.19.0 [INFO] [stderr] Downloaded cairo-rs v0.19.2 [INFO] [stderr] Downloaded cairo-sys-rs v0.19.2 [INFO] [stderr] Downloaded gobject-sys v0.19.0 [INFO] [stderr] Downloaded ansi_colours v1.2.2 [INFO] [stderr] Downloaded gio-sys v0.19.0 [INFO] [stderr] Downloaded glib-macros v0.19.2 [INFO] [stderr] Downloaded winnow v0.6.1 [INFO] [stderr] Downloaded glib v0.19.2 [INFO] [stderr] Downloaded png v0.17.12 [INFO] [stderr] Downloaded viuer v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 969a0cc41cb095faa3a18e5d7d11318089552a3b801d99e722ec4a34fed67e51 [INFO] running `Command { std: "docker" "start" "-a" "969a0cc41cb095faa3a18e5d7d11318089552a3b801d99e722ec4a34fed67e51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "969a0cc41cb095faa3a18e5d7d11318089552a3b801d99e722ec4a34fed67e51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "969a0cc41cb095faa3a18e5d7d11318089552a3b801d99e722ec4a34fed67e51", kill_on_drop: false }` [INFO] [stdout] 969a0cc41cb095faa3a18e5d7d11318089552a3b801d99e722ec4a34fed67e51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e322e128f94a7b7dcaa81a1eb9e482838cc784a944f012e23f8bbda79316ffa3 [INFO] running `Command { std: "docker" "start" "-a" "e322e128f94a7b7dcaa81a1eb9e482838cc784a944f012e23f8bbda79316ffa3", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling winnow v0.6.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling cfg-expr v0.15.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking png v0.17.12 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking ansi_colours v1.2.2 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking counter v0.5.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking strum v0.26.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking tempfile v3.10.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.22.6 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling glib-macros v0.19.2 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling toml v0.8.10 [INFO] [stderr] Compiling system-deps v6.2.0 [INFO] [stderr] Compiling glib-sys v0.19.0 [INFO] [stderr] Compiling gobject-sys v0.19.0 [INFO] [stderr] Compiling gio-sys v0.19.0 [INFO] [stderr] Compiling cairo-sys-rs v0.19.2 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking viuer v0.7.1 [INFO] [stderr] Checking glib v0.19.2 [INFO] [stderr] Checking cairo-rs v0.19.2 [INFO] [stderr] Checking risk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `cairo` is imported redundantly [INFO] [stdout] --> src/game_state/draw_map.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cairo; [INFO] [stdout] | ^^^^^ the item `cairo` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> src/arena.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ the item `num_cpus` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_state::GameStateDuringInitialPlacement` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use game_state::GameStateDuringInitialPlacement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bots::Bot` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use bots::Bot; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::PlayOptions` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use game::PlayOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GamePhase`, `draw_map::DrawMapOptions` [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use game_state::{draw_map::DrawMapOptions, GamePhase, GameState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use ndarray::{Array1, Array, ArrayView1}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Game` [INFO] [stdout] --> src/main.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::game::{Game, GameResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cairo` is imported redundantly [INFO] [stdout] --> src/game_state/draw_map.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cairo; [INFO] [stdout] | ^^^^^ the item `cairo` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> src/arena.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ the item `num_cpus` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_state::GameStateDuringInitialPlacement` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use game_state::GameStateDuringInitialPlacement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bots::Bot` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use bots::Bot; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::PlayOptions` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use game::PlayOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GamePhase`, `draw_map::DrawMapOptions` [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use game_state::{draw_map::DrawMapOptions, GamePhase, GameState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use ndarray::{Array1, Array, ArrayView1}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Game` [INFO] [stdout] --> src/main.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::game::{Game, GameResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/game_state/mod.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | MoveNotInPhase(Move, GamePhase), [INFO] [stdout] | -------------- ^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 77 | MoveNotInPhase((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `states_with_count` is never used [INFO] [stdout] --> src/game_state/apply_move_result.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ApplyMoveResult { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn states_with_count(&self) -> &[GameStateWithCount] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_print` is never used [INFO] [stdout] --> src/game_state/draw_map.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl DrawMapOptions { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn should_print(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `export` is never used [INFO] [stdout] --> src/bots/neural_bot.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl NeuralNetwork { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn export(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_map_images` and `verbose` are never used [INFO] [stdout] --> src/game.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl PlayOptions { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 42 | pub fn save_map_images(mut self, folder: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn verbose(mut self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `round` is never used [INFO] [stdout] --> src/game.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Game { [INFO] [stdout] | ------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn round(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_games_with_default_bot_init` is never used [INFO] [stdout] --> src/arena.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn play_games_with_default_bot_init(games: u32, evaluate_result: &'static Evalua... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `mutator` are never used [INFO] [stdout] --> src/evolver.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 88 | / impl Evolver [INFO] [stdout] 89 | | where E: Evaluator, M: Mutator { [INFO] [stdout] | |______________________________________- associated items in this implementation [INFO] [stdout] 90 | pub fn new(evaluator: E) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn mutator(&self) -> &Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `average` is never used [INFO] [stdout] --> src/evolver.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn average(a: &[Float; LENGTH], b: &[Float; LENGTH]) -> [Float; LENGTH] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_half` is never used [INFO] [stdout] --> src/evolver.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn select_half(a: &[Float; LENGTH], b: &[Float; LENGTH]) -> [Float; LENGTH] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/game_state/mod.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | MoveNotInPhase(Move, GamePhase), [INFO] [stdout] | -------------- ^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 77 | MoveNotInPhase((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_print` is never used [INFO] [stdout] --> src/game_state/draw_map.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl DrawMapOptions { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn should_print(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `export` is never used [INFO] [stdout] --> src/bots/neural_bot.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl NeuralNetwork { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn export(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_map_images` and `verbose` are never used [INFO] [stdout] --> src/game.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl PlayOptions { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 42 | pub fn save_map_images(mut self, folder: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn verbose(mut self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `round` is never used [INFO] [stdout] --> src/game.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Game { [INFO] [stdout] | ------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn round(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_games_with_default_bot_init` is never used [INFO] [stdout] --> src/arena.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn play_games_with_default_bot_init(games: u32, evaluate_result: &'static Evalua... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mutator` is never used [INFO] [stdout] --> src/evolver.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 88 | / impl Evolver [INFO] [stdout] 89 | | where E: Evaluator, M: Mutator { [INFO] [stdout] | |______________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn mutator(&self) -> &Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_half` is never used [INFO] [stdout] --> src/evolver.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn select_half(a: &[Float; LENGTH], b: &[Float; LENGTH]) -> [Float; LENGTH] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.77s [INFO] running `Command { std: "docker" "inspect" "e322e128f94a7b7dcaa81a1eb9e482838cc784a944f012e23f8bbda79316ffa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e322e128f94a7b7dcaa81a1eb9e482838cc784a944f012e23f8bbda79316ffa3", kill_on_drop: false }` [INFO] [stdout] e322e128f94a7b7dcaa81a1eb9e482838cc784a944f012e23f8bbda79316ffa3 [INFO] checking floriandotorg/risk against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffloriandotorg%2Frisk" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/floriandotorg/risk on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/floriandotorg/risk [INFO] finished tweaking git repo https://github.com/floriandotorg/risk [INFO] tweaked toml for git repo https://github.com/floriandotorg/risk written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/floriandotorg/risk 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0900a9290411187f260c4c5775163ffd163eded33defffd9ee98c3d288fe95e4 [INFO] running `Command { std: "docker" "start" "-a" "0900a9290411187f260c4c5775163ffd163eded33defffd9ee98c3d288fe95e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0900a9290411187f260c4c5775163ffd163eded33defffd9ee98c3d288fe95e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0900a9290411187f260c4c5775163ffd163eded33defffd9ee98c3d288fe95e4", kill_on_drop: false }` [INFO] [stdout] 0900a9290411187f260c4c5775163ffd163eded33defffd9ee98c3d288fe95e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6513698a236267cb0475bb5bcf680c43967334e4e2b69108690507f5cada3a9 [INFO] running `Command { std: "docker" "start" "-a" "e6513698a236267cb0475bb5bcf680c43967334e4e2b69108690507f5cada3a9", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling winnow v0.6.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling cfg-expr v0.15.7 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking png v0.17.12 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking ansi_colours v1.2.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking strum v0.26.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking counter v0.5.7 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Checking tempfile v3.10.0 [INFO] [stderr] Compiling toml_edit v0.22.6 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Compiling toml v0.8.10 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Compiling glib-macros v0.19.2 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling system-deps v6.2.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling glib-sys v0.19.0 [INFO] [stderr] Compiling gobject-sys v0.19.0 [INFO] [stderr] Compiling gio-sys v0.19.0 [INFO] [stderr] Compiling cairo-sys-rs v0.19.2 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking viuer v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking glib v0.19.2 [INFO] [stderr] Checking cairo-rs v0.19.2 [INFO] [stderr] Checking risk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `cairo` is imported redundantly [INFO] [stdout] --> src/game_state/draw_map.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cairo; [INFO] [stdout] | ^^^^^ the item `cairo` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> src/arena.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ the item `num_cpus` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_state::GameStateDuringInitialPlacement` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use game_state::GameStateDuringInitialPlacement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bots::Bot` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use bots::Bot; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::PlayOptions` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use game::PlayOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GamePhase`, `draw_map::DrawMapOptions` [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use game_state::{draw_map::DrawMapOptions, GamePhase, GameState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use ndarray::{Array1, Array, ArrayView1}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Game` [INFO] [stdout] --> src/main.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::game::{Game, GameResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cairo` is imported redundantly [INFO] [stdout] --> src/game_state/draw_map.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cairo; [INFO] [stdout] | ^^^^^ the item `cairo` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> src/arena.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ the item `num_cpus` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_state::GameStateDuringInitialPlacement` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use game_state::GameStateDuringInitialPlacement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bots::Bot` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use bots::Bot; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::PlayOptions` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use game::PlayOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GamePhase`, `draw_map::DrawMapOptions` [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use game_state::{draw_map::DrawMapOptions, GamePhase, GameState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use ndarray::{Array1, Array, ArrayView1}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Game` [INFO] [stdout] --> src/main.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::game::{Game, GameResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/game_state/mod.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | MoveNotInPhase(Move, GamePhase), [INFO] [stdout] | -------------- ^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 77 | MoveNotInPhase((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `states_with_count` is never used [INFO] [stdout] --> src/game_state/apply_move_result.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ApplyMoveResult { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn states_with_count(&self) -> &[GameStateWithCount] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_print` is never used [INFO] [stdout] --> src/game_state/draw_map.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl DrawMapOptions { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn should_print(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `export` is never used [INFO] [stdout] --> src/bots/neural_bot.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl NeuralNetwork { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn export(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_map_images` and `verbose` are never used [INFO] [stdout] --> src/game.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl PlayOptions { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 42 | pub fn save_map_images(mut self, folder: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn verbose(mut self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `round` is never used [INFO] [stdout] --> src/game.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Game { [INFO] [stdout] | ------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn round(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_games_with_default_bot_init` is never used [INFO] [stdout] --> src/arena.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn play_games_with_default_bot_init(games: u32, evaluate_result: &'static Evalua... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `mutator` are never used [INFO] [stdout] --> src/evolver.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 88 | / impl Evolver [INFO] [stdout] 89 | | where E: Evaluator, M: Mutator { [INFO] [stdout] | |______________________________________- associated items in this implementation [INFO] [stdout] 90 | pub fn new(evaluator: E) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn mutator(&self) -> &Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `average` is never used [INFO] [stdout] --> src/evolver.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn average(a: &[Float; LENGTH], b: &[Float; LENGTH]) -> [Float; LENGTH] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_half` is never used [INFO] [stdout] --> src/evolver.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn select_half(a: &[Float; LENGTH], b: &[Float; LENGTH]) -> [Float; LENGTH] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/game_state/mod.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | MoveNotInPhase(Move, GamePhase), [INFO] [stdout] | -------------- ^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 77 | MoveNotInPhase((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_print` is never used [INFO] [stdout] --> src/game_state/draw_map.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl DrawMapOptions { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn should_print(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `export` is never used [INFO] [stdout] --> src/bots/neural_bot.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl NeuralNetwork { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn export(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_map_images` and `verbose` are never used [INFO] [stdout] --> src/game.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl PlayOptions { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 42 | pub fn save_map_images(mut self, folder: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn verbose(mut self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `round` is never used [INFO] [stdout] --> src/game.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Game { [INFO] [stdout] | ------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn round(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_games_with_default_bot_init` is never used [INFO] [stdout] --> src/arena.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn play_games_with_default_bot_init(games: u32, evaluate_result: &'static Evalua... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mutator` is never used [INFO] [stdout] --> src/evolver.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 88 | / impl Evolver [INFO] [stdout] 89 | | where E: Evaluator, M: Mutator { [INFO] [stdout] | |______________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn mutator(&self) -> &Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_half` is never used [INFO] [stdout] --> src/evolver.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn select_half(a: &[Float; LENGTH], b: &[Float; LENGTH]) -> [Float; LENGTH] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.03s [INFO] running `Command { std: "docker" "inspect" "e6513698a236267cb0475bb5bcf680c43967334e4e2b69108690507f5cada3a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6513698a236267cb0475bb5bcf680c43967334e4e2b69108690507f5cada3a9", kill_on_drop: false }` [INFO] [stdout] e6513698a236267cb0475bb5bcf680c43967334e4e2b69108690507f5cada3a9