[INFO] cloning repository https://github.com/rpgram/clirpgram [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rpgram/clirpgram" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frpgram%2Fclirpgram", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frpgram%2Fclirpgram'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1cfefa64a2f823cf6a059f3130cc1de3ed6c2cf [INFO] building rpgram/clirpgram against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frpgram%2Fclirpgram" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rpgram/clirpgram [INFO] finished tweaking git repo https://github.com/rpgram/clirpgram [INFO] tweaked toml for git repo https://github.com/rpgram/clirpgram written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rpgram/clirpgram 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/rpgram/clirpgram 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 strength_reduce v0.2.4 [INFO] [stderr] Downloaded transpose v0.2.3 [INFO] [stderr] Downloaded queues v1.1.0 [INFO] [stderr] Downloaded realfft v3.4.0 [INFO] [stderr] Downloaded lru v0.12.4 [INFO] [stderr] Downloaded rb v0.4.1 [INFO] [stderr] Downloaded primal-check v0.3.4 [INFO] [stderr] Downloaded rodio v0.19.0 [INFO] [stderr] Downloaded rustls-webpki v0.102.7 [INFO] [stderr] Downloaded rustfft v6.2.0 [INFO] [stderr] Downloaded syn v2.0.76 [INFO] [stderr] Downloaded ratatui v0.28.1 [INFO] [stderr] Downloaded queue v0.3.1 [INFO] [stderr] Downloaded rubato v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 273867b9c36480a428e24cd457f129db5fdc7c05bfca55382aeaf95df43d6454 [INFO] running `Command { std: "docker" "start" "-a" "273867b9c36480a428e24cd457f129db5fdc7c05bfca55382aeaf95df43d6454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "273867b9c36480a428e24cd457f129db5fdc7c05bfca55382aeaf95df43d6454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "273867b9c36480a428e24cd457f129db5fdc7c05bfca55382aeaf95df43d6454", kill_on_drop: false }` [INFO] [stdout] 273867b9c36480a428e24cd457f129db5fdc7c05bfca55382aeaf95df43d6454 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 209f0fe7946b83f98220a68d3540e0059998f5e1e6983bcb63499a2696f6dd93 [INFO] running `Command { std: "docker" "start" "-a" "209f0fe7946b83f98220a68d3540e0059998f5e1e6983bcb63499a2696f6dd93", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Compiling strength_reduce v0.2.4 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling extended v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling transpose v0.2.3 [INFO] [stderr] Compiling primal-check v0.3.4 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling symphonia-codec-pcm v0.5.4 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling symphonia-utils-xiph v0.5.4 [INFO] [stderr] Compiling symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-flac v0.5.4 [INFO] [stderr] Compiling symphonia-format-ogg v0.5.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling symphonia-format-mkv v0.5.4 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling symphonia-format-riff v0.5.4 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling queues v1.1.0 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling queue v0.3.1 [INFO] [stderr] Compiling rb v0.4.1 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling instability v0.3.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling rodio v0.19.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling realfft v3.4.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling rubato v0.16.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling lru v0.12.4 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling refactor_cli_rpg_game_frontend_prototype v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `GoodDTO` is more private than the item `PlayerSetupDTO::inventory` [INFO] [stdout] --> src/api_adapter/models.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub inventory: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `PlayerSetupDTO::inventory` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GoodDTO` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api_adapter/models.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | struct GoodDTO { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `battle_id` is never read [INFO] [stdout] --> src/api_adapter/models.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BattleStarted { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 6 | pub start_time: Option, [INFO] [stdout] 7 | battle_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_hero` is never read [INFO] [stdout] --> src/api_adapter/models.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PlayerResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 19 | pub player_id: u16, [INFO] [stdout] 20 | is_hero: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opponent_result` is never read [INFO] [stdout] --> src/api_adapter/models.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct BattleResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 26 | pub hero_result: PlayerResult, [INFO] [stdout] 27 | opponent_result: PlayerResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GoodDTO` is never constructed [INFO] [stdout] --> src/api_adapter/models.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct GoodDTO { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HeroClass` is never used [INFO] [stdout] --> src/api_adapter/models.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub type HeroClass = u8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerSetupDTO` is never constructed [INFO] [stdout] --> src/api_adapter/models.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct PlayerSetupDTO { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SetupClient` is never constructed [INFO] [stdout] --> src/api_adapter/setup.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SetupClient<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SetupErrors` is never used [INFO] [stdout] --> src/api_adapter/setup.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum SetupErrors { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register`, `get_hero`, and `get_player` are never used [INFO] [stdout] --> src/api_adapter/setup.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl SetupClient<'_> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 20 | pub fn register(&mut self, username: String) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn get_hero(&self, hero_class: HeroClass) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_player(&self, player: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_setup_response` is never used [INFO] [stdout] --> src/api_adapter/utils.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn parse_setup_response serde::Deserialize<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/application/configuration.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_config` is never used [INFO] [stdout] --> src/application/configuration.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn read_config(file_path: String) -> Config { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_battles_menu` is never used [INFO] [stdout] --> src/ui/pages/main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Menu { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 25 | fn get_battles_menu(&self, _screen: &Screen) -> ConnectMenu { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.52s [INFO] running `Command { std: "docker" "inspect" "209f0fe7946b83f98220a68d3540e0059998f5e1e6983bcb63499a2696f6dd93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "209f0fe7946b83f98220a68d3540e0059998f5e1e6983bcb63499a2696f6dd93", kill_on_drop: false }` [INFO] [stdout] 209f0fe7946b83f98220a68d3540e0059998f5e1e6983bcb63499a2696f6dd93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 6246a1f5e94d44b27e778f457ce99f3a789ea8f08d245de05fb53d305d7329d9 [INFO] running `Command { std: "docker" "start" "-a" "6246a1f5e94d44b27e778f457ce99f3a789ea8f08d245de05fb53d305d7329d9", kill_on_drop: false }` [INFO] [stderr] Compiling refactor_cli_rpg_game_frontend_prototype v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reqwest::blocking::Client` [INFO] [stdout] --> src/api_adapter/client.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use reqwest::blocking::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GoodDTO` is more private than the item `PlayerSetupDTO::inventory` [INFO] [stdout] --> src/api_adapter/models.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub inventory: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `PlayerSetupDTO::inventory` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GoodDTO` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/api_adapter/models.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | struct GoodDTO { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `battle_id` is never read [INFO] [stdout] --> src/api_adapter/models.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BattleStarted { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 6 | pub start_time: Option, [INFO] [stdout] 7 | battle_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_hero` is never read [INFO] [stdout] --> src/api_adapter/models.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct PlayerResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 19 | pub player_id: u16, [INFO] [stdout] 20 | is_hero: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opponent_result` is never read [INFO] [stdout] --> src/api_adapter/models.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct BattleResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 26 | pub hero_result: PlayerResult, [INFO] [stdout] 27 | opponent_result: PlayerResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `price`, `quantity`, and `name` are never read [INFO] [stdout] --> src/api_adapter/models.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct GoodDTO { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 48 | price: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | quantity: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `balance` and `inventory` are never read [INFO] [stdout] --> src/api_adapter/models.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct PlayerSetupDTO { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 57 | pub balance: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 58 | pub inventory: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/api_adapter/setup.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | UnknownError(u16, String), [INFO] [stdout] | ------------ ^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SetupErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 14 - UnknownError(u16, String), [INFO] [stdout] 14 + UnknownError((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotUnique` is never constructed [INFO] [stdout] --> src/api_adapter/setup.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum SetupErrors { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 14 | UnknownError(u16, String), [INFO] [stdout] 15 | NotUnique, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetupErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_battles_menu` is never used [INFO] [stdout] --> src/ui/pages/main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Menu { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 25 | fn get_battles_menu(&self, _screen: &Screen) -> ConnectMenu { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.36s [INFO] running `Command { std: "docker" "inspect" "6246a1f5e94d44b27e778f457ce99f3a789ea8f08d245de05fb53d305d7329d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6246a1f5e94d44b27e778f457ce99f3a789ea8f08d245de05fb53d305d7329d9", kill_on_drop: false }` [INFO] [stdout] 6246a1f5e94d44b27e778f457ce99f3a789ea8f08d245de05fb53d305d7329d9