[INFO] cloning repository https://github.com/felixbuildthings/diffusion-roguelike
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/felixbuildthings/diffusion-roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixbuildthings%2Fdiffusion-roguelike", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixbuildthings%2Fdiffusion-roguelike'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8372864442bb2f2e06c68d17cdbbe82f4ea069b5
[INFO] testing felixbuildthings/diffusion-roguelike against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixbuildthings%2Fdiffusion-roguelike" "/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/felixbuildthings/diffusion-roguelike
[INFO] finished tweaking git repo https://github.com/felixbuildthings/diffusion-roguelike
[INFO] tweaked toml for git repo https://github.com/felixbuildthings/diffusion-roguelike written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/felixbuildthings/diffusion-roguelike on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/felixbuildthings/diffusion-roguelike 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sctk-adwaita v0.4.3
[INFO] [stderr]   Downloaded tiny-skia-path v0.7.0
[INFO] [stderr]   Downloaded wayland-egl v0.29.5
[INFO] [stderr]   Downloaded glutin_gles2_sys v0.1.5
[INFO] [stderr]   Downloaded bracket-algorithm-traits v0.8.7
[INFO] [stderr]   Downloaded send_wrapper v0.2.0
[INFO] [stderr]   Downloaded glutin_glx_sys v0.1.8
[INFO] [stderr]   Downloaded bracket-random v0.8.7
[INFO] [stderr]   Downloaded servo-fontconfig v0.5.1
[INFO] [stderr]   Downloaded glutin_wgl_sys v0.1.5
[INFO] [stderr]   Downloaded wasm-timer v0.1.3
[INFO] [stderr]   Downloaded glutin_egl_sys v0.1.6
[INFO] [stderr]   Downloaded bracket-rex v0.8.7
[INFO] [stderr]   Downloaded tiny-skia v0.7.0
[INFO] [stderr]   Downloaded crossfont v0.5.2
[INFO] [stderr]   Downloaded memmap2 v0.3.1
[INFO] [stderr]   Downloaded bracket-noise v0.8.7
[INFO] [stderr]   Downloaded bracket-color v0.8.7
[INFO] [stderr]   Downloaded bracket-pathfinding v0.8.7
[INFO] [stderr]   Downloaded bracket-geometry v0.8.7
[INFO] [stderr]   Downloaded calloop v0.9.3
[INFO] [stderr]   Downloaded glutin v0.29.1
[INFO] [stderr]   Downloaded freetype-rs v0.26.0
[INFO] [stderr]   Downloaded bracket-embedding v0.8.7
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.15.4
[INFO] [stderr]   Downloaded servo-fontconfig-sys v5.1.0
[INFO] [stderr]   Downloaded bracket-terminal v0.8.7
[INFO] [stderr]   Downloaded object-pool v0.5.4
[INFO] [stderr]   Downloaded bracket-lib v0.8.7
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c7cb02ce815288e87d6f60933934d160f7121b44c5d47382de3d9db72d2bf9b9
[INFO] running `Command { std: "docker" "start" "-a" "c7cb02ce815288e87d6f60933934d160f7121b44c5d47382de3d9db72d2bf9b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7cb02ce815288e87d6f60933934d160f7121b44c5d47382de3d9db72d2bf9b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7cb02ce815288e87d6f60933934d160f7121b44c5d47382de3d9db72d2bf9b9", kill_on_drop: false }`
[INFO] [stdout] c7cb02ce815288e87d6f60933934d160f7121b44c5d47382de3d9db72d2bf9b9
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d472037befe993d5f71ce6da2af603319e1f79defd425f7e96c689a962804417
[INFO] running `Command { std: "docker" "start" "-a" "d472037befe993d5f71ce6da2af603319e1f79defd425f7e96c689a962804417", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling bytemuck v1.25.0
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.8
[INFO] [stderr]    Compiling dlib v0.5.3
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling slotmap v1.1.1
[INFO] [stderr]    Compiling servo-fontconfig-sys v5.1.0
[INFO] [stderr]    Compiling zerocopy v0.8.40
[INFO] [stderr]    Compiling crossfont v0.5.2
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling foreign-types-shared v0.3.1
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling safe_arch v0.7.4
[INFO] [stderr]    Compiling safe_arch v0.5.2
[INFO] [stderr]    Compiling tiny-skia-path v0.7.0
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling raw-window-handle v0.4.3
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling wide v0.7.33
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]    Compiling jpeg-decoder v0.3.2
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.8
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.6
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling glow v0.11.2
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling ultraviolet v0.9.2
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling freetype-rs v0.26.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling servo-fontconfig v0.5.1
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling tiny-skia v0.7.0
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling bracket-embedding v0.8.7
[INFO] [stderr]    Compiling bracket-color v0.8.7
[INFO] [stderr]    Compiling rand_xorshift v0.3.0
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling bracket-geometry v0.8.7
[INFO] [stderr]    Compiling object-pool v0.5.4
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling bracket-rex v0.8.7
[INFO] [stderr]    Compiling bracket-algorithm-traits v0.8.7
[INFO] [stderr]    Compiling bracket-pathfinding v0.8.7
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling foreign-types-macros v0.2.3
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling foreign-types v0.5.0
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling wayland-egl v0.29.5
[INFO] [stderr]    Compiling bracket-random v0.8.7
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]    Compiling bracket-noise v0.8.7
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling sctk-adwaita v0.4.3
[INFO] [stderr]    Compiling winit v0.27.5
[INFO] [stderr]    Compiling glutin v0.29.1
[INFO] [stderr]    Compiling bracket-terminal v0.8.7
[INFO] [stderr]    Compiling bracket-lib v0.8.7
[INFO] [stderr]    Compiling diffusion-roguelike v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `ApiError` is never used
[INFO] [stdout]  --> src/api/client.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum ApiError {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatRequest` is never constructed
[INFO] [stdout]   --> src/api/client.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct ChatRequest {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatMessage` is never constructed
[INFO] [stdout]   --> src/api/client.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct ChatMessage {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatResponse` is never constructed
[INFO] [stdout]   --> src/api/client.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | struct ChatResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatChoice` is never constructed
[INFO] [stdout]   --> src/api/client.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct ChatChoice {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mercury2Client` is never constructed
[INFO] [stdout]   --> src/api/client.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Mercury2Client {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from_env`, and `generate_room` are never used
[INFO] [stdout]   --> src/api/client.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl Mercury2Client {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 59 |     pub fn new(api_key: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn from_env() -> Result<Self, ApiError> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub async fn generate_room(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SessionBudget` is never constructed
[INFO] [stdout]    --> src/api/client.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub struct SessionBudget {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `record_generation`, `remaining_fraction`, `avg_latency`, and `should_pregen` are never used
[INFO] [stdout]    --> src/api/client.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 138 | impl SessionBudget {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 139 |     pub fn new(max_rooms: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn record_generation(&mut self, latency_secs: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn remaining_fraction(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn avg_latency(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn should_pregen(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RoomResponse` is never constructed
[INFO] [stdout]  --> src/api/parser.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RoomResponse {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EntityResponse` is never constructed
[INFO] [stdout]   --> src/api/parser.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct EntityResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExitsResponse` is never constructed
[INFO] [stdout]   --> src/api/parser.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct ExitsResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ParseError` is never used
[INFO] [stdout]   --> src/api/parser.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub enum ParseError {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_room_response` is never used
[INFO] [stdout]   --> src/api/parser.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn parse_room_response(json_str: &str) -> Result<RoomResponse, ParseError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_json` is never used
[INFO] [stdout]   --> src/api/parser.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn extract_json(s: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROOM_SYSTEM_PROMPT` is never used
[INFO] [stdout]  --> src/api/prompts.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const ROOM_SYSTEM_PROMPT: &str = r#"You are a dungeon room generator for an ASCII roguelike game. Output ONLY valid JSON matching...
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `room_user_prompt` is never used
[INFO] [stdout]   --> src/api/prompts.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn room_user_prompt(floor: i32, room_x: i32, room_y: i32, required_exits: &[&str]) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `required_exits` is never used
[INFO] [stdout]   --> src/api/prompts.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn required_exits(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Monster`, `Item`, and `NPC` are never constructed
[INFO] [stdout]   --> src/entities/mod.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum EntityType {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout]  7 |     Player,
[INFO] [stdout]  8 |     Monster,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]  9 |     Item,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     NPC,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EntityType` 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: fields `name`, `entity_type`, `attack`, and `defense` are never read
[INFO] [stdout]   --> src/entities/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Entity {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 19 |     pub entity_type: EntityType,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub attack: i32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 23 |     pub defense: i32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Entity` 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: method `player_pos` is never used
[INFO] [stdout]   --> src/entities/mod.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl EntityManager {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn player_pos(&self) -> Option<Point> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `room_count` is never used
[INFO] [stdout]    --> src/map/mod.rs:278:12
[INFO] [stdout]     |
[INFO] [stdout] 252 | impl Map {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub fn room_count(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `room_from_response` is never used
[INFO] [stdout]  --> src/map/generator.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn room_from_response(response: RoomResponse) -> Room {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sanitize_name` is never used
[INFO] [stdout]   --> src/map/generator.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn sanitize_name(name: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_box` is never used
[INFO] [stdout]  --> src/rendering/mod.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn draw_box(ctx: &mut BTerm, x: i32, y: i32, w: i32, h: i32, fg: RGB) {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Error` is never constructed
[INFO] [stdout]   --> src/state.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum GameMode {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     Error(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GameMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s
[INFO] running `Command { std: "docker" "inspect" "d472037befe993d5f71ce6da2af603319e1f79defd425f7e96c689a962804417", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d472037befe993d5f71ce6da2af603319e1f79defd425f7e96c689a962804417", kill_on_drop: false }`
[INFO] [stdout] d472037befe993d5f71ce6da2af603319e1f79defd425f7e96c689a962804417
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 937081d1984a89cc3078386e7dc9df8372f15a4569f844d73fda08c3db8d19a2
[INFO] running `Command { std: "docker" "start" "-a" "937081d1984a89cc3078386e7dc9df8372f15a4569f844d73fda08c3db8d19a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling diffusion-roguelike v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `ApiError` is never used
[INFO] [stdout]  --> src/api/client.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum ApiError {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatRequest` is never constructed
[INFO] [stdout]   --> src/api/client.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct ChatRequest {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatMessage` is never constructed
[INFO] [stdout]   --> src/api/client.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct ChatMessage {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatResponse` is never constructed
[INFO] [stdout]   --> src/api/client.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | struct ChatResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatChoice` is never constructed
[INFO] [stdout]   --> src/api/client.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct ChatChoice {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mercury2Client` is never constructed
[INFO] [stdout]   --> src/api/client.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Mercury2Client {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from_env`, and `generate_room` are never used
[INFO] [stdout]   --> src/api/client.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl Mercury2Client {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 59 |     pub fn new(api_key: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn from_env() -> Result<Self, ApiError> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub async fn generate_room(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SessionBudget` is never constructed
[INFO] [stdout]    --> src/api/client.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub struct SessionBudget {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `record_generation`, `remaining_fraction`, `avg_latency`, and `should_pregen` are never used
[INFO] [stdout]    --> src/api/client.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 138 | impl SessionBudget {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 139 |     pub fn new(max_rooms: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn record_generation(&mut self, latency_secs: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn remaining_fraction(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn avg_latency(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn should_pregen(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RoomResponse` is never constructed
[INFO] [stdout]  --> src/api/parser.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RoomResponse {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EntityResponse` is never constructed
[INFO] [stdout]   --> src/api/parser.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct EntityResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExitsResponse` is never constructed
[INFO] [stdout]   --> src/api/parser.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct ExitsResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ParseError` is never used
[INFO] [stdout]   --> src/api/parser.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub enum ParseError {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_room_response` is never used
[INFO] [stdout]   --> src/api/parser.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn parse_room_response(json_str: &str) -> Result<RoomResponse, ParseError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_json` is never used
[INFO] [stdout]   --> src/api/parser.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn extract_json(s: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROOM_SYSTEM_PROMPT` is never used
[INFO] [stdout]  --> src/api/prompts.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const ROOM_SYSTEM_PROMPT: &str = r#"You are a dungeon room generator for an ASCII roguelike game. Output ONLY valid JSON matching...
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `room_user_prompt` is never used
[INFO] [stdout]   --> src/api/prompts.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn room_user_prompt(floor: i32, room_x: i32, room_y: i32, required_exits: &[&str]) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `required_exits` is never used
[INFO] [stdout]   --> src/api/prompts.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn required_exits(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Monster`, `Item`, and `NPC` are never constructed
[INFO] [stdout]   --> src/entities/mod.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum EntityType {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout]  7 |     Player,
[INFO] [stdout]  8 |     Monster,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]  9 |     Item,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     NPC,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EntityType` 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: fields `name`, `entity_type`, `attack`, and `defense` are never read
[INFO] [stdout]   --> src/entities/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Entity {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 19 |     pub entity_type: EntityType,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub attack: i32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 23 |     pub defense: i32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Entity` 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: method `player_pos` is never used
[INFO] [stdout]   --> src/entities/mod.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl EntityManager {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn player_pos(&self) -> Option<Point> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `room_count` is never used
[INFO] [stdout]    --> src/map/mod.rs:278:12
[INFO] [stdout]     |
[INFO] [stdout] 252 | impl Map {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub fn room_count(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `room_from_response` is never used
[INFO] [stdout]  --> src/map/generator.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn room_from_response(response: RoomResponse) -> Room {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sanitize_name` is never used
[INFO] [stdout]   --> src/map/generator.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn sanitize_name(name: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_box` is never used
[INFO] [stdout]  --> src/rendering/mod.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn draw_box(ctx: &mut BTerm, x: i32, y: i32, w: i32, h: i32, fg: RGB) {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Error` is never constructed
[INFO] [stdout]   --> src/state.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum GameMode {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     Error(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GameMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.74s
[INFO] running `Command { std: "docker" "inspect" "937081d1984a89cc3078386e7dc9df8372f15a4569f844d73fda08c3db8d19a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "937081d1984a89cc3078386e7dc9df8372f15a4569f844d73fda08c3db8d19a2", kill_on_drop: false }`
[INFO] [stdout] 937081d1984a89cc3078386e7dc9df8372f15a4569f844d73fda08c3db8d19a2
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 68181b777ae20e0eac2b1cf62972236ff0a53e54de04147b03ff71928292776b
[INFO] running `Command { std: "docker" "start" "-a" "68181b777ae20e0eac2b1cf62972236ff0a53e54de04147b03ff71928292776b", kill_on_drop: false }`
[INFO] [stderr] warning: enum `ApiError` is never used
[INFO] [stderr]  --> src/api/client.rs:6:10
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub enum ApiError {
[INFO] [stderr]   |          ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ChatRequest` is never constructed
[INFO] [stderr]   --> src/api/client.rs:29:8
[INFO] [stderr]    |
[INFO] [stderr] 29 | struct ChatRequest {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ChatMessage` is never constructed
[INFO] [stderr]   --> src/api/client.rs:37:8
[INFO] [stderr]    |
[INFO] [stderr] 37 | struct ChatMessage {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ChatResponse` is never constructed
[INFO] [stderr]   --> src/api/client.rs:43:8
[INFO] [stderr]    |
[INFO] [stderr] 43 | struct ChatResponse {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ChatChoice` is never constructed
[INFO] [stderr]   --> src/api/client.rs:48:8
[INFO] [stderr]    |
[INFO] [stderr] 48 | struct ChatChoice {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Mercury2Client` is never constructed
[INFO] [stderr]   --> src/api/client.rs:52:12
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub struct Mercury2Client {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `from_env`, and `generate_room` are never used
[INFO] [stderr]   --> src/api/client.rs:59:12
[INFO] [stderr]    |
[INFO] [stderr] 58 | impl Mercury2Client {
[INFO] [stderr]    | ------------------- associated items in this implementation
[INFO] [stderr] 59 |     pub fn new(api_key: String) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 67 |     pub fn from_env() -> Result<Self, ApiError> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 72 |     pub async fn generate_room(
[INFO] [stderr]    |                  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SessionBudget` is never constructed
[INFO] [stderr]    --> src/api/client.rs:132:12
[INFO] [stderr]     |
[INFO] [stderr] 132 | pub struct SessionBudget {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `record_generation`, `remaining_fraction`, `avg_latency`, and `should_pregen` are never used
[INFO] [stderr]    --> src/api/client.rs:139:12
[INFO] [stderr]     |
[INFO] [stderr] 138 | impl SessionBudget {
[INFO] [stderr]     | ------------------ associated items in this implementation
[INFO] [stderr] 139 |     pub fn new(max_rooms: u32) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 147 |     pub fn record_generation(&mut self, latency_secs: f32) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 155 |     pub fn remaining_fraction(&self) -> f32 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 162 |     pub fn avg_latency(&self) -> f32 {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 171 |     pub fn should_pregen(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RoomResponse` is never constructed
[INFO] [stderr]  --> src/api/parser.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct RoomResponse {
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `EntityResponse` is never constructed
[INFO] [stderr]   --> src/api/parser.rs:15:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub struct EntityResponse {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ExitsResponse` is never constructed
[INFO] [stderr]   --> src/api/parser.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub struct ExitsResponse {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `ParseError` is never used
[INFO] [stderr]   --> src/api/parser.rs:37:10
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub enum ParseError {
[INFO] [stderr]    |          ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `parse_room_response` is never used
[INFO] [stderr]   --> src/api/parser.rs:54:8
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub fn parse_room_response(json_str: &str) -> Result<RoomResponse, ParseError> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `extract_json` is never used
[INFO] [stderr]   --> src/api/parser.rs:99:4
[INFO] [stderr]    |
[INFO] [stderr] 99 | fn extract_json(s: &str) -> String {
[INFO] [stderr]    |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ROOM_SYSTEM_PROMPT` is never used
[INFO] [stderr]  --> src/api/prompts.rs:2:11
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub const ROOM_SYSTEM_PROMPT: &str = r#"You are a dungeon room generator for an ASCII roguelike game. Output ONLY valid JSON matching...
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `room_user_prompt` is never used
[INFO] [stderr]   --> src/api/prompts.rs:15:8
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub fn room_user_prompt(floor: i32, room_x: i32, room_y: i32, required_exits: &[&str]) -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `required_exits` is never used
[INFO] [stderr]   --> src/api/prompts.rs:28:8
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub fn required_exits(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Monster`, `Item`, and `NPC` are never constructed
[INFO] [stderr]   --> src/entities/mod.rs:8:5
[INFO] [stderr]    |
[INFO] [stderr]  6 | pub enum EntityType {
[INFO] [stderr]    |          ---------- variants in this enum
[INFO] [stderr]  7 |     Player,
[INFO] [stderr]  8 |     Monster,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]  9 |     Item,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 10 |     NPC,
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `EntityType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name`, `entity_type`, `attack`, and `defense` are never read
[INFO] [stderr]   --> src/entities/mod.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct Entity {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 18 |     pub name: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 19 |     pub entity_type: EntityType,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 22 |     pub attack: i32,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr] 23 |     pub defense: i32,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Entity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `player_pos` is never used
[INFO] [stderr]   --> src/entities/mod.rs:71:12
[INFO] [stderr]    |
[INFO] [stderr] 56 | impl EntityManager {
[INFO] [stderr]    | ------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 71 |     pub fn player_pos(&self) -> Option<Point> {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `room_count` is never used
[INFO] [stderr]    --> src/map/mod.rs:278:12
[INFO] [stderr]     |
[INFO] [stderr] 252 | impl Map {
[INFO] [stderr]     | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 278 |     pub fn room_count(&self) -> usize {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `room_from_response` is never used
[INFO] [stderr]  --> src/map/generator.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub fn room_from_response(response: RoomResponse) -> Room {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `sanitize_name` is never used
[INFO] [stderr]   --> src/map/generator.rs:65:4
[INFO] [stderr]    |
[INFO] [stderr] 65 | fn sanitize_name(name: &str) -> String {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `draw_box` is never used
[INFO] [stderr]  --> src/rendering/mod.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub fn draw_box(ctx: &mut BTerm, x: i32, y: i32, w: i32, h: i32, fg: RGB) {
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Error` is never constructed
[INFO] [stderr]   --> src/state.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub enum GameMode {
[INFO] [stderr]    |          -------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 13 |     Error(String),
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `GameMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `diffusion-roguelike` (bin "diffusion-roguelike" test) generated 26 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/diffusion_roguelike-014154bb9e044e8f)
[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] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/diffusion_roguelike-caecb39dc7b925be)
[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] [stderr]    Doc-tests diffusion_roguelike
[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" "68181b777ae20e0eac2b1cf62972236ff0a53e54de04147b03ff71928292776b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68181b777ae20e0eac2b1cf62972236ff0a53e54de04147b03ff71928292776b", kill_on_drop: false }`
[INFO] [stdout] 68181b777ae20e0eac2b1cf62972236ff0a53e54de04147b03ff71928292776b
