[INFO] cloning repository https://github.com/brum-b0/cyber-dungeon
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brum-b0/cyber-dungeon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrum-b0%2Fcyber-dungeon", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrum-b0%2Fcyber-dungeon'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 47039d401d411ef1e5f654179e3b7c01a370764f
[INFO] testing brum-b0/cyber-dungeon against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrum-b0%2Fcyber-dungeon" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/brum-b0/cyber-dungeon
[INFO] finished tweaking git repo https://github.com/brum-b0/cyber-dungeon
[INFO] tweaked toml for git repo https://github.com/brum-b0/cyber-dungeon written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/brum-b0/cyber-dungeon on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/brum-b0/cyber-dungeon 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 05741fea869d09686205bdc510cc32623da4984cd76b6a0658818eee7d38571b
[INFO] running `Command { std: "docker" "start" "-a" "05741fea869d09686205bdc510cc32623da4984cd76b6a0658818eee7d38571b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "05741fea869d09686205bdc510cc32623da4984cd76b6a0658818eee7d38571b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05741fea869d09686205bdc510cc32623da4984cd76b6a0658818eee7d38571b", kill_on_drop: false }`
[INFO] [stdout] 05741fea869d09686205bdc510cc32623da4984cd76b6a0658818eee7d38571b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d2c95b2f6a314a3f57dc270c6324af643bd564846c2c1c308b8b62f5570cd9fb
[INFO] running `Command { std: "docker" "start" "-a" "d2c95b2f6a314a3f57dc270c6324af643bd564846c2c1c308b8b62f5570cd9fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.99
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling wasm-bindgen v0.2.99
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.99
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.99
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.99
[INFO] [stderr]    Compiling cyber-dungeon v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/game/commands.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 |     player::{self, Player},
[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: `hash::Hash`
[INFO] [stdout]  --> src/game/world.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash};
[INFO] [stdout]   |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::de::value::UnitDeserializer`
[INFO] [stdout]  --> src/game/world.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::de::value::UnitDeserializer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Npc`
[INFO] [stdout]  --> src/game/combat.rs:1:50
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::game::{player::Player, world::{World, Npc}};
[INFO] [stdout]   |                                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `equip_item`
[INFO] [stdout]    --> src/game/commands.rs:182:29
[INFO] [stdout]     |
[INFO] [stdout] 182 |                 if let Some(equip_item) = player.equipment.iter().find(|i| i.name == item_name) {
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equip_item`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `world`
[INFO] [stdout]    --> src/game/combat.rs:119:54
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn get_player_action(&self, player: &mut Player, world: &World) -> CombatAction {
[INFO] [stdout]     |                                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_world`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `flags` is never read
[INFO] [stdout]  --> src/game/world.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct World {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub flags: HashMap<String, bool>
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `description` and `can_equip` are never read
[INFO] [stdout]   --> src/game/world.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Item {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 21 |     pub name: String,
[INFO] [stdout] 22 |     pub description: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub can_equip: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Item` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `all_dialogues` is never read
[INFO] [stdout]   --> src/game/world.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Npc {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub all_dialogues: HashMap<usize, Vec<String>>, //dialogue vector based on room index
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Npc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_dialogue` and `move_to_room` are never used
[INFO] [stdout]   --> src/game/world.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Npc {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn update_dialogue(&mut self, room: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn move_to_room(&mut self, room: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_flag` and `get_flag` are never used
[INFO] [stdout]   --> src/game/world.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl World {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn set_flag(&mut self, key: &str, value: bool) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn get_flag(&self, key: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.92s
[INFO] running `Command { std: "docker" "inspect" "d2c95b2f6a314a3f57dc270c6324af643bd564846c2c1c308b8b62f5570cd9fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2c95b2f6a314a3f57dc270c6324af643bd564846c2c1c308b8b62f5570cd9fb", kill_on_drop: false }`
[INFO] [stdout] d2c95b2f6a314a3f57dc270c6324af643bd564846c2c1c308b8b62f5570cd9fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7d4d0ef9aa78fd7bbbd69908d6c23c8bb983e6b93282b928bf1cdf92407f7ffd
[INFO] running `Command { std: "docker" "start" "-a" "7d4d0ef9aa78fd7bbbd69908d6c23c8bb983e6b93282b928bf1cdf92407f7ffd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling rustls-pki-types v1.10.1
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling rustls v0.23.20
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling anyhow v1.0.94
[INFO] [stderr]    Compiling semver v1.0.24
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling camino v1.1.9
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling time v0.3.37
[INFO] [stderr]    Compiling password-hash v0.4.2
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling object v0.36.5
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling unicode-width v0.2.0
[INFO] [stderr]    Compiling clap_builder v4.5.23
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling webpki-roots v0.26.7
[INFO] [stderr]    Compiling is_executable v0.1.2
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling filetime v0.2.25
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling console v0.15.10
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling cc v1.2.4
[INFO] [stderr]    Compiling xattr v1.3.1
[INFO] [stderr]    Compiling tempfile v3.14.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]    Compiling tar v0.4.43
[INFO] [stderr]    Compiling dialoguer v0.10.4
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling bzip2 v0.4.4
[INFO] [stderr]    Compiling backtrace v0.3.74
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.99
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.99
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling clap v4.5.23
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.99
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling wasm-bindgen v0.2.99
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling os_info v3.9.0
[INFO] [stderr]    Compiling cargo-platform v0.1.9
[INFO] [stderr]    Compiling serde_ignored v0.1.10
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling cargo_metadata v0.15.4
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling human-panic v1.2.3
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling toml v0.7.8
[INFO] [stderr]    Compiling ureq v2.12.1
[INFO] [stderr]    Compiling binary-install v0.2.0
[INFO] [stderr]    Compiling wasm-pack v0.12.1
[INFO] [stderr]    Compiling cyber-dungeon v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/game/commands.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 |     player::{self, Player},
[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: `hash::Hash`
[INFO] [stdout]  --> src/game/world.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash};
[INFO] [stdout]   |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::de::value::UnitDeserializer`
[INFO] [stdout]  --> src/game/world.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::de::value::UnitDeserializer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Npc`
[INFO] [stdout]  --> src/game/combat.rs:1:50
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::game::{player::Player, world::{World, Npc}};
[INFO] [stdout]   |                                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `equip_item`
[INFO] [stdout]    --> src/game/commands.rs:182:29
[INFO] [stdout]     |
[INFO] [stdout] 182 |                 if let Some(equip_item) = player.equipment.iter().find(|i| i.name == item_name) {
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equip_item`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `world`
[INFO] [stdout]    --> src/game/combat.rs:119:54
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn get_player_action(&self, player: &mut Player, world: &World) -> CombatAction {
[INFO] [stdout]     |                                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_world`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `flags` is never read
[INFO] [stdout]  --> src/game/world.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct World {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub flags: HashMap<String, bool>
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `description` and `can_equip` are never read
[INFO] [stdout]   --> src/game/world.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Item {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 21 |     pub name: String,
[INFO] [stdout] 22 |     pub description: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub can_equip: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Item` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `all_dialogues` is never read
[INFO] [stdout]   --> src/game/world.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Npc {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub all_dialogues: HashMap<usize, Vec<String>>, //dialogue vector based on room index
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Npc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_dialogue` and `move_to_room` are never used
[INFO] [stdout]   --> src/game/world.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Npc {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn update_dialogue(&mut self, room: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn move_to_room(&mut self, room: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_flag` and `get_flag` are never used
[INFO] [stdout]   --> src/game/world.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl World {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn set_flag(&mut self, key: &str, value: bool) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn get_flag(&self, key: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 02s
[INFO] running `Command { std: "docker" "inspect" "7d4d0ef9aa78fd7bbbd69908d6c23c8bb983e6b93282b928bf1cdf92407f7ffd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d4d0ef9aa78fd7bbbd69908d6c23c8bb983e6b93282b928bf1cdf92407f7ffd", kill_on_drop: false }`
[INFO] [stdout] 7d4d0ef9aa78fd7bbbd69908d6c23c8bb983e6b93282b928bf1cdf92407f7ffd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8dced762a911db853d9c39aa3018e2124fef31c8196f037f360d52bbf3b86471
[INFO] running `Command { std: "docker" "start" "-a" "8dced762a911db853d9c39aa3018e2124fef31c8196f037f360d52bbf3b86471", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/game/commands.rs:2:14
[INFO] [stderr]   |
[INFO] [stderr] 2 |     player::{self, Player},
[INFO] [stderr]   |              ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `hash::Hash`
[INFO] [stderr]  --> src/game/world.rs:1:33
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{collections::HashMap, hash::Hash};
[INFO] [stderr]   |                                 ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde::de::value::UnitDeserializer`
[INFO] [stderr]  --> src/game/world.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use serde::de::value::UnitDeserializer;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Npc`
[INFO] [stderr]  --> src/game/combat.rs:1:50
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::game::{player::Player, world::{World, Npc}};
[INFO] [stderr]   |                                                  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `equip_item`
[INFO] [stderr]    --> src/game/commands.rs:182:29
[INFO] [stderr]     |
[INFO] [stderr] 182 |                 if let Some(equip_item) = player.equipment.iter().find(|i| i.name == item_name) {
[INFO] [stderr]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equip_item`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `world`
[INFO] [stderr]    --> src/game/combat.rs:119:54
[INFO] [stderr]     |
[INFO] [stderr] 119 |     fn get_player_action(&self, player: &mut Player, world: &World) -> CombatAction {
[INFO] [stderr]     |                                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_world`
[INFO] [stderr] 
[INFO] [stderr] warning: field `flags` is never read
[INFO] [stderr]  --> src/game/world.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct World {
[INFO] [stderr]   |            ----- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 8 |     pub flags: HashMap<String, bool>
[INFO] [stderr]   |         ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `description` and `can_equip` are never read
[INFO] [stderr]   --> src/game/world.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct Item {
[INFO] [stderr]    |            ---- fields in this struct
[INFO] [stderr] 21 |     pub name: String,
[INFO] [stderr] 22 |     pub description: String,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |     pub can_equip: bool,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Item` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `all_dialogues` is never read
[INFO] [stderr]   --> src/game/world.rs:36:9
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub struct Npc {
[INFO] [stderr]    |            --- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 36 |     pub all_dialogues: HashMap<usize, Vec<String>>, //dialogue vector based on room index
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Npc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `update_dialogue` and `move_to_room` are never used
[INFO] [stderr]   --> src/game/world.rs:55:12
[INFO] [stderr]    |
[INFO] [stderr] 45 | impl Npc {
[INFO] [stderr]    | -------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 55 |     pub fn update_dialogue(&mut self, room: usize) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 60 |     pub fn move_to_room(&mut self, room: usize) {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `set_flag` and `get_flag` are never used
[INFO] [stderr]   --> src/game/world.rs:76:12
[INFO] [stderr]    |
[INFO] [stderr] 66 | impl World {
[INFO] [stderr]    | ---------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 76 |     pub fn set_flag(&mut self, key: &str, value: bool) {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 80 |     pub fn get_flag(&self, key: &str) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `cyber-dungeon` (bin "cyber-dungeon" test) generated 11 warnings (run `cargo fix --bin "cyber-dungeon" -p cyber-dungeon --tests` to apply 6 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cyber_dungeon-e51f9bb115b92791)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8dced762a911db853d9c39aa3018e2124fef31c8196f037f360d52bbf3b86471", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8dced762a911db853d9c39aa3018e2124fef31c8196f037f360d52bbf3b86471", kill_on_drop: false }`
[INFO] [stdout] 8dced762a911db853d9c39aa3018e2124fef31c8196f037f360d52bbf3b86471
