[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#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrum-b0%2Fcyber-dungeon" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/brum-b0/cyber-dungeon on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded console v0.15.10
[INFO] [stderr]   Downloaded is_executable v0.1.2
[INFO] [stderr]   Downloaded serde_ignored v0.1.10
[INFO] [stderr]   Downloaded binary-install v0.2.0
[INFO] [stderr]   Downloaded human-panic v1.2.3
[INFO] [stderr]   Downloaded os_info v3.9.0
[INFO] [stderr]   Downloaded wasm-pack v0.12.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 098c855c2f209490085e44a5ecd069754988498958462f53e59ce3d01ef9fea6
[INFO] running `Command { std: "docker" "start" "-a" "098c855c2f209490085e44a5ecd069754988498958462f53e59ce3d01ef9fea6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "098c855c2f209490085e44a5ecd069754988498958462f53e59ce3d01ef9fea6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "098c855c2f209490085e44a5ecd069754988498958462f53e59ce3d01ef9fea6", kill_on_drop: false }`
[INFO] [stdout] 098c855c2f209490085e44a5ecd069754988498958462f53e59ce3d01ef9fea6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 7b0a3b1b892ed95fdd416423c32179cdc2646126968d6b1eefc93eaac1891026
[INFO] running `Command { std: "docker" "start" "-a" "7b0a3b1b892ed95fdd416423c32179cdc2646126968d6b1eefc93eaac1891026", 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 wasm-bindgen v0.2.99
[INFO] [stderr]    Compiling serde v1.0.216
[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 13.70s
[INFO] running `Command { std: "docker" "inspect" "7b0a3b1b892ed95fdd416423c32179cdc2646126968d6b1eefc93eaac1891026", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b0a3b1b892ed95fdd416423c32179cdc2646126968d6b1eefc93eaac1891026", kill_on_drop: false }`
[INFO] [stdout] 7b0a3b1b892ed95fdd416423c32179cdc2646126968d6b1eefc93eaac1891026
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 9b0490be124bd9e83f9c0b5a4fb4333c2680b84832378330a5dc19384f559640
[INFO] running `Command { std: "docker" "start" "-a" "9b0490be124bd9e83f9c0b5a4fb4333c2680b84832378330a5dc19384f559640", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling rustls-pki-types v1.10.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling rustls v0.23.20
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling password-hash v0.4.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling camino v1.1.9
[INFO] [stderr]    Compiling anyhow v1.0.94
[INFO] [stderr]    Compiling semver v1.0.24
[INFO] [stderr]    Compiling time v0.3.37
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling object v0.36.5
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling clap_builder v4.5.23
[INFO] [stderr]    Compiling shell-words v1.1.0
[INFO] [stderr]    Compiling webpki-roots v0.26.7
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling is_executable v0.1.2
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling filetime v0.2.25
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling console v0.15.10
[INFO] [stderr]    Compiling cc v1.2.4
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling parking_lot v0.12.3
[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 bzip2 v0.4.4
[INFO] [stderr]    Compiling backtrace v0.3.74
[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 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 zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.99
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.99
[INFO] [stderr]    Compiling clap v4.5.23
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling wasm-bindgen v0.2.99
[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 cargo-platform v0.1.9
[INFO] [stderr]    Compiling os_info v3.9.0
[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 icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling cargo_metadata v0.15.4
[INFO] [stderr]    Compiling human-panic v1.2.3
[INFO] [stderr]    Compiling ureq v2.12.1
[INFO] [stderr]    Compiling toml v0.7.8
[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 06s
[INFO] running `Command { std: "docker" "inspect" "9b0490be124bd9e83f9c0b5a4fb4333c2680b84832378330a5dc19384f559640", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b0490be124bd9e83f9c0b5a4fb4333c2680b84832378330a5dc19384f559640", kill_on_drop: false }`
[INFO] [stdout] 9b0490be124bd9e83f9c0b5a4fb4333c2680b84832378330a5dc19384f559640
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] b58440ac7ee94961fe18cafd9fddb72ab495e69a9ce41e8697c8e6e22ec39897
[INFO] running `Command { std: "docker" "start" "-a" "b58440ac7ee94961fe18cafd9fddb72ab495e69a9ce41e8697c8e6e22ec39897", 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.30s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/cyber-dungeon/ce4d38a35a9302a0/deps/cyber_dungeon-ce4d38a35a9302a0)
[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" "b58440ac7ee94961fe18cafd9fddb72ab495e69a9ce41e8697c8e6e22ec39897", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b58440ac7ee94961fe18cafd9fddb72ab495e69a9ce41e8697c8e6e22ec39897", kill_on_drop: false }`
[INFO] [stdout] b58440ac7ee94961fe18cafd9fddb72ab495e69a9ce41e8697c8e6e22ec39897
