[INFO] cloning repository https://github.com/jlkump/rpg-helper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jlkump/rpg-helper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlkump%2Frpg-helper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlkump%2Frpg-helper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08a84e033e020578ab1c79dde8b117f29bd4dae7 [INFO] checking jlkump/rpg-helper against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125741 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlkump%2Frpg-helper" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jlkump/rpg-helper on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jlkump/rpg-helper [INFO] finished tweaking git repo https://github.com/jlkump/rpg-helper [INFO] tweaked toml for git repo https://github.com/jlkump/rpg-helper written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jlkump/rpg-helper 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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded instant v0.1.13 [INFO] [stderr] Downloaded toml v0.8.13 [INFO] [stderr] Downloaded serde_derive v1.0.203 [INFO] [stderr] Downloaded serde_spanned v0.6.6 [INFO] [stderr] Downloaded toml_edit v0.22.13 [INFO] [stderr] Downloaded proc-macro2 v1.0.84 [INFO] [stderr] Downloaded zstd-safe v7.1.0 [INFO] [stderr] Downloaded addr2line v0.22.0 [INFO] [stderr] Downloaded anstyle-parse v0.2.4 [INFO] [stderr] Downloaded gloo-worker v0.4.0 [INFO] [stderr] Downloaded gloo v0.11.0 [INFO] [stderr] Downloaded gloo v0.10.0 [INFO] [stderr] Downloaded gloo v0.8.1 [INFO] [stderr] Downloaded zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Downloaded yew-macro v0.21.0 [INFO] [stderr] Downloaded brotli v6.0.0 [INFO] [stderr] Downloaded yew v0.21.0 [INFO] [stderr] Downloaded brotli-decompressor v4.0.1 [INFO] [stderr] Downloaded tokio-util v0.7.11 [INFO] [stderr] Downloaded actix-http v3.7.0 [INFO] [stderr] Downloaded gimli v0.29.0 [INFO] [stderr] Downloaded backtrace v0.3.72 [INFO] [stderr] Downloaded actix-web v4.6.0 [INFO] [stderr] Downloaded implicit-clone v0.4.9 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.5.0 [INFO] [stderr] Downloaded gloo-history v0.1.5 [INFO] [stderr] Downloaded prettyplease v0.2.20 [INFO] [stderr] Downloaded actix-cors v0.7.0 [INFO] [stderr] Downloaded h2 v0.3.26 [INFO] [stderr] Downloaded regex-lite v0.1.5 [INFO] [stderr] Downloaded anstyle-query v1.0.3 [INFO] [stderr] Downloaded anstyle-wincon v3.0.3 [INFO] [stderr] Downloaded colorchoice v1.0.1 [INFO] [stderr] Downloaded is_terminal_polyfill v1.70.0 [INFO] [stderr] Downloaded anstream v0.6.14 [INFO] [stderr] Downloaded anstyle v1.0.7 [INFO] [stderr] Downloaded yew_icons v0.8.0 [INFO] [stderr] Downloaded strsim v0.11.1 [INFO] [stderr] Downloaded clap v4.5.4 [INFO] [stderr] Downloaded dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Downloaded dotenv_codegen v0.15.0 [INFO] [stderr] Downloaded gloo-worker v0.5.0 [INFO] [stderr] Downloaded litrs v0.4.1 [INFO] [stderr] Downloaded stylist-core v0.13.0 [INFO] [stderr] Downloaded stylist-macros v0.13.0 [INFO] [stderr] Downloaded stylist v0.13.0 [INFO] [stderr] Downloaded urlencoding v2.1.3 [INFO] [stderr] Downloaded yew-router-macro v0.18.0 [INFO] [stderr] Downloaded yew-router v0.18.0 [INFO] [stderr] Downloaded gloo-console v0.3.0 [INFO] [stderr] Downloaded gloo-dialogs v0.2.0 [INFO] [stderr] Downloaded gloo-file v0.3.0 [INFO] [stderr] Downloaded gloo-events v0.2.0 [INFO] [stderr] Downloaded gloo-history v0.2.2 [INFO] [stderr] Downloaded gloo-net v0.4.0 [INFO] [stderr] Downloaded gloo-render v0.2.0 [INFO] [stderr] Downloaded gloo-storage v0.3.0 [INFO] [stderr] Downloaded gloo-timers v0.3.0 [INFO] [stderr] Downloaded gloo-worker-macros v0.1.0 [INFO] [stderr] Downloaded implicit-clone-derive v0.1.1 [INFO] [stderr] Downloaded tokio-stream v0.1.15 [INFO] [stderr] Downloaded rustversion v1.0.17 [INFO] [stderr] Downloaded boolinator v2.4.0 [INFO] [stderr] Downloaded zstd v0.13.1 [INFO] [stderr] Downloaded object v0.35.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.24 [INFO] [stderr] Downloaded signal-hook-registry v1.4.2 [INFO] [stderr] Downloaded actix-router v0.5.3 [INFO] [stderr] Downloaded time-macros v0.2.18 [INFO] [stderr] Downloaded time v0.3.36 [INFO] [stderr] Downloaded blowfish v0.9.1 [INFO] [stderr] Downloaded zeroize v1.8.1 [INFO] [stderr] Downloaded bcrypt v0.15.1 [INFO] [stderr] Downloaded chrono v0.4.38 [INFO] [stderr] Downloaded winnow v0.6.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1182ed9bee039bd223d7260927e0e08bea9988873ae548950f070cb261be7a61 [INFO] running `Command { std: "docker" "start" "-a" "1182ed9bee039bd223d7260927e0e08bea9988873ae548950f070cb261be7a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1182ed9bee039bd223d7260927e0e08bea9988873ae548950f070cb261be7a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1182ed9bee039bd223d7260927e0e08bea9988873ae548950f070cb261be7a61", kill_on_drop: false }` [INFO] [stdout] 1182ed9bee039bd223d7260927e0e08bea9988873ae548950f070cb261be7a61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2cd6dfa89cb545460e95678c2446fe422d62f1df43974b64cd14d8c8a3674ae [INFO] running `Command { std: "docker" "start" "-a" "f2cd6dfa89cb545460e95678c2446fe422d62f1df43974b64cd14d8c8a3674ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling regex-lite v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking winnow v0.6.9 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking route-recognizer v0.3.1 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking dotenv_codegen v0.15.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling yew-router-macro v0.18.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking implicit-clone v0.4.9 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking stylist-core v0.13.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking toml_edit v0.22.13 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling stylist-macros v0.13.0 [INFO] [stderr] Checking toml v0.8.13 [INFO] [stderr] Checking actix-http v3.7.0 [INFO] [stderr] Checking actix-web v4.6.0 [INFO] [stderr] Checking actix-cors v0.7.0 [INFO] [stderr] Checking rpg-helper-server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: field `server` is never read [INFO] [stdout] --> server/src/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub server: ServerConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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: fields `host` and `port` are never read [INFO] [stdout] --> server/src/config.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ServerConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 12 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub port: u16 [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> server/src/config.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 17 | pub fn from_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `server` is never read [INFO] [stdout] --> server/src/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub server: ServerConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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: fields `host` and `port` are never read [INFO] [stdout] --> server/src/config.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ServerConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 12 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub port: u16 [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> server/src/config.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 17 | pub fn from_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-worker v0.4.0 [INFO] [stderr] Checking gloo-net v0.4.0 [INFO] [stderr] Checking gloo-net v0.5.0 [INFO] [stderr] Checking gloo-worker v0.5.0 [INFO] [stderr] Checking gloo-history v0.2.2 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stderr] Checking gloo v0.11.0 [INFO] [stderr] Checking gloo v0.10.0 [INFO] [stderr] Checking yew v0.21.0 [INFO] [stderr] Checking yew-router v0.18.0 [INFO] [stderr] Checking stylist v0.13.0 [INFO] [stderr] Checking yew_icons v0.8.0 [INFO] [stderr] Checking rpg-helper v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> client/src/syntax/parse.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `io`, and `net::TcpStream` [INFO] [stdout] --> client/src/data.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, io, net::TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthorityInstance` [INFO] [stdout] --> client/src/data.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::network::{AuthorityInstance, ClientInstance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MetaTypeInstance`, `MetaType`, and `indexes::Index` [INFO] [stdout] --> client/src/data.rs:5:67 [INFO] [stdout] | [INFO] [stdout] 5 | use self::{file_storage::{CharacterDataFile, GameMasterDataFile}, indexes::Index, meta_type::{MetaType, MetaTypeInstance}, view::ActiveVi... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::indexes::value_index::ValueIndex` [INFO] [stdout] --> client/src/data/meta_type.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::indexes::value_index::ValueIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::indexes::value_index::ValueIndex` [INFO] [stdout] --> client/src/data/equation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::indexes::value_index::ValueIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::meta_type::Type` [INFO] [stdout] --> client/src/data/equation.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::meta_type::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetaTypeInstance` [INFO] [stdout] --> client/src/data/timeline.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{indexes::type_index::TypeIndex, meta_type::{MetaTypeInstance, Type}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InsertionError` [INFO] [stdout] --> client/src/data/indexes/equation_index.rs:3:64 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{data::equation::Equation, error::{DefinitionError, InsertionError}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetaTypeInstance` [INFO] [stdout] --> client/src/data/indexes/value_index.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{data::meta_type::{MetaTypeInstance, Type, Value}, error::InsertionError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> client/src/data/character_data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view::data_view::DataView` [INFO] [stdout] --> client/src/data/character_data.rs:3:58 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{indexes::Index, meta_type::MetaTypeInstance, view::data_view::DataView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::CharacterData` [INFO] [stdout] --> client/src/data/view/data_view.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::CharacterData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `use_state` [INFO] [stdout] --> client/src/gui/contexts/character.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use yew::{hook, use_state}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::UseStateHandle` [INFO] [stdout] --> client/src/gui/contexts/character.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use yew::UseStateHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> client/src/gui/display/molecules/value_text.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `console::log` and `timers::callback::Timeout` [INFO] [stdout] --> client/src/gui/display/molecules/value_text.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use gloo::{console::log, timers::callback::Timeout}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::window` [INFO] [stdout] --> client/src/gui/display/molecules/value_text.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use web_sys::window; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `css` [INFO] [stdout] --> client/src/gui/display/molecules/value_text.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use stylist::{css, yew::styled_component}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> client/src/gui/display/organisms/nav_bar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `use_context` [INFO] [stdout] --> client/src/gui/display/organisms/nav_bar.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use yew::{html, use_context, Html}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> client/src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> client/src/syntax/parse.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `io`, and `net::TcpStream` [INFO] [stdout] --> client/src/data.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, io, net::TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthorityInstance` [INFO] [stdout] --> client/src/data.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::network::{AuthorityInstance, ClientInstance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MetaTypeInstance`, `MetaType`, and `indexes::Index` [INFO] [stdout] --> client/src/data.rs:5:67 [INFO] [stdout] | [INFO] [stdout] 5 | use self::{file_storage::{CharacterDataFile, GameMasterDataFile}, indexes::Index, meta_type::{MetaType, MetaTypeInstance}, view::ActiveVi... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::indexes::value_index::ValueIndex` [INFO] [stdout] --> client/src/data/meta_type.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::indexes::value_index::ValueIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::indexes::value_index::ValueIndex` [INFO] [stdout] --> client/src/data/equation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::indexes::value_index::ValueIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::meta_type::Type` [INFO] [stdout] --> client/src/data/equation.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::meta_type::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetaTypeInstance` [INFO] [stdout] --> client/src/data/timeline.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{indexes::type_index::TypeIndex, meta_type::{MetaTypeInstance, Type}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InsertionError` [INFO] [stdout] --> client/src/data/indexes/equation_index.rs:3:64 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{data::equation::Equation, error::{DefinitionError, InsertionError}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetaTypeInstance` [INFO] [stdout] --> client/src/data/indexes/value_index.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{data::meta_type::{MetaTypeInstance, Type, Value}, error::InsertionError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> client/src/data/character_data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `view::data_view::DataView` [INFO] [stdout] --> client/src/data/character_data.rs:3:58 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{indexes::Index, meta_type::MetaTypeInstance, view::data_view::DataView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::CharacterData` [INFO] [stdout] --> client/src/data/view/data_view.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::CharacterData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `use_state` [INFO] [stdout] --> client/src/gui/contexts/character.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use yew::{hook, use_state}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::UseStateHandle` [INFO] [stdout] --> client/src/gui/contexts/character.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use yew::UseStateHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> client/src/gui/display/molecules/value_text.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `console::log` and `timers::callback::Timeout` [INFO] [stdout] --> client/src/gui/display/molecules/value_text.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use gloo::{console::log, timers::callback::Timeout}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::window` [INFO] [stdout] --> client/src/gui/display/molecules/value_text.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use web_sys::window; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `css` [INFO] [stdout] --> client/src/gui/display/molecules/value_text.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use stylist::{css, yew::styled_component}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> client/src/gui/display/organisms/nav_bar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `use_context` [INFO] [stdout] --> client/src/gui/display/organisms/nav_bar.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use yew::{html, use_context, Html}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> client/src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html::IntoPropValue` [INFO] [stdout] --> client/src/gui/display/organisms/nav_bar.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use yew::{html::IntoPropValue, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | let result = build_instance(types.get_type(&meta_type_name).expect("Unknown type"), types, m); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html::IntoPropValue` [INFO] [stdout] --> client/src/gui/display/organisms/nav_bar.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use yew::{html::IntoPropValue, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | let result = build_instance(types.get_type(&meta_type_name).expect("Unknown type"), types, m); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `given_input` [INFO] [stdout] --> client/src/data/meta_type.rs:549:24 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn valid_input(given_input: &Value) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_given_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> client/src/data/equation.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | fn expects_bool(&self, node: &mut OperatorNode, prev_requests: &mut Vec, val_requested: &mut bool) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_requests` [INFO] [stdout] --> client/src/data/equation.rs:145:53 [INFO] [stdout] | [INFO] [stdout] 145 | fn expects_bool(&self, node: &mut OperatorNode, prev_requests: &mut Vec, val_requested: &mut bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_requests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_requested` [INFO] [stdout] --> client/src/data/equation.rs:145:91 [INFO] [stdout] | [INFO] [stdout] 145 | fn expects_bool(&self, node: &mut OperatorNode, prev_requests: &mut Vec, val_requested: &mut bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_requested` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> client/src/data/equation.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn evaluate(inputs: Vec) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> client/src/data/timeline.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> client/src/data/timeline.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_name` [INFO] [stdout] --> client/src/data/indexes/value_index.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_value(&self, value_name: &str) -> Option<&Value<'b>> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_name` [INFO] [stdout] --> client/src/data/indexes/value_index.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_mut_value(&self, value_name: &str) -> Option<&mut Value<'b>> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> client/src/data/indexes/value_index.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_parent_of(&self, val: &Value<'b>) -> Option<&Value<'b>> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> client/src/data/indexes/value_index.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_values_of_type(&self, t: &Type, types: &TypeIndex) -> Vec<&Value<'b>> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> client/src/data/indexes/value_index.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_values_of_type(&self, t: &Type, types: &TypeIndex) -> Vec<&Value<'b>> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `die_name` [INFO] [stdout] --> client/src/data/dice.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn get_dice(die_name: String, num_dice: i32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_die_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_dice` [INFO] [stdout] --> client/src/data/dice.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn get_dice(die_name: String, num_dice: i32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_dice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_result` [INFO] [stdout] --> client/src/data/dice.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn roll(&self, prev_result: Option) -> DieResult { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> client/src/data/dice.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | fn apply(&self, input: i32) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> client/src/data/character_data.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_all_of_type(&self, t: &str) -> &MetaTypeInstance<'b> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> client/src/data/view/data_view.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_all_of_type(&self, t: &str) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_id` [INFO] [stdout] --> client/src/network.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn set_active_game(&mut self, game_id: i32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `given_input` [INFO] [stdout] --> client/src/data/meta_type.rs:549:24 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn valid_input(given_input: &Value) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_given_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> client/src/data/equation.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | fn expects_bool(&self, node: &mut OperatorNode, prev_requests: &mut Vec, val_requested: &mut bool) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_requests` [INFO] [stdout] --> client/src/data/equation.rs:145:53 [INFO] [stdout] | [INFO] [stdout] 145 | fn expects_bool(&self, node: &mut OperatorNode, prev_requests: &mut Vec, val_requested: &mut bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_requests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_requested` [INFO] [stdout] --> client/src/data/equation.rs:145:91 [INFO] [stdout] | [INFO] [stdout] 145 | fn expects_bool(&self, node: &mut OperatorNode, prev_requests: &mut Vec, val_requested: &mut bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_requested` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs` [INFO] [stdout] --> client/src/data/equation.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn evaluate(inputs: Vec) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> client/src/gui/contexts/style/theme.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn read_theme(file_path: &str) -> Theme { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> client/src/gui/display/atoms/table.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let style = css!( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> client/src/gui/display/atoms/table.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn table(props: &Props) -> Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> client/src/data/timeline.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> client/src/data/timeline.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_name` [INFO] [stdout] --> client/src/data/indexes/value_index.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_value(&self, value_name: &str) -> Option<&Value<'b>> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_name` [INFO] [stdout] --> client/src/data/indexes/value_index.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_mut_value(&self, value_name: &str) -> Option<&mut Value<'b>> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> client/src/data/indexes/value_index.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_parent_of(&self, val: &Value<'b>) -> Option<&Value<'b>> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> client/src/data/indexes/value_index.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_values_of_type(&self, t: &Type, types: &TypeIndex) -> Vec<&Value<'b>> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> client/src/data/indexes/value_index.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_values_of_type(&self, t: &Type, types: &TypeIndex) -> Vec<&Value<'b>> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> client/src/gui/display/molecules/value_text.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn value_text(props: &Props) -> Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `die_name` [INFO] [stdout] --> client/src/data/dice.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn get_dice(die_name: String, num_dice: i32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_die_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_dice` [INFO] [stdout] --> client/src/data/dice.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn get_dice(die_name: String, num_dice: i32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_dice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_result` [INFO] [stdout] --> client/src/data/dice.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn roll(&self, prev_result: Option) -> DieResult { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> client/src/data/dice.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | fn apply(&self, input: i32) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> client/src/data/character_data.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_all_of_type(&self, t: &str) -> &MetaTypeInstance<'b> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> client/src/data/view/data_view.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_all_of_type(&self, t: &str) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_id` [INFO] [stdout] --> client/src/network.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn set_active_game(&mut self, game_id: i32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> client/src/gui/contexts/style/theme.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn read_theme(file_path: &str) -> Theme { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> client/src/gui/display/atoms/table.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let style = css!( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> client/src/gui/display/atoms/table.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn table(props: &Props) -> Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> client/src/gui/display/organisms/nav_bar.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | fn user_menu(props: &UserMenuProps) -> Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> client/src/gui/display/pages/character_viewer.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | fn character_pane(props: &CharacterPaneProps) ->Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> client/src/gui/display/pages/sheets/character_details.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn character_details(props: &Props) -> Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> client/src/gui/display/pages/sheets/tabbed_sheet.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn tabbed_sheet(props: &Props) -> Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> client/src/gui/display/molecules/value_text.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn value_text(props: &Props) -> Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Bracket` is never used [INFO] [stdout] --> client/src/syntax/parse.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum Bracket { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_char` is never used [INFO] [stdout] --> client/src/syntax/parse.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Bracket { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn from_char(c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `brackets_are_balanced` is never used [INFO] [stdout] --> client/src/syntax/parse.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn brackets_are_balanced(string: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_contains_op` is never used [INFO] [stdout] --> client/src/syntax/parse.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn string_contains_op(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left_pa`, `min_op`, `left_op`, and `is_method` are never read [INFO] [stdout] --> client/src/syntax/parse.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct ParenPair { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 52 | left_pa: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | min_op: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | left_op: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | is_method: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParenPair` 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: associated functions `new` and `new_empty` are never used [INFO] [stdout] --> client/src/syntax/parse.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl ParenPair { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 59 | fn new(left_pa: Option, is_method: bool) -> ParenPair { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn new_empty() -> ParenPair { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyntaxError` is never constructed [INFO] [stdout] --> client/src/syntax/parse.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct SyntaxError; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxError` 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: function `remove_paren` is never used [INFO] [stdout] --> client/src/syntax/parse.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn remove_paren(e: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_equations` is never used [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_equations(path: &str) -> EquationIndex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_types` is never used [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse_types(path: &str, mut equations: EquationIndex) -> TypeIndex { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_defaults` is never used [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn add_defaults(builder: TypeIndexBuilder) -> TypeIndexBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_to_type` is never used [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn string_to_type(s: String) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_values` is never used [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_values<'a>(types: &'a TypeIndex, path: &str) -> ValueIndex<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_instance` is never used [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn build_instance<'a>(meta_type: &'a MetaType, types: &'a TypeIndex, m: serde_json::Map) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_value` is never used [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn to_value<'a>(val: serde_json::Value, t: Type, types: &'a TypeIndex) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenize_expression` is never used [INFO] [stdout] --> client/src/syntax/tokenize.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn tokenize_expression(e: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_whitespace` is never used [INFO] [stdout] --> client/src/syntax/tokenize.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn remove_whitespace(e: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> client/src/syntax/operators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Operation { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 3 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Negate, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Pow, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | Sqrt, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Round, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | RoundDown, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | RoundUp, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | Ternary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | Query, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | Find, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | NotEqual, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | LessThanEq, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | GreaterThanEq, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` 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: associated items `get_num_operands`, `is_method_operator`, `is_boolean_op`, `get_operator`, and `get_precedence` are never used [INFO] [stdout] --> client/src/syntax/operators.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Operation { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 28 | pub fn get_num_operands(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn is_method_operator(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn is_boolean_op(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_operator(s: &str, prev: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_precedence(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppData` is never constructed [INFO] [stdout] --> client/src/data.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct AppData<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> client/src/data.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Game<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameData` is never constructed [INFO] [stdout] --> client/src/data.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct GameData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> client/src/gui/display/organisms/nav_bar.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | fn user_menu(props: &UserMenuProps) -> Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_type_name`, `get_field_type`, `get_fields`, `get_default`, and `get_field` are never used [INFO] [stdout] --> client/src/data/meta_type.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MetaType { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(type_name: String) -> MetaTypeBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_type_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_field_type(&self, field_name: &str) -> Option<&Type> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_fields(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_default<'a>(&'a self, types: &'a TypeIndex) -> MetaTypeInstance<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn get_field(&self, field_name: &str) -> Option<&MetaField> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaTypeBuilder` is never constructed [INFO] [stdout] --> client/src/data/meta_type.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct MetaTypeBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `define_field`, `has_field_defined`, and `build` are never used [INFO] [stdout] --> client/src/data/meta_type.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl MetaTypeBuilder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 77 | pub fn define_field(mut self, field_name: String, field_type: Type) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn has_field_defined(&self, field_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn build(self) -> MetaType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_field_value`, `get_mut_field_value`, `as_f32`, `compare`, and `get_type` are never used [INFO] [stdout] --> client/src/data/meta_type.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl<'g> MetaTypeInstance<'g> { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 118 | pub fn new<'a>(t: &'a MetaType) -> MetaTypeInstanceBuilder<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_field_value(&self, field_name: &str) -> Option<&Value<'g>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_mut_field_value(&mut self, field_name: &str) -> Option<&mut Value<'g>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn as_f32(&self, data: Option<&'g DataView>) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn compare(&self, other: &Self, data: Option<&'g DataView>) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn get_type(&self) -> &'g MetaType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaTypeInstanceBuilder` is never constructed [INFO] [stdout] --> client/src/data/meta_type.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct MetaTypeInstanceBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `init_field`, `get_needed_fields`, and `build` are never used [INFO] [stdout] --> client/src/data/meta_type.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> MetaTypeInstanceBuilder<'a> { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] 178 | pub fn init_field(mut self, field_name: String, field_value: Value<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn get_needed_fields(&self) -> Vec<(String, Type)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn build(mut self, types: &'a TypeIndex) -> MetaTypeInstance<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> client/src/data/meta_type.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 243 | impl<'g> Value<'g> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 244 | pub fn new_num<'a>(num: f32) -> Value<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn new_text<'a>(text: String) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn new_list<'a>(list: Vec>, t: Type) -> Result, FieldError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn new_enum<'a>(val: String, t: Type) -> Result, FieldError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn new_equation<'a>(t: Type) -> Result, FieldError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn new_meta_instance<'a>(meta_type_name: String, inst: MetaTypeInstance<'a>) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn new_meta_ref<'a>(meta_ref_name: String, t: Type) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn new_input<'a>(t: Type, restrictions: Vec) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn as_f32(&self, container: &MetaTypeInstance, data: Option<&DataView>) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn as_mut_f32(&mut self) -> Option<&mut f32> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn as_list(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub fn as_mut_list(&mut self) -> Option<&mut Vec>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub fn as_meta_inst(&self, data: Option<&'g DataView>) -> Option<&'g MetaTypeInstance> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn as_mut_meta_inst(&mut self) -> Option<&'g mut MetaTypeInstance> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub fn as_input<'a>(&'a self) -> Option<&'a RestrictedInput> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn as_die_roll<'a>(&'a self) -> Option<&'a DieRoll> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn get_type(&self) -> &Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> client/src/data/meta_type.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 430 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 431 | Num, [INFO] [stdout] | ^^^ [INFO] [stdout] 432 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] 433 | List(Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 434 | Enum(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 435 | Meta(String), // Name of the meta type [INFO] [stdout] | ^^^^ [INFO] [stdout] 436 | Equation(Equation), // Equation is owned by the type and thus not named [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 437 | MetaRef(String), // MetaRef has the name of the meta type, just like Meta [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 438 | Input(RestrictedInput), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 439 | DieRoll(DieRoll), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_equation` and `get_default` are never used [INFO] [stdout] --> client/src/data/meta_type.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 461 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 462 | fn to_equation(&self) -> Option<&Equation> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn get_default<'a>(&self, types: &'a TypeIndex) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> client/src/data/meta_type.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 508 | enum Data<'a> { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 509 | Num(f32), [INFO] [stdout] | ^^^ [INFO] [stdout] 510 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 511 | List(Vec>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 512 | Enum(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 513 | Meta(MetaTypeInstance<'a>), // The meta type is accessed by the field name [INFO] [stdout] | ^^^^ [INFO] [stdout] 514 | Equation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 515 | Input, // Maybe store last input and whether it has been used? [INFO] [stdout] | ^^^^^ [INFO] [stdout] 516 | DieRoll, // IDK, but can store stuff for later [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 517 | MetaRef(String) // Name of the actual reference to the meta instance [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `valid_input` is never used [INFO] [stdout] --> client/src/data/meta_type.rs:549:12 [INFO] [stdout] | [INFO] [stdout] 548 | impl RestrictedInput { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 549 | pub fn valid_input(given_input: &Value) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `evaluate`, and `get_required_input` are never used [INFO] [stdout] --> client/src/data/equation.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Equation { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new(s: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn evaluate<'a>(&'a self, expects: EvalResultType, container: &'a MetaTypeInstance, data: Option<&'a DataView>) -> Result Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EvaluationError` is never constructed [INFO] [stdout] --> client/src/data/equation.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct EvaluationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvaluationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvalResult` is never used [INFO] [stdout] --> client/src/data/equation.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum EvalResult<'a, 'b> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvalResult` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any`, `Numeric`, `Boolean`, and `MetaType` are never constructed [INFO] [stdout] --> client/src/data/equation.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum EvalResultType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 66 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 67 | Numeric, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 68 | Boolean, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | MetaType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvalResultType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> client/src/data/equation.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl<'a, 'b> EvalResult<'a, 'b> { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] 73 | pub fn as_bool(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn as_f32(&self, data: Option<&DataView>) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn as_meta_inst(&self) -> Option<&'a MetaTypeInstance<'b>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn as_input(&self) -> Option<(Vec, RequestEval)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn as_request(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn process_input_or_request(&self, node: &mut OperatorNode, prev_requests: &mut Vec, val_requested: &mut bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn expects_f32(&self, data: Option<&DataView<'_>>, node: &mut OperatorNode, prev_requests: &mut Vec, val_requested: &mut... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn expects_inst(&self, node: &mut OperatorNode, prev_requests: &mut Vec, val_requested: &mut bool) -> Option<&'a MetaTyp... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn expects_bool(&self, node: &mut OperatorNode, prev_requests: &mut Vec, val_requested: &mut bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvalRequest` is never used [INFO] [stdout] --> client/src/data/equation.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | pub enum EvalRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvalRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestEval` is never constructed [INFO] [stdout] --> client/src/data/equation.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct RequestEval { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestEval` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `evaluate` is never used [INFO] [stdout] --> client/src/data/equation.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl RequestEval { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 162 | pub fn evaluate(inputs: Vec) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `build_syntax_tree` and `evaluate` are never used [INFO] [stdout] --> client/src/data/equation.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl EquationSyntaxTree { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 173 | fn build_syntax_tree(e: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn evaluate<'a>(&'a self, expects: EvalResultType, container: &'a MetaTypeInstance, data: Option<&'a DataView>) -> Result client/src/data/equation.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 220 | enum SyntaxNode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 221 | Operator(OperatorNode), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 222 | Operand(OperandNode), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 223 | Input(usize) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxNode` 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: multiple associated items are never used [INFO] [stdout] --> client/src/data/equation.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 226 | impl SyntaxNode { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 227 | fn build_node(e: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | fn find_root_op_index(e: &[String]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | fn parse_op(e: Vec, split: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | fn parse_method_op(e: Vec, split: usize, op: Operation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | fn parse_binary_op(e: Vec, split: usize, op: Operation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn parse_unary_op(e: Vec, split: usize, op: Operation) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | fn parse_ternary(e: Vec, split: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | fn eval_recursive<'a>(&'a self, expects: EvalResultType, container: &'a MetaTypeInstance, data: Option<&'a DataView>, inputs: Option<... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | fn eval_input_node<'a, 'b>(expects: EvalResultType, input: &'b Value<'a>, container: &'b MetaTypeInstance, data: Option<&'b DataView>... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | fn eval_operator_node<'a, 'b>(op: &'a OperatorNode, container: &'a MetaTypeInstance, data: Option<&'a DataView<'b>>, inputs: Option<&... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 634 | fn eval_operand_node<'a, 'b>(expects: EvalResultType, o: &OperandNode, container: &'b MetaTypeInstance, data: Option<&'b DataView>) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | fn add_to_input_index(&mut self, add: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect_child_type` is never used [INFO] [stdout] --> client/src/data/equation.rs:707:8 [INFO] [stdout] | [INFO] [stdout] 706 | impl Operation { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 707 | fn expect_child_type(&self, child_index: usize) -> EvalResultType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> client/src/data/equation.rs:750:8 [INFO] [stdout] | [INFO] [stdout] 749 | impl OperatorNode { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 750 | fn new(op: Operation, vals: Vec) -> OperatorNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Number`, `Boolean`, and `Query` are never constructed [INFO] [stdout] --> client/src/data/equation.rs:789:5 [INFO] [stdout] | [INFO] [stdout] 788 | enum OperandNode { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 789 | Number(f32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 790 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 791 | Query(String) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperandNode` 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: associated function `new` is never used [INFO] [stdout] --> client/src/data/equation.rs:795:8 [INFO] [stdout] | [INFO] [stdout] 794 | impl OperandNode { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 795 | fn new(s: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timeline_events` and `events` are never read [INFO] [stdout] --> client/src/data/timeline.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Timeline { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | timeline_events: TypeIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | events: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target_type` is never read [INFO] [stdout] --> client/src/data/timeline.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TimelineEvent { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | target_type: Type [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `t` is never read [INFO] [stdout] --> client/src/data/timeline.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TimelineEventInstance { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 14 | t: TimelineEvent, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `values`, `types`, `equations`, and `timeline` are never read [INFO] [stdout] --> client/src/data/indexes.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Index<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 18 | id: u32, [INFO] [stdout] 19 | values: ValueIndex<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | types: TypeIndex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | equations: EquationIndex, // Equations are held by ValueTy [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | timeline: Timeline, // Timeline holds the events [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_id` and `get_values` are never used [INFO] [stdout] --> client/src/data/indexes.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'b> Index<'b> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 29 | pub fn get_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_values<'a>(&'a self) -> &'a ValueIndex<'b> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_equation` are never used [INFO] [stdout] --> client/src/data/indexes/equation_index.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl EquationIndex { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> EquationIndexBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn get_equation(&mut self, for_type: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EquationIndexBuilder` is never constructed [INFO] [stdout] --> client/src/data/indexes/equation_index.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct EquationIndexBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `define_equation` and `build` are never used [INFO] [stdout] --> client/src/data/indexes/equation_index.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl EquationIndexBuilder { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 33 | pub fn define_equation(mut self, for_type: &str, e: Equation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn build(self) -> EquationIndex { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `combine`, `insert`, and `get_type` are never used [INFO] [stdout] --> client/src/data/indexes/type_index.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TypeIndex { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> TypeIndexBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn combine(&mut self, rhs: TypeIndex) -> Result<(), InsertionError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn insert(&mut self, meta_type: MetaType) -> Result<(), InsertionError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_type(&self, type_name: &str) -> Option<&MetaType> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeIndexBuilder` is never constructed [INFO] [stdout] --> client/src/data/indexes/type_index.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct TypeIndexBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `define_type` and `build` are never used [INFO] [stdout] --> client/src/data/indexes/type_index.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl TypeIndexBuilder { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 62 | pub fn define_type(mut self, new_type: MetaType) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn build(self) -> TypeIndex { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_value`, `get_mut_value`, `get_parent_of`, `get_values_of_type`, and `insert` are never used [INFO] [stdout] --> client/src/data/indexes/value_index.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'b> ValueIndex<'b> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new<'a>() -> ValueIndexBuilder<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_value(&self, value_name: &str) -> Option<&Value<'b>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_mut_value(&self, value_name: &str) -> Option<&mut Value<'b>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_parent_of(&self, val: &Value<'b>) -> Option<&Value<'b>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_values_of_type(&self, t: &Type, types: &TypeIndex) -> Vec<&Value<'b>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn insert(&mut self, name: &str, inst: Value<'b>) -> Result<(), InsertionError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueIndexBuilder` is never constructed [INFO] [stdout] --> client/src/data/indexes/value_index.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ValueIndexBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert` and `build` are never used [INFO] [stdout] --> client/src/data/indexes/value_index.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'b> ValueIndexBuilder<'b> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 68 | pub fn insert(mut self, name: &str, val: Value<'b>) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn build(self) -> ValueIndex<'b> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_dice` is never used [INFO] [stdout] --> client/src/data/dice.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl DieIndex { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 10 | pub fn get_dice(die_name: String, num_dice: i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `roll` is never used [INFO] [stdout] --> client/src/data/dice.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl DieRoll { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 26 | pub fn roll(&self, prev_result: Option) -> DieResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Num`, `ChanceToBotch`, `Botch`, and `Explode` are never constructed [INFO] [stdout] --> client/src/data/dice.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum DieResult { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 33 | Num(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | ChanceToBotch(i32), // Number of botch die to roll [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | Botch(i32), // Number of botch dice that turned up zero [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Explode(i32), // Number of cumulative explodes [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DieResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Exploding` and `Botch` are never constructed [INFO] [stdout] --> client/src/data/dice.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | enum DieModifier { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 41 | Exploding(i32), // Multiplier applied when exploding [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 42 | Botch(i32) // Number of botch die [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DieModifier` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> client/src/data/dice.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl DieModifier { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 46 | fn apply(&self, input: i32) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CharacterDataFile` is never constructed [INFO] [stdout] --> client/src/data/file_storage.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CharacterDataFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameMasterDataFile` is never constructed [INFO] [stdout] --> client/src/data/file_storage.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GameMasterDataFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameDataFile` is never constructed [INFO] [stdout] --> client/src/data/file_storage.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GameDataFile { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataFile` is never used [INFO] [stdout] --> client/src/data/file_storage.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum DataFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_data` is never used [INFO] [stdout] --> client/src/data/file_storage.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl DataFile { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 25 | pub fn get_data<'a>(self) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoredData` is never constructed [INFO] [stdout] --> client/src/data/file_storage.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct StoredData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Modifier` is never constructed [INFO] [stdout] --> client/src/data/modifier.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Modifier { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RulesetID` is never constructed [INFO] [stdout] --> client/src/data/ruleset.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RulesetID { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default` and `get_all_of_type` are never used [INFO] [stdout] --> client/src/data/character_data.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'b> CharacterData<'b> { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn default<'a>() -> CharacterData<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_all_of_type(&self, t: &str) -> &MetaTypeInstance<'b> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ActiveView` is never used [INFO] [stdout] --> client/src/data/view.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ActiveView<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataView` is never constructed [INFO] [stdout] --> client/src/data/view/data_view.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DataView<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_of_type`, `get_owned_index`, and `get_id` are never used [INFO] [stdout] --> client/src/data/view/data_view.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl DataView<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 13 | pub fn get_all_of_type(&self, t: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_owned_index(&self) -> &Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceView` is never constructed [INFO] [stdout] --> client/src/data/view/instance_view.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct InstanceView<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InsertionError` is never used [INFO] [stdout] --> client/src/error.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum InsertionError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InsertionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FieldError` is never used [INFO] [stdout] --> client/src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FieldError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DefinitionError` is never used [INFO] [stdout] --> client/src/error.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum DefinitionError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DefinitionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClientInstance` is never constructed [INFO] [stdout] --> client/src/network.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ClientInstance<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClientHandle` is never constructed [INFO] [stdout] --> client/src/network.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct ClientHandle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_active_game` and `update_shared_data` are never used [INFO] [stdout] --> client/src/network.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ClientHandle { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 18 | pub fn set_active_game(&mut self, game_id: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn update_shared_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerHandle` is never constructed [INFO] [stdout] --> client/src/network.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct ServerHandle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthorityInstance` is never constructed [INFO] [stdout] --> client/src/network.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct AuthorityInstance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> client/src/gui/contexts/style/theme.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl ThemeContext { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn set(&self, theme: Theme) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_theme` is never used [INFO] [stdout] --> client/src/gui/contexts/style/theme.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn read_theme(file_path: &str) -> Theme { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `save` is never used [INFO] [stdout] --> client/src/gui/contexts/character.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl CharacterView<'_> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn save() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Restriction` is never used [INFO] [stdout] --> client/src/gui/display.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Restriction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ContextRestriction` is never used [INFO] [stdout] --> client/src/gui/display.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | trait ContextRestriction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> client/src/gui/display/pages/character_viewer.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | fn character_pane(props: &CharacterPaneProps) ->Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> client/src/gui/display/pages/sheets/character_details.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn character_details(props: &Props) -> Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> client/src/gui/display/pages/sheets/tabbed_sheet.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn tabbed_sheet(props: &Props) -> Html { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 144 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_contains_op` is never used [INFO] [stdout] --> client/src/syntax/parse.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn string_contains_op(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_equations` is never used [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_equations(path: &str) -> EquationIndex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_types` is never used [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse_types(path: &str, mut equations: EquationIndex) -> TypeIndex { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_defaults` is never used [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn add_defaults(builder: TypeIndexBuilder) -> TypeIndexBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_to_type` is never used [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn string_to_type(s: String) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_values` is never used [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_values<'a>(types: &'a TypeIndex, path: &str) -> ValueIndex<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_instance` is never used [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn build_instance<'a>(meta_type: &'a MetaType, types: &'a TypeIndex, m: serde_json::Map) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_value` is never used [INFO] [stdout] --> client/src/syntax/parse/json_parser.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn to_value<'a>(val: serde_json::Value, t: Type, types: &'a TypeIndex) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_boolean_op` is never used [INFO] [stdout] --> client/src/syntax/operators.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Operation { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn is_boolean_op(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppData` is never constructed [INFO] [stdout] --> client/src/data.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct AppData<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> client/src/data.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Game<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameData` is never constructed [INFO] [stdout] --> client/src/data.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct GameData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_type_name`, `get_field_type`, `get_fields`, `get_default`, and `get_field` are never used [INFO] [stdout] --> client/src/data/meta_type.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MetaType { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(type_name: String) -> MetaTypeBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_type_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_field_type(&self, field_name: &str) -> Option<&Type> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_fields(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_default<'a>(&'a self, types: &'a TypeIndex) -> MetaTypeInstance<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn get_field(&self, field_name: &str) -> Option<&MetaField> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaTypeBuilder` is never constructed [INFO] [stdout] --> client/src/data/meta_type.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct MetaTypeBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `define_field`, `has_field_defined`, and `build` are never used [INFO] [stdout] --> client/src/data/meta_type.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl MetaTypeBuilder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 77 | pub fn define_field(mut self, field_name: String, field_type: Type) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn has_field_defined(&self, field_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn build(self) -> MetaType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_field_value`, `get_mut_field_value`, `as_f32`, `compare`, and `get_type` are never used [INFO] [stdout] --> client/src/data/meta_type.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl<'g> MetaTypeInstance<'g> { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 118 | pub fn new<'a>(t: &'a MetaType) -> MetaTypeInstanceBuilder<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_field_value(&self, field_name: &str) -> Option<&Value<'g>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_mut_field_value(&mut self, field_name: &str) -> Option<&mut Value<'g>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn as_f32(&self, data: Option<&'g DataView>) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn compare(&self, other: &Self, data: Option<&'g DataView>) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn get_type(&self) -> &'g MetaType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetaTypeInstanceBuilder` is never constructed [INFO] [stdout] --> client/src/data/meta_type.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct MetaTypeInstanceBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `init_field`, `get_needed_fields`, and `build` are never used [INFO] [stdout] --> client/src/data/meta_type.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl<'a> MetaTypeInstanceBuilder<'a> { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] 178 | pub fn init_field(mut self, field_name: String, field_value: Value<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn get_needed_fields(&self) -> Vec<(String, Type)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn build(mut self, types: &'a TypeIndex) -> MetaTypeInstance<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> client/src/data/meta_type.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 243 | impl<'g> Value<'g> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 244 | pub fn new_num<'a>(num: f32) -> Value<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn new_text<'a>(text: String) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn new_list<'a>(list: Vec>, t: Type) -> Result, FieldError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn new_enum<'a>(val: String, t: Type) -> Result, FieldError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn new_equation<'a>(t: Type) -> Result, FieldError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn new_meta_instance<'a>(meta_type_name: String, inst: MetaTypeInstance<'a>) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn new_meta_ref<'a>(meta_ref_name: String, t: Type) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn new_input<'a>(t: Type, restrictions: Vec) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn as_f32(&self, container: &MetaTypeInstance, data: Option<&DataView>) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn as_mut_f32(&mut self) -> Option<&mut f32> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn as_list(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub fn as_mut_list(&mut self) -> Option<&mut Vec>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub fn as_meta_inst(&self, data: Option<&'g DataView>) -> Option<&'g MetaTypeInstance> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn as_mut_meta_inst(&mut self) -> Option<&'g mut MetaTypeInstance> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub fn as_input<'a>(&'a self) -> Option<&'a RestrictedInput> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn as_die_roll<'a>(&'a self) -> Option<&'a DieRoll> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn get_type(&self) -> &Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> client/src/data/meta_type.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 430 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 431 | Num, [INFO] [stdout] | ^^^ [INFO] [stdout] 432 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] 433 | List(Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 434 | Enum(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 435 | Meta(String), // Name of the meta type [INFO] [stdout] | ^^^^ [INFO] [stdout] 436 | Equation(Equation), // Equation is owned by the type and thus not named [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 437 | MetaRef(String), // MetaRef has the name of the meta type, just like Meta [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 438 | Input(RestrictedInput), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 439 | DieRoll(DieRoll), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_equation` and `get_default` are never used [INFO] [stdout] --> client/src/data/meta_type.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 461 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 462 | fn to_equation(&self) -> Option<&Equation> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn get_default<'a>(&self, types: &'a TypeIndex) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> client/src/data/meta_type.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 508 | enum Data<'a> { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 509 | Num(f32), [INFO] [stdout] | ^^^ [INFO] [stdout] 510 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 511 | List(Vec>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 512 | Enum(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 513 | Meta(MetaTypeInstance<'a>), // The meta type is accessed by the field name [INFO] [stdout] | ^^^^ [INFO] [stdout] 514 | Equation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 515 | Input, // Maybe store last input and whether it has been used? [INFO] [stdout] | ^^^^^ [INFO] [stdout] 516 | DieRoll, // IDK, but can store stuff for later [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 517 | MetaRef(String) // Name of the actual reference to the meta instance [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `valid_input` is never used [INFO] [stdout] --> client/src/data/meta_type.rs:549:12 [INFO] [stdout] | [INFO] [stdout] 548 | impl RestrictedInput { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 549 | pub fn valid_input(given_input: &Value) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `evaluate` and `get_required_input` are never used [INFO] [stdout] --> client/src/data/equation.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Equation { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn evaluate<'a>(&'a self, expects: EvalResultType, container: &'a MetaTypeInstance, data: Option<&'a DataView>) -> Result Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EvaluationError` is never constructed [INFO] [stdout] --> client/src/data/equation.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct EvaluationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvaluationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvalResult` is never used [INFO] [stdout] --> client/src/data/equation.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum EvalResult<'a, 'b> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvalResult` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any`, `Numeric`, `Boolean`, and `MetaType` are never constructed [INFO] [stdout] --> client/src/data/equation.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum EvalResultType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 66 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 67 | Numeric, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 68 | Boolean, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | MetaType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvalResultType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> client/src/data/equation.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl<'a, 'b> EvalResult<'a, 'b> { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] 73 | pub fn as_bool(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn as_f32(&self, data: Option<&DataView>) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn as_meta_inst(&self) -> Option<&'a MetaTypeInstance<'b>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn as_input(&self) -> Option<(Vec, RequestEval)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn as_request(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn process_input_or_request(&self, node: &mut OperatorNode, prev_requests: &mut Vec, val_requested: &mut bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn expects_f32(&self, data: Option<&DataView<'_>>, node: &mut OperatorNode, prev_requests: &mut Vec, val_requested: &mut... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn expects_inst(&self, node: &mut OperatorNode, prev_requests: &mut Vec, val_requested: &mut bool) -> Option<&'a MetaTyp... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn expects_bool(&self, node: &mut OperatorNode, prev_requests: &mut Vec, val_requested: &mut bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvalRequest` is never used [INFO] [stdout] --> client/src/data/equation.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | pub enum EvalRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvalRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestEval` is never constructed [INFO] [stdout] --> client/src/data/equation.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct RequestEval { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestEval` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `evaluate` is never used [INFO] [stdout] --> client/src/data/equation.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl RequestEval { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 162 | pub fn evaluate(inputs: Vec) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> client/src/data/equation.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl EquationSyntaxTree { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | fn evaluate<'a>(&'a self, expects: EvalResultType, container: &'a MetaTypeInstance, data: Option<&'a DataView>) -> Result client/src/data/equation.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 220 | enum SyntaxNode { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 223 | Input(usize) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxNode` 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: associated items `eval_recursive`, `eval_input_node`, `eval_operator_node`, `eval_operand_node`, and `add_to_input_index` are never used [INFO] [stdout] --> client/src/data/equation.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 226 | impl SyntaxNode { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 379 | fn eval_recursive<'a>(&'a self, expects: EvalResultType, container: &'a MetaTypeInstance, data: Option<&'a DataView>, inputs: Option<... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | fn eval_input_node<'a, 'b>(expects: EvalResultType, input: &'b Value<'a>, container: &'b MetaTypeInstance, data: Option<&'b DataView>... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | fn eval_operator_node<'a, 'b>(op: &'a OperatorNode, container: &'a MetaTypeInstance, data: Option<&'a DataView<'b>>, inputs: Option<&... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 634 | fn eval_operand_node<'a, 'b>(expects: EvalResultType, o: &OperandNode, container: &'b MetaTypeInstance, data: Option<&'b DataView>) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | fn add_to_input_index(&mut self, add: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect_child_type` is never used [INFO] [stdout] --> client/src/data/equation.rs:707:8 [INFO] [stdout] | [INFO] [stdout] 706 | impl Operation { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 707 | fn expect_child_type(&self, child_index: usize) -> EvalResultType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Boolean` is never constructed [INFO] [stdout] --> client/src/data/equation.rs:790:5 [INFO] [stdout] | [INFO] [stdout] 788 | enum OperandNode { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 789 | Number(f32), [INFO] [stdout] 790 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperandNode` 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 `timeline_events` and `events` are never read [INFO] [stdout] --> client/src/data/timeline.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Timeline { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | timeline_events: TypeIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | events: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target_type` is never read [INFO] [stdout] --> client/src/data/timeline.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TimelineEvent { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | target_type: Type [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `t` is never read [INFO] [stdout] --> client/src/data/timeline.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TimelineEventInstance { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 14 | t: TimelineEvent, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `values`, `types`, `equations`, and `timeline` are never read [INFO] [stdout] --> client/src/data/indexes.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Index<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 18 | id: u32, [INFO] [stdout] 19 | values: ValueIndex<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | types: TypeIndex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | equations: EquationIndex, // Equations are held by ValueTy [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | timeline: Timeline, // Timeline holds the events [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_id` and `get_values` are never used [INFO] [stdout] --> client/src/data/indexes.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'b> Index<'b> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 29 | pub fn get_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_values<'a>(&'a self) -> &'a ValueIndex<'b> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_equation` are never used [INFO] [stdout] --> client/src/data/indexes/equation_index.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl EquationIndex { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> EquationIndexBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn get_equation(&mut self, for_type: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EquationIndexBuilder` is never constructed [INFO] [stdout] --> client/src/data/indexes/equation_index.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct EquationIndexBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `define_equation` and `build` are never used [INFO] [stdout] --> client/src/data/indexes/equation_index.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl EquationIndexBuilder { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 33 | pub fn define_equation(mut self, for_type: &str, e: Equation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn build(self) -> EquationIndex { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `combine`, `insert`, and `get_type` are never used [INFO] [stdout] --> client/src/data/indexes/type_index.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TypeIndex { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> TypeIndexBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn combine(&mut self, rhs: TypeIndex) -> Result<(), InsertionError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn insert(&mut self, meta_type: MetaType) -> Result<(), InsertionError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_type(&self, type_name: &str) -> Option<&MetaType> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeIndexBuilder` is never constructed [INFO] [stdout] --> client/src/data/indexes/type_index.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct TypeIndexBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `define_type` and `build` are never used [INFO] [stdout] --> client/src/data/indexes/type_index.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl TypeIndexBuilder { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 62 | pub fn define_type(mut self, new_type: MetaType) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn build(self) -> TypeIndex { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_value`, `get_mut_value`, `get_parent_of`, `get_values_of_type`, and `insert` are never used [INFO] [stdout] --> client/src/data/indexes/value_index.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'b> ValueIndex<'b> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new<'a>() -> ValueIndexBuilder<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_value(&self, value_name: &str) -> Option<&Value<'b>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_mut_value(&self, value_name: &str) -> Option<&mut Value<'b>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_parent_of(&self, val: &Value<'b>) -> Option<&Value<'b>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_values_of_type(&self, t: &Type, types: &TypeIndex) -> Vec<&Value<'b>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn insert(&mut self, name: &str, inst: Value<'b>) -> Result<(), InsertionError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueIndexBuilder` is never constructed [INFO] [stdout] --> client/src/data/indexes/value_index.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ValueIndexBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert` and `build` are never used [INFO] [stdout] --> client/src/data/indexes/value_index.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'b> ValueIndexBuilder<'b> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 68 | pub fn insert(mut self, name: &str, val: Value<'b>) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn build(self) -> ValueIndex<'b> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_dice` is never used [INFO] [stdout] --> client/src/data/dice.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl DieIndex { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 10 | pub fn get_dice(die_name: String, num_dice: i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `roll` is never used [INFO] [stdout] --> client/src/data/dice.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl DieRoll { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 26 | pub fn roll(&self, prev_result: Option) -> DieResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Num`, `ChanceToBotch`, `Botch`, and `Explode` are never constructed [INFO] [stdout] --> client/src/data/dice.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum DieResult { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 33 | Num(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | ChanceToBotch(i32), // Number of botch die to roll [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | Botch(i32), // Number of botch dice that turned up zero [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Explode(i32), // Number of cumulative explodes [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DieResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Exploding` and `Botch` are never constructed [INFO] [stdout] --> client/src/data/dice.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | enum DieModifier { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 41 | Exploding(i32), // Multiplier applied when exploding [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 42 | Botch(i32) // Number of botch die [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DieModifier` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> client/src/data/dice.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl DieModifier { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 46 | fn apply(&self, input: i32) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CharacterDataFile` is never constructed [INFO] [stdout] --> client/src/data/file_storage.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CharacterDataFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameMasterDataFile` is never constructed [INFO] [stdout] --> client/src/data/file_storage.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GameMasterDataFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameDataFile` is never constructed [INFO] [stdout] --> client/src/data/file_storage.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GameDataFile { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataFile` is never used [INFO] [stdout] --> client/src/data/file_storage.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum DataFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_data` is never used [INFO] [stdout] --> client/src/data/file_storage.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl DataFile { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 25 | pub fn get_data<'a>(self) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoredData` is never constructed [INFO] [stdout] --> client/src/data/file_storage.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct StoredData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Modifier` is never constructed [INFO] [stdout] --> client/src/data/modifier.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Modifier { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RulesetID` is never constructed [INFO] [stdout] --> client/src/data/ruleset.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RulesetID { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default` and `get_all_of_type` are never used [INFO] [stdout] --> client/src/data/character_data.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'b> CharacterData<'b> { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn default<'a>() -> CharacterData<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_all_of_type(&self, t: &str) -> &MetaTypeInstance<'b> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ActiveView` is never used [INFO] [stdout] --> client/src/data/view.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ActiveView<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataView` is never constructed [INFO] [stdout] --> client/src/data/view/data_view.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DataView<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_of_type`, `get_owned_index`, and `get_id` are never used [INFO] [stdout] --> client/src/data/view/data_view.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl DataView<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 13 | pub fn get_all_of_type(&self, t: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_owned_index(&self) -> &Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceView` is never constructed [INFO] [stdout] --> client/src/data/view/instance_view.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct InstanceView<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InsertionError` is never used [INFO] [stdout] --> client/src/error.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum InsertionError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InsertionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FieldError` is never used [INFO] [stdout] --> client/src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FieldError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DefinitionError` is never used [INFO] [stdout] --> client/src/error.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum DefinitionError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DefinitionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClientInstance` is never constructed [INFO] [stdout] --> client/src/network.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ClientInstance<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClientHandle` is never constructed [INFO] [stdout] --> client/src/network.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct ClientHandle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_active_game` and `update_shared_data` are never used [INFO] [stdout] --> client/src/network.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ClientHandle { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 18 | pub fn set_active_game(&mut self, game_id: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn update_shared_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerHandle` is never constructed [INFO] [stdout] --> client/src/network.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct ServerHandle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthorityInstance` is never constructed [INFO] [stdout] --> client/src/network.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct AuthorityInstance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> client/src/gui/contexts/style/theme.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl ThemeContext { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn set(&self, theme: Theme) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_theme` is never used [INFO] [stdout] --> client/src/gui/contexts/style/theme.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn read_theme(file_path: &str) -> Theme { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `save` is never used [INFO] [stdout] --> client/src/gui/contexts/character.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl CharacterView<'_> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn save() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Restriction` is never used [INFO] [stdout] --> client/src/gui/display.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Restriction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ContextRestriction` is never used [INFO] [stdout] --> client/src/gui/display.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | trait ContextRestriction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 132 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.97s [INFO] running `Command { std: "docker" "inspect" "f2cd6dfa89cb545460e95678c2446fe422d62f1df43974b64cd14d8c8a3674ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2cd6dfa89cb545460e95678c2446fe422d62f1df43974b64cd14d8c8a3674ae", kill_on_drop: false }` [INFO] [stdout] f2cd6dfa89cb545460e95678c2446fe422d62f1df43974b64cd14d8c8a3674ae