[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] 5c89240965c63f366ea124e681ce53ea4716b1c2
[INFO] building floriandotorg/risk against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffloriandotorg%2Frisk" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/floriandotorg/risk on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded viuer v0.7.1
[INFO] [stderr]   Downloaded bytemuck v1.14.3
[INFO] [stderr]   Downloaded ansi_colours v1.2.2
[INFO] [stderr]   Downloaded signal-hook-mio v0.2.3
[INFO] [stderr]   Downloaded strum v0.26.1
[INFO] [stderr]   Downloaded half v2.3.1
[INFO] [stderr]   Downloaded either v1.10.0
[INFO] [stderr]   Downloaded ndarray-rand v0.14.0
[INFO] [stderr]   Downloaded cairo-sys-rs v0.19.2
[INFO] [stderr]   Downloaded cfg-expr v0.15.7
[INFO] [stderr]   Downloaded toml v0.8.10
[INFO] [stderr]   Downloaded matrixmultiply v0.3.8
[INFO] [stderr]   Downloaded indexmap v2.2.3
[INFO] [stderr]   Downloaded toml_edit v0.22.6
[INFO] [stderr]   Downloaded png v0.17.12
[INFO] [stderr]   Downloaded winnow v0.6.1
[INFO] [stderr]   Downloaded crossterm v0.27.0
[INFO] [stderr]   Downloaded cairo-rs v0.19.2
[INFO] [stderr]   Downloaded num-complex v0.4.5
[INFO] [stderr]   Downloaded glib-macros v0.19.2
[INFO] [stderr]   Downloaded target-lexicon v0.12.13
[INFO] [stderr]   Downloaded glib v0.19.2
[INFO] [stderr]   Downloaded syn v2.0.49
[INFO] [stderr]   Downloaded counter v0.5.7
[INFO] [stderr]   Downloaded strum_macros v0.26.1
[INFO] [stderr]   Downloaded ndarray v0.15.6
[INFO] [stderr]   Downloaded tempfile v3.10.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5e30c19fb32ab1e26cb36ad0835b40c1b3b64e0f4d0844fcb1bebe78b5233262
[INFO] running `Command { std: "docker" "start" "-a" "5e30c19fb32ab1e26cb36ad0835b40c1b3b64e0f4d0844fcb1bebe78b5233262", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e30c19fb32ab1e26cb36ad0835b40c1b3b64e0f4d0844fcb1bebe78b5233262", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e30c19fb32ab1e26cb36ad0835b40c1b3b64e0f4d0844fcb1bebe78b5233262", kill_on_drop: false }`
[INFO] [stdout] 5e30c19fb32ab1e26cb36ad0835b40c1b3b64e0f4d0844fcb1bebe78b5233262
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2920ac27a4aab51b100a8611d5b959f3adae8c6defca3e0bbd0f8eba52eddf9b
[INFO] running `Command { std: "docker" "start" "-a" "2920ac27a4aab51b100a8611d5b959f3adae8c6defca3e0bbd0f8eba52eddf9b", kill_on_drop: false }`
[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 serde v1.0.196
[INFO] [stderr]    Compiling winnow v0.6.1
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling version-compare v0.1.1
[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]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling syn v2.0.49
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling bytemuck v1.14.3
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling fdeflate v0.3.4
[INFO] [stderr]    Compiling cfg-expr v0.15.7
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling indexmap v2.2.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling half v2.3.1
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling png v0.17.12
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling rgb v0.8.37
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling num-complex v0.4.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling console v0.15.8
[INFO] [stderr]    Compiling ansi_colours v1.2.2
[INFO] [stderr]    Compiling crossterm v0.27.0
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling rayon v1.8.1
[INFO] [stderr]    Compiling exr v1.72.0
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling counter v0.5.7
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling strum v0.26.1
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]    Compiling serde_spanned v0.6.5
[INFO] [stderr]    Compiling toml_edit v0.21.1
[INFO] [stderr]    Compiling toml_edit v0.22.6
[INFO] [stderr]    Compiling tempfile v3.10.0
[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 jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]    Compiling glib-macros v0.19.2
[INFO] [stderr]    Compiling num_enum_derive v0.7.2
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling toml v0.8.10
[INFO] [stderr]    Compiling ndarray-rand v0.14.0
[INFO] [stderr]    Compiling system-deps v6.2.0
[INFO] [stderr]    Compiling num_enum v0.7.2
[INFO] [stderr]    Compiling futures-executor 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]    Compiling image v0.24.8
[INFO] [stderr]    Compiling glib v0.19.2
[INFO] [stderr]    Compiling viuer v0.7.1
[INFO] [stderr]    Compiling cairo-rs v0.19.2
[INFO] [stderr]    Compiling risk v0.1.0 (/opt/rustwide/workdir)
[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]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[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` and `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: `MoveApplyErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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(Move, GamePhase),
[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<Float> {
[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<BotA: Bot, BotB: Bot> Game<BotA, BotB> {
[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<BotA: Bot + Default, BotB: Bot + Default, Evaluator>(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<E, M, const LENGTH: usize, const POPULATION: usize> Evolver<E, M, LENGTH, POPULATION>
[INFO] [stdout]  89 | | where E: Evaluator<LENGTH>, 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<M> {
[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<const LENGTH: usize>(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<const LENGTH: usize>(a: &[Float; LENGTH], b: &[Float; LENGTH]) -> [Float; LENGTH] {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/game_state/mod.rs:40:45
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn new(territory: Territory, state: &TerritoryState) -> NamedTerritoryState {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn new(territory: Territory, state: &TerritoryState) -> NamedTerritoryState<'_> {
[INFO] [stdout]    |                                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/game_state/moves.rs:255:73
[INFO] [stdout]     |
[INFO] [stdout] 255 |     pub fn named_territories_iter<'a>(&'a self) -> impl Iterator<Item = NamedTerritoryState> {
[INFO] [stdout]     |                                        -- the lifetime is named here    ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 255 |     pub fn named_territories_iter<'a>(&'a self) -> impl Iterator<Item = NamedTerritoryState<'a>> {
[INFO] [stdout]     |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/game_state/moves.rs:259:41
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn territories_states_of_player(&self, player: Player) -> Vec<NamedTerritoryState> {
[INFO] [stdout]     |                                         ^^^^^                         ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn territories_states_of_player(&self, player: Player) -> Vec<NamedTerritoryState<'_>> {
[INFO] [stdout]     |                                                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s
[INFO] running `Command { std: "docker" "inspect" "2920ac27a4aab51b100a8611d5b959f3adae8c6defca3e0bbd0f8eba52eddf9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2920ac27a4aab51b100a8611d5b959f3adae8c6defca3e0bbd0f8eba52eddf9b", kill_on_drop: false }`
[INFO] [stdout] 2920ac27a4aab51b100a8611d5b959f3adae8c6defca3e0bbd0f8eba52eddf9b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a09bbf2025d576ee1ec5cd6b821f856beda23a1e861c79f13d37fa72c9339de3
[INFO] running `Command { std: "docker" "start" "-a" "a09bbf2025d576ee1ec5cd6b821f856beda23a1e861c79f13d37fa72c9339de3", kill_on_drop: false }`
[INFO] [stderr]    Compiling risk v0.1.0 (/opt/rustwide/workdir)
[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]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[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` and `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: `MoveApplyErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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(Move, GamePhase),
[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<Float> {
[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<BotA: Bot, BotB: Bot> Game<BotA, BotB> {
[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<BotA: Bot + Default, BotB: Bot + Default, Evaluator>(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<E, M, const LENGTH: usize, const POPULATION: usize> Evolver<E, M, LENGTH, POPULATION>
[INFO] [stdout]  89 | | where E: Evaluator<LENGTH>, M: Mutator {
[INFO] [stdout]     | |______________________________________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 104 |       pub fn mutator(&self) -> &Option<M> {
[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<const LENGTH: usize>(a: &[Float; LENGTH], b: &[Float; LENGTH]) -> [Float; LENGTH] {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/game_state/mod.rs:40:45
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn new(territory: Territory, state: &TerritoryState) -> NamedTerritoryState {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn new(territory: Territory, state: &TerritoryState) -> NamedTerritoryState<'_> {
[INFO] [stdout]    |                                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/game_state/moves.rs:255:73
[INFO] [stdout]     |
[INFO] [stdout] 255 |     pub fn named_territories_iter<'a>(&'a self) -> impl Iterator<Item = NamedTerritoryState> {
[INFO] [stdout]     |                                        -- the lifetime is named here    ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 255 |     pub fn named_territories_iter<'a>(&'a self) -> impl Iterator<Item = NamedTerritoryState<'a>> {
[INFO] [stdout]     |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/game_state/moves.rs:259:41
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn territories_states_of_player(&self, player: Player) -> Vec<NamedTerritoryState> {
[INFO] [stdout]     |                                         ^^^^^                         ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn territories_states_of_player(&self, player: Player) -> Vec<NamedTerritoryState<'_>> {
[INFO] [stdout]     |                                                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.19s
[INFO] running `Command { std: "docker" "inspect" "a09bbf2025d576ee1ec5cd6b821f856beda23a1e861c79f13d37fa72c9339de3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a09bbf2025d576ee1ec5cd6b821f856beda23a1e861c79f13d37fa72c9339de3", kill_on_drop: false }`
[INFO] [stdout] a09bbf2025d576ee1ec5cd6b821f856beda23a1e861c79f13d37fa72c9339de3
