[INFO] cloning repository https://github.com/matfournier/rogue-vtt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matfournier/rogue-vtt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatfournier%2Frogue-vtt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatfournier%2Frogue-vtt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c98a6de4641ff280bf1a739a5ff4fda9e6c870b3 [INFO] checking matfournier/rogue-vtt against master#eb10639928a2781cf0a12440007fbcc1e3a6888f for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatfournier%2Frogue-vtt" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matfournier/rogue-vtt on toolchain eb10639928a2781cf0a12440007fbcc1e3a6888f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matfournier/rogue-vtt [INFO] finished tweaking git repo https://github.com/matfournier/rogue-vtt [INFO] tweaked toml for git repo https://github.com/matfournier/rogue-vtt written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/matfournier/rogue-vtt 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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_repr v0.1.16 [INFO] [stderr] Downloaded toml v0.8.9 [INFO] [stderr] Downloaded rustix v0.38.3 [INFO] [stderr] Downloaded tower-http v0.4.3 [INFO] [stderr] Downloaded regex-automata v0.3.3 [INFO] [stderr] Downloaded ring v0.17.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 932b3770f0cb5b98a847710486443b73adf6ae84f975e02fe733a385c365c2f3 [INFO] running `Command { std: "docker" "start" "-a" "932b3770f0cb5b98a847710486443b73adf6ae84f975e02fe733a385c365c2f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "932b3770f0cb5b98a847710486443b73adf6ae84f975e02fe733a385c365c2f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "932b3770f0cb5b98a847710486443b73adf6ae84f975e02fe733a385c365c2f3", kill_on_drop: false }` [INFO] [stdout] 932b3770f0cb5b98a847710486443b73adf6ae84f975e02fe733a385c365c2f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5f54296fb70c352632237c65a1554130b33d52935e49b7bf756ca345407147f [INFO] running `Command { std: "docker" "start" "-a" "c5f54296fb70c352632237c65a1554130b33d52935e49b7bf756ca345407147f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling rustls v0.21.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking cpufeatures v0.2.8 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking hashbrown v0.14.1 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling rustix v0.38.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Checking const-random v0.1.17 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling ring v0.17.6 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking winnow v0.5.37 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling axum v0.6.19 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling atomic-write-file v0.1.2 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking regex-automata v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling pest v2.7.6 [INFO] [stderr] Checking tungstenite v0.19.0 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling pest_meta v2.7.6 [INFO] [stderr] Compiling pest_generator v2.7.6 [INFO] [stderr] Compiling pest_derive v2.7.6 [INFO] [stderr] Checking axum-core v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking async-compression v0.4.5 [INFO] [stderr] Checking tokio-tungstenite v0.19.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.11 [INFO] [stderr] Checking toml_edit v0.21.1 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking tower-http v0.4.3 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Checking toml v0.8.9 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking sqlx-core v0.7.3 [INFO] [stderr] Checking sqlx-postgres v0.7.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Checking sqlx v0.7.3 [INFO] [stderr] Checking roguevtt-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/state/db.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use roguevtt_server::configuration::{self, DatabaseSettings}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Json, Path, Query, State, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/main.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `layer::SubscriberExt` [INFO] [stdout] --> src/main.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/state/db.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use roguevtt_server::configuration::{self, DatabaseSettings}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Json, Path, Query, State, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/main.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `layer::SubscriberExt` [INFO] [stdout] --> src/main.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/state/memory.rs:285:25 [INFO] [stdout] | [INFO] [stdout] 285 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/state/memory.rs:285:25 [INFO] [stdout] | [INFO] [stdout] 285 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::SubscriberInitExt` [INFO] [stdout] --> src/main.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 39 | use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::SubscriberInitExt` [INFO] [stdout] --> src/main.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 39 | use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_pool` [INFO] [stdout] --> src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let connection_pool = PgPool::connect(&configuration.database.connection_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_tx` is never read [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 43 | state_tx: Arc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapId` is never constructed [INFO] [stdout] --> src/main.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct MapId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user` and `mode` are never read [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct CreateGameParam { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 55 | description: String, [INFO] [stdout] 56 | user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 57 | mode: String, // dungeon, world [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level_id` is never read [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct GameLevelIdParam { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 71 | game_id: String, [INFO] [stdout] 72 | level_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DB` is never constructed [INFO] [stdout] --> src/state/db.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct DB { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `make` is never used [INFO] [stdout] --> src/state/db.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DB { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 18 | pub fn make(configuration: &DatabaseSettings) -> DB { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `game_level_to_path` is never used [INFO] [stdout] --> src/state/db.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn game_level_to_path(game_id: &str, level_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_for_memory`, `exists`, and `game_exists` are never used [INFO] [stdout] --> src/state/loader.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Loader { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 7 | async fn get_for_memory(&self, path: String) -> Option>>>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | async fn exists(&self, path: &str) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | async fn game_exists(&self, game_id: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_with_level` is never used [INFO] [stdout] --> src/state/loader.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn path_with_level(game_id: &str, level_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_level` and `path` are never read [INFO] [stdout] --> src/state/memory.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct GameMetadata { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 27 | pub current_level: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loader` is never read [INFO] [stdout] --> src/state/memory.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct SocketConnector { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 46 | pub state: Arc>, [INFO] [stdout] 47 | pub loader: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loader` is never read [INFO] [stdout] --> src/state/memory.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Dispatcher { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 169 | loader: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_pool` [INFO] [stdout] --> src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let connection_pool = PgPool::connect(&configuration.database.connection_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_tx` is never read [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 43 | state_tx: Arc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapId` is never constructed [INFO] [stdout] --> src/main.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct MapId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user` and `mode` are never read [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct CreateGameParam { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 55 | description: String, [INFO] [stdout] 56 | user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 57 | mode: String, // dungeon, world [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level_id` is never read [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct GameLevelIdParam { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 71 | game_id: String, [INFO] [stdout] 72 | level_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DB` is never constructed [INFO] [stdout] --> src/state/db.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct DB { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `make` is never used [INFO] [stdout] --> src/state/db.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DB { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 18 | pub fn make(configuration: &DatabaseSettings) -> DB { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `game_level_to_path` is never used [INFO] [stdout] --> src/state/db.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn game_level_to_path(game_id: &str, level_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_for_memory`, `exists`, and `game_exists` are never used [INFO] [stdout] --> src/state/loader.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Loader { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 7 | async fn get_for_memory(&self, path: String) -> Option>>>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | async fn exists(&self, path: &str) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | async fn game_exists(&self, game_id: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_with_level` is never used [INFO] [stdout] --> src/state/loader.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn path_with_level(game_id: &str, level_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_level` and `path` are never read [INFO] [stdout] --> src/state/memory.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct GameMetadata { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 27 | pub current_level: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loader` is never read [INFO] [stdout] --> src/state/memory.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct SocketConnector { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 46 | pub state: Arc>, [INFO] [stdout] 47 | pub loader: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `loader` is never read [INFO] [stdout] --> src/state/memory.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Dispatcher { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 169 | loader: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "c5f54296fb70c352632237c65a1554130b33d52935e49b7bf756ca345407147f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5f54296fb70c352632237c65a1554130b33d52935e49b7bf756ca345407147f", kill_on_drop: false }` [INFO] [stdout] c5f54296fb70c352632237c65a1554130b33d52935e49b7bf756ca345407147f