[INFO] cloning repository https://github.com/ProjectMoon/ai-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ProjectMoon/ai-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProjectMoon%2Fai-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProjectMoon%2Fai-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6f10f7a612b98fac5dc9705923f89c1053df3df [INFO] checking ProjectMoon/ai-game against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProjectMoon%2Fai-game" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ProjectMoon/ai-game on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ProjectMoon/ai-game [INFO] finished tweaking git repo https://github.com/ProjectMoon/ai-game [INFO] tweaked toml for git repo https://github.com/ProjectMoon/ai-game written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ProjectMoon/ai-game 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/oxidecomputer/progenitor` [INFO] [stderr] Updating git repository `https://github.com/oxidecomputer/typify` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_tokenstream v0.2.0 [INFO] [stderr] Downloaded tabled_derive v0.7.0 [INFO] [stderr] Downloaded lz4_flex v0.10.0 [INFO] [stderr] Downloaded serde_qs v0.10.1 [INFO] [stderr] Downloaded papergrid v0.11.0 [INFO] [stderr] Downloaded reedline v0.27.1 [INFO] [stderr] Downloaded polodb_core v4.4.0 [INFO] [stderr] Downloaded regress v0.7.1 [INFO] [stderr] Downloaded bson v2.8.1 [INFO] [stderr] Downloaded eventsource-client v0.11.0 [INFO] [stderr] Downloaded crc64fast v1.0.0 [INFO] [stderr] Downloaded winnow v0.5.32 [INFO] [stderr] Downloaded tabled v0.15.0 [INFO] [stderr] Downloaded uclient v0.1.3 [INFO] [stderr] Downloaded arangors v0.5.4 [INFO] [stderr] Downloaded openapiv3 v2.0.0-rc.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cc94d5683fb0c1bbb44bb26d015021060048a19df2b9fe966886974780e56a6 [INFO] running `Command { std: "docker" "start" "-a" "1cc94d5683fb0c1bbb44bb26d015021060048a19df2b9fe966886974780e56a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cc94d5683fb0c1bbb44bb26d015021060048a19df2b9fe966886974780e56a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc94d5683fb0c1bbb44bb26d015021060048a19df2b9fe966886974780e56a6", kill_on_drop: false }` [INFO] [stdout] 1cc94d5683fb0c1bbb44bb26d015021060048a19df2b9fe966886974780e56a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9b8a75e8b9e31459879140874594d6cc208b09e987777d73ca0cfdbe058fb78 [INFO] running `Command { std: "docker" "start" "-a" "a9b8a75e8b9e31459879140874594d6cc208b09e987777d73ca0cfdbe058fb78", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling thiserror v1.0.53 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.88 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling schemars v0.8.15 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling wasm-bindgen v0.2.88 [INFO] [stderr] Compiling zerocopy v0.7.25 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling dyn-clone v1.0.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling regress v0.7.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling winnow v0.5.32 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.88 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling thiserror-impl v1.0.53 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling schemars_derive v0.8.15 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.88 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Compiling maybe-async v0.2.7 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Compiling pest v2.7.6 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking js-sys v0.3.65 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking bytecount v0.6.7 [INFO] [stderr] Checking papergrid v0.11.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking lz4_flex v0.10.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling pest_meta v2.7.6 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking crc64fast v1.0.0 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling pest_generator v2.7.6 [INFO] [stderr] Checking tabled v0.15.0 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Compiling pest_derive v2.7.6 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking web-sys v0.3.65 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.38 [INFO] [stderr] Checking async-compression v0.4.5 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking serde_qs v0.10.1 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling serde_tokenstream v0.2.0 [INFO] [stderr] Compiling serde_yaml v0.9.27 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking openapiv3 v2.0.0-rc.1 [INFO] [stderr] Checking bson v2.8.1 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking reedline v0.27.1 [INFO] [stderr] Checking typify-impl v0.0.14 (https://github.com/oxidecomputer/typify#5f9235d9) [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling progenitor-client v0.4.0 (https://github.com/oxidecomputer/progenitor#545266c6) [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking polodb_core v4.4.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking eventsource-client v0.11.0 [INFO] [stderr] Checking uclient v0.1.3 [INFO] [stderr] Checking arangors v0.5.4 [INFO] [stderr] Compiling typify-macro v0.0.14 (https://github.com/oxidecomputer/typify#5f9235d9) [INFO] [stderr] Compiling typify v0.0.14 (https://github.com/oxidecomputer/typify#5f9235d9) [INFO] [stderr] Compiling progenitor-impl v0.4.0 (https://github.com/oxidecomputer/progenitor#545266c6) [INFO] [stderr] Compiling progenitor-macro v0.4.0 (https://github.com/oxidecomputer/progenitor#545266c6) [INFO] [stderr] Compiling progenitor v0.4.0 (https://github.com/oxidecomputer/progenitor#545266c6) [INFO] [stderr] Compiling ai-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `io::stdout`, `str::FromStr` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{io::stdout, rc::Rc, time::Duration, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/ai/coherence.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/ai/coherence.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AiCommand`, `ExecutionConversionResult` [INFO] [stdout] --> src/ai/logic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | AiCommand, ParsedCommands, ExecutionConversionResult, RawCommandExecution, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commands::converter as command_converter` [INFO] [stdout] --> src/ai/logic.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::commands::converter as command_converter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/ai/logic.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandEvent`, `EventCoherenceFailure`, `ExecutionConversionResult` [INFO] [stdout] --> src/commands/mod.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | AiCommand, CommandEvent, CommandExecution, EventCoherenceFailure, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | EventConversionFailure, ExecutionConversionResult, ParsedCommand, ParsedCommands, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `partition` [INFO] [stdout] --> src/commands/mod.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | macro_rules! partition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AiCommand` [INFO] [stdout] --> src/commands/builtins.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::commands::{BuiltinCommand, AiCommand}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::partition` [INFO] [stdout] --> src/commands/coherence.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::partition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/commands/coherence.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsedCommand` [INFO] [stdout] --> src/db/mod.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::commands::{CachedParsedCommand, ParsedCommand, ParsedCommands}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stage` [INFO] [stdout] --> src/db/mod.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::world::scenes::{Scene, Stage, StageOrStub}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventConversionFailure`, `ExecutionConversionResult` [INFO] [stdout] --> src/game_loop.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | AiCommand, BuiltinCommand, CommandExecution, ExecutionConversionResult, EventConversionFailure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteStream` [INFO] [stdout] --> /opt/rustwide/target/debug/build/ai-game-4143111683b52fe7/out/codegen.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | pub use progenitor_client::{ByteStream, Error, ResponseValue}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Client` [INFO] [stdout] --> /opt/rustwide/target/debug/build/ai-game-4143111683b52fe7/out/codegen.rs:655:13 [INFO] [stdout] | [INFO] [stdout] 655 | pub use super::Client; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/models/commands.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io::stdout`, `str::FromStr` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{io::stdout, rc::Rc, time::Duration, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tabled::Tabled` [INFO] [stdout] --> src/models/world/items.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tabled::Tabled; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/ai/coherence.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/ai/coherence.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AiCommand`, `ExecutionConversionResult` [INFO] [stdout] --> src/ai/logic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | AiCommand, ParsedCommands, ExecutionConversionResult, RawCommandExecution, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commands::converter as command_converter` [INFO] [stdout] --> src/ai/logic.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::commands::converter as command_converter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tabled::Tabled` [INFO] [stdout] --> src/models/world/people.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tabled::Tabled; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/ai/logic.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandEvent`, `EventCoherenceFailure`, `ExecutionConversionResult` [INFO] [stdout] --> src/commands/mod.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | AiCommand, CommandEvent, CommandExecution, EventCoherenceFailure, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | EventConversionFailure, ExecutionConversionResult, ParsedCommand, ParsedCommands, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `partition` [INFO] [stdout] --> src/commands/mod.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | macro_rules! partition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AiCommand` [INFO] [stdout] --> src/commands/builtins.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::commands::{BuiltinCommand, AiCommand}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::partition` [INFO] [stdout] --> src/commands/coherence.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::partition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/commands/coherence.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsedCommand` [INFO] [stdout] --> src/db/mod.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::commands::{CachedParsedCommand, ParsedCommand, ParsedCommands}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tabled::Tabled` [INFO] [stdout] --> src/models/world/scenes.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tabled::Tabled; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stage` [INFO] [stdout] --> src/db/mod.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::world::scenes::{Scene, Stage, StageOrStub}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventConversionFailure`, `ExecutionConversionResult` [INFO] [stdout] --> src/game_loop.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | AiCommand, BuiltinCommand, CommandExecution, ExecutionConversionResult, EventConversionFailure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteStream` [INFO] [stdout] --> /opt/rustwide/target/debug/build/ai-game-4143111683b52fe7/out/codegen.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | pub use progenitor_client::{ByteStream, Error, ResponseValue}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Client` [INFO] [stdout] --> /opt/rustwide/target/debug/build/ai-game-4143111683b52fe7/out/codegen.rs:655:13 [INFO] [stdout] | [INFO] [stdout] 655 | pub use super::Client; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/models/commands.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tabled::Tabled` [INFO] [stdout] --> src/models/world/items.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tabled::Tabled; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tabled::Tabled` [INFO] [stdout] --> src/models/world/people.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tabled::Tabled; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tabled::Tabled` [INFO] [stdout] --> src/models/world/scenes.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tabled::Tabled; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ai/logic.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut scene = Scene { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ai/logic.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut scene = Scene { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/ai/generator.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | scene: &SceneSeed, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/ai/generator.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | seed: &ItemSeed, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/ai/generator.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | scene: &SceneSeed, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/ai/generator.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | seed: &ItemSeed, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/ai/coherence.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/commands/coherence.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/ai/coherence.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/commands/coherence.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn fix_prompt(scene: &Scene, failures: &EventConversionFailure) -> AiPrompt { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `failures` [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:261:34 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn fix_prompt(scene: &Scene, failures: &EventConversionFailure) -> AiPrompt { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_failures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ai/prompts/parsing_prompts.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let mut prompt = INTRO_PROMPT.replace("{}", cmd); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/converter.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let mut key = if !raw_event.applies_to.is_empty() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn fix_prompt(scene: &Scene, failures: &EventConversionFailure) -> AiPrompt { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `failures` [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:261:34 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn fix_prompt(scene: &Scene, failures: &EventConversionFailure) -> AiPrompt { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_failures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ai/prompts/parsing_prompts.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let mut prompt = INTRO_PROMPT.replace("{}", cmd); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/converter.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let mut key = if !raw_event.applies_to.is_empty() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Predictable` is never constructed [INFO] [stdout] --> src/ai/convo.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub enum AiCreativity { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 127 | Predictable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AiCreativity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `creative_with_grammar` are never used [INFO] [stdout] --> src/ai/convo.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl AiPrompt { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 140 | pub fn new(prompt: &str) -> AiPrompt { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn creative_with_grammar(prompt: &str, grammar: &str) -> AiPrompt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIX_PROMPT` is never used [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | pub const FIX_PROMPT: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVALID_NUMBER` is never used [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:170:7 [INFO] [stdout] | [INFO] [stdout] 170 | const INVALID_NUMBER: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNRECOGNIZED_EVENT` is never used [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:174:7 [INFO] [stdout] | [INFO] [stdout] 174 | const UNRECOGNIZED_EVENT: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCENE_EXIT_INFO` is never used [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:185:7 [INFO] [stdout] | [INFO] [stdout] 185 | const SCENE_EXIT_INFO: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCENE_PERSON_INFO` is never used [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:193:7 [INFO] [stdout] | [INFO] [stdout] 193 | const SCENE_PERSON_INFO: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unrecognized_event_solution` is never used [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn unrecognized_event_solution(event_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_prompt` is never used [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn fix_prompt(scene: &Scene, failures: &EventConversionFailure) -> AiPrompt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COHERENCE_PROMPT` is never used [INFO] [stdout] --> src/ai/prompts/parsing_prompts.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | pub const COHERENCE_PROMPT: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coherence_prompt` is never used [INFO] [stdout] --> src/ai/prompts/parsing_prompts.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn coherence_prompt() -> AiPrompt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/ai/logic.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct AiLogic { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | db: Rc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `logic` is never read [INFO] [stdout] --> src/commands/coherence.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CommandCoherence<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 20 | logic: Rc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_single` is never used [INFO] [stdout] --> src/commands/converter.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn deserialize_single(raw_event: RawCommandEvent) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Key` is never used [INFO] [stdout] --> src/db/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type Key = String; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ArangoResult` is never used [INFO] [stdout] --> src/db/mod.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | type ArangoResult = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_document` is never used [INFO] [stdout] --> src/db/mod.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn extract_document(document: ArangoResult>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_entity` is never used [INFO] [stdout] --> src/db/mod.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 170 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 417 | pub async fn load_entity(&self, entity_key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/game_loop.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GameLoop { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | db: Rc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_scene` is never used [INFO] [stdout] --> src/models/mod.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl Content { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 117 | pub fn as_scene(&self) -> &Scene { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_event` is never used [INFO] [stdout] --> src/models/commands.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl AiCommand { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn from_event(event: CommandEvent) -> AiCommand { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_event` is never used [INFO] [stdout] --> src/models/commands.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 245 | impl EventCoherenceFailure { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 246 | /// Consume self to extract the CommandEvent wrapped in this enum. [INFO] [stdout] 247 | pub fn as_event(self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Predictable` is never constructed [INFO] [stdout] --> src/ai/convo.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub enum AiCreativity { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 127 | Predictable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AiCreativity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `creative_with_grammar` are never used [INFO] [stdout] --> src/ai/convo.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl AiPrompt { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 140 | pub fn new(prompt: &str) -> AiPrompt { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn creative_with_grammar(prompt: &str, grammar: &str) -> AiPrompt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIX_PROMPT` is never used [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | pub const FIX_PROMPT: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVALID_NUMBER` is never used [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:170:7 [INFO] [stdout] | [INFO] [stdout] 170 | const INVALID_NUMBER: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNRECOGNIZED_EVENT` is never used [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:174:7 [INFO] [stdout] | [INFO] [stdout] 174 | const UNRECOGNIZED_EVENT: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCENE_EXIT_INFO` is never used [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:185:7 [INFO] [stdout] | [INFO] [stdout] 185 | const SCENE_EXIT_INFO: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCENE_PERSON_INFO` is never used [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:193:7 [INFO] [stdout] | [INFO] [stdout] 193 | const SCENE_PERSON_INFO: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unrecognized_event_solution` is never used [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn unrecognized_event_solution(event_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_prompt` is never used [INFO] [stdout] --> src/ai/prompts/execution_prompts.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn fix_prompt(scene: &Scene, failures: &EventConversionFailure) -> AiPrompt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COHERENCE_PROMPT` is never used [INFO] [stdout] --> src/ai/prompts/parsing_prompts.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | pub const COHERENCE_PROMPT: &'static str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coherence_prompt` is never used [INFO] [stdout] --> src/ai/prompts/parsing_prompts.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn coherence_prompt() -> AiPrompt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/ai/logic.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct AiLogic { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | db: Rc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `logic` is never read [INFO] [stdout] --> src/commands/coherence.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CommandCoherence<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 20 | logic: Rc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_single` is never used [INFO] [stdout] --> src/commands/converter.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn deserialize_single(raw_event: RawCommandEvent) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Key` is never used [INFO] [stdout] --> src/db/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type Key = String; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ArangoResult` is never used [INFO] [stdout] --> src/db/mod.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | type ArangoResult = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_document` is never used [INFO] [stdout] --> src/db/mod.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn extract_document(document: ArangoResult>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_entity` is never used [INFO] [stdout] --> src/db/mod.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 170 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 417 | pub async fn load_entity(&self, entity_key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/game_loop.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GameLoop { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | db: Rc, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_scene` is never used [INFO] [stdout] --> src/models/mod.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl Content { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 117 | pub fn as_scene(&self) -> &Scene { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_event` is never used [INFO] [stdout] --> src/models/commands.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl AiCommand { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn from_event(event: CommandEvent) -> AiCommand { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_event` is never used [INFO] [stdout] --> src/models/commands.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 245 | impl EventCoherenceFailure { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 246 | /// Consume self to extract the CommandEvent wrapped in this enum. [INFO] [stdout] 247 | pub fn as_event(self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.39s [INFO] running `Command { std: "docker" "inspect" "a9b8a75e8b9e31459879140874594d6cc208b09e987777d73ca0cfdbe058fb78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9b8a75e8b9e31459879140874594d6cc208b09e987777d73ca0cfdbe058fb78", kill_on_drop: false }` [INFO] [stdout] a9b8a75e8b9e31459879140874594d6cc208b09e987777d73ca0cfdbe058fb78