[INFO] cloning repository https://github.com/Rasmus20B/Cadmus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rasmus20B/Cadmus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRasmus20B%2FCadmus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRasmus20B%2FCadmus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] acf99ac7fa93cecd1d1aeba5e6a7b12fda8cafc3 [INFO] checking Rasmus20B/Cadmus against try#6cbf54b1453b438241487f195740266bb9d8c8ba for pr-139587-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRasmus20B%2FCadmus" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rasmus20B/Cadmus on toolchain 6cbf54b1453b438241487f195740266bb9d8c8ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rasmus20B/Cadmus [INFO] finished tweaking git repo https://github.com/Rasmus20B/Cadmus [INFO] tweaked toml for git repo https://github.com/Rasmus20B/Cadmus written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Rasmus20B/Cadmus 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" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding crossbeam-deque v0.8.6 [INFO] [stderr] Adding crossbeam-epoch v0.9.18 [INFO] [stderr] Adding rayon v1.10.0 [INFO] [stderr] Adding rayon-core v1.12.1 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 348ff8b20af8699529f0fa3e5b6e232268c2115adf456f4b014d4ef3d904bd9b [INFO] running `Command { std: "docker" "start" "-a" "348ff8b20af8699529f0fa3e5b6e232268c2115adf456f4b014d4ef3d904bd9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "348ff8b20af8699529f0fa3e5b6e232268c2115adf456f4b014d4ef3d904bd9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "348ff8b20af8699529f0fa3e5b6e232268c2115adf456f4b014d4ef3d904bd9b", kill_on_drop: false }` [INFO] [stdout] 348ff8b20af8699529f0fa3e5b6e232268c2115adf456f4b014d4ef3d904bd9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fc455e402ca7b1a40e777c959ebf662465ac5afa8d460386d86801bda9691ab [INFO] running `Command { std: "docker" "start" "-a" "5fc455e402ca7b1a40e777c959ebf662465ac5afa8d460386d86801bda9691ab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking time v0.3.39 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling tokio v1.44.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling ring v0.17.13 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking data-encoding v2.8.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Checking clap_builder v4.5.32 [INFO] [stderr] Compiling libz-sys v1.1.21 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking sdd v3.0.7 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking scc v2.3.3 [INFO] [stderr] Compiling libgit2-sys v0.18.0+1.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking base64-url v3.0.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cadmus_util v0.1.0 (/opt/rustwide/workdir/cadmus_util) [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking notify-types v2.0.0 [INFO] [stderr] Checking cadmus_test v0.1.0 (/opt/rustwide/workdir/cadmus_test) [INFO] [stderr] Checking notify v8.0.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking pin-project v1.1.9 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling sqlb-macros v0.4.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking clap v4.5.32 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stdout] warning: unused imports: `get_path_int` and `put_path_int` [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:2:53 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::util::encoding_util::{fm_string_encrypt, put_path_int, get_path_int}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `relation::Relation` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{table_occurrence::TableOccurrence, relation::Relation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dbobjects::reference::FieldReference` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/relation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::dbobjects::reference::FieldReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Calculation`, `instructions::Instruction`, and `script::Script` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:2:100 [INFO] [stdout] | [INFO] [stdout] 2 | ...::{calculation::{Calculation, CalculationString}, scripting::{arguments::*, instructions::Instruction, script::Script}}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `calculation::CalculationString`, `instructions::Instruction`, and `script::Script` [INFO] [stdout] --> common/src/cadlang/cadscript/proto_script.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dbobjects::{calculation::CalculationString, scripting::{instructions::Instruction, script::Script}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reference::*` [INFO] [stdout] --> common/src/cadlang/cadscript/proto_instruction.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dbobjects::{reference::*, scripting::arguments::*, calculation::CalculationString}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `reference::TableReference` and `table_occurrence::TableOccurrence` [INFO] [stdout] --> common/src/cadlang/parser.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | table_occurrence::TableOccurrence, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | reference::TableReference, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Component` [INFO] [stdout] --> common/src/cadlang/backend.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::CompileErr` and `parser::FMObjType` [INFO] [stdout] --> common/src/cadlang/staging.rs:2:65 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{token::Token, cadscript::proto_script::ProtoScript, error::CompileErr, parser::FMObjType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::zip` [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::BTreeMap, iter::zip}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chunk` [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{dbobjects::file::File, hbam2::chunk::{Chunk, LocalChunk, LocalChunkContents}, util::encoding_util::put_path_int}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking http v1.2.0 [INFO] [stdout] warning: unused imports: `get_path_int` and `put_path_int` [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:2:53 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::util::encoding_util::{fm_string_encrypt, put_path_int, get_path_int}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parser::*` [INFO] [stdout] --> common/src/dbobjects/calculation/mod.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | use super::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dbobjects::schema::Schema` [INFO] [stdout] --> common/src/dbobjects/calculation/mod.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | use crate::dbobjects::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> common/src/dbobjects/file.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `relation::Relation` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{table_occurrence::TableOccurrence, relation::Relation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `graph::RelationGraph`, `reference::TableReference`, `self`, and `table_occurrence::TableOccurrence` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | ...bobjects::{reference::TableReference, schema::relationgraph::{self, graph::RelationGraph, table_occurrence::TableOccurrence}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dbobjects::reference::FieldReference` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/relation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::dbobjects::reference::FieldReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Calculation`, `instructions::Instruction`, and `script::Script` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:2:100 [INFO] [stdout] | [INFO] [stdout] 2 | ...::{calculation::{Calculation, CalculationString}, scripting::{arguments::*, instructions::Instruction, script::Script}}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token::*` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:320:24 [INFO] [stdout] | [INFO] [stdout] 320 | use super::super::{token::*, proto_instruction::ProtoInstruction, *}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `calculation::CalculationString`, `instructions::Instruction`, and `script::Script` [INFO] [stdout] --> common/src/cadlang/cadscript/proto_script.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dbobjects::{calculation::CalculationString, scripting::{instructions::Instruction, script::Script}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reference::*` [INFO] [stdout] --> common/src/cadlang/cadscript/proto_instruction.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dbobjects::{reference::*, scripting::arguments::*, calculation::CalculationString}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `reference::TableReference` and `table_occurrence::TableOccurrence` [INFO] [stdout] --> common/src/cadlang/parser.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | table_occurrence::TableOccurrence, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | reference::TableReference, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `data_source::*` and `relationgraph::relation::*` [INFO] [stdout] --> common/src/cadlang/parser.rs:823:13 [INFO] [stdout] | [INFO] [stdout] 823 | relationgraph::relation::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 826 | data_source::* [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Component` [INFO] [stdout] --> common/src/cadlang/backend.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::CompileErr` and `parser::FMObjType` [INFO] [stdout] --> common/src/cadlang/staging.rs:2:65 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{token::Token, cadscript::proto_script::ProtoScript, error::CompileErr, parser::FMObjType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::zip` [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::BTreeMap, iter::zip}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chunk` [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{dbobjects::file::File, hbam2::chunk::{Chunk, LocalChunk, LocalChunkContents}, util::encoding_util::put_path_int}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::BTreeMap` [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | use std::{collections::BTreeMap, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking cadmus_objects v0.1.0 (/opt/rustwide/workdir/cadmus_objects) [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stdout] warning: unused imports: `get_path_int` and `put_path_int` [INFO] [stdout] --> cadmus_objects/src/calculation/token.rs:2:53 [INFO] [stdout] | [INFO] [stdout] 2 | use cadmus_util::encoding_util::{fm_string_encrypt, put_path_int, get_path_int}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> cadmus_objects/src/file.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> cadmus_objects/src/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `relation::Relation` [INFO] [stdout] --> cadmus_objects/src/schema/relationgraph/graph.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{table_occurrence::TableOccurrence, relation::Relation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::reference::FieldReference` [INFO] [stdout] --> cadmus_objects/src/schema/relationgraph/relation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::reference::FieldReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> cadmus_objects/src/scripting/instructions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::file::File` [INFO] [stdout] --> cadmus_objects/src/scripting/instructions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::file::File; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_var(&self, name: &str) -> Option { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_global_var(&self, name: &str) -> Option { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn lookup_field(&self, reference: FieldReference) -> Result, String> { todo!() } [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ds` [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | let (ds, table, field) = (reference.data_source, reference.table_occurrence_id, reference.field_id); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> common/src/dbobjects/calculation/mod.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | Err(e) => return Err(format!("Field not found: {:?}", reference)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> common/src/dbobjects/schema/field.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> common/src/dbobjects/schema/field.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let start = self.nodes.iter() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_path_int` and `put_path_int` [INFO] [stdout] --> cadmus_objects/src/calculation/token.rs:2:53 [INFO] [stdout] | [INFO] [stdout] 2 | use cadmus_util::encoding_util::{fm_string_encrypt, put_path_int, get_path_int}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parser::*` [INFO] [stdout] --> cadmus_objects/src/calculation/mod.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | use super::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::Schema` [INFO] [stdout] --> cadmus_objects/src/calculation/mod.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | use crate::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> cadmus_objects/src/file.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> cadmus_objects/src/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `relation::Relation` [INFO] [stdout] --> cadmus_objects/src/schema/relationgraph/graph.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{table_occurrence::TableOccurrence, relation::Relation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `graph::RelationGraph`, `reference::TableReference`, `self`, and `table_occurrence::TableOccurrence` [INFO] [stdout] --> cadmus_objects/src/schema/relationgraph/graph.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | use crate::{reference::TableReference, schema::relationgraph::{self, graph::RelationGraph, table_occurrence::TableOccurrence}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> cadmus_objects/src/schema/relationgraph/graph.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::reference::FieldReference` [INFO] [stdout] --> cadmus_objects/src/schema/relationgraph/relation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::reference::FieldReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> cadmus_objects/src/scripting/instructions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::file::File` [INFO] [stdout] --> cadmus_objects/src/scripting/instructions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::file::File; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking axum-core v0.5.0 [INFO] [stderr] Checking cookie_store v0.21.1 [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_var(&self, name: &str) -> Option { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_global_var(&self, name: &str) -> Option { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn lookup_field(&self, reference: FieldReference) -> Result, String> { todo!() } [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ds` [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | let (ds, table, field) = (reference.data_source, reference.table_occurrence_id, reference.field_id); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> common/src/dbobjects/calculation/mod.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | Err(e) => return Err(format!("Field not found: {:?}", reference)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn to_cad(&self, file: File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:209:38 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn to_cad(&self, file: File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:499:16 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn new(name: &str, args: &Vec<(Option, String)>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:499:28 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn new(name: &str, args: &Vec<(Option, String)>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> common/src/dbobjects/scripting/script.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> common/src/dbobjects/scripting/script.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> common/src/dbobjects/file.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let code = std::fs::read_to_string(Path::new("test_data/cad_files/multi_file_solution/quotes.cad")).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `staging` [INFO] [stdout] --> common/src/cadlang/compiler.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let staging = match parse(&tokens) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_staging` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> common/src/cadlang/cadscript/lexer.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | while let Some(c) = lex_iter.next() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/cadlang/cadscript/lexer.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | while let Some(mut c) = lex_iter.next() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> cadmus_objects/src/calculation/context.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_var(&self, name: &str) -> Option { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> cadmus_objects/src/calculation/context.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_global_var(&self, name: &str) -> Option { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> cadmus_objects/src/calculation/context.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn lookup_field(&self, reference: FieldReference) -> Result, String> { todo!() } [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn parse_labeled_args<'a>(tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result, ParseErr> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:76:55 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn parse_labeled_args<'a>(tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result, ParseErr> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut args = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | TokenVal::ArgLabel(label) => return Err(ParseErr::PositionalLabelMix), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ds` [INFO] [stdout] --> cadmus_objects/src/calculation/token.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | let (ds, table, field) = (reference.data_source, reference.table_occurrence_id, reference.field_id); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_table` [INFO] [stdout] --> common/src/cadlang/parser.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | let second_table = expect(tokens, &vec![TokenType::Identifier], info)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> cadmus_objects/src/calculation/mod.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | Err(e) => return Err(format!("Field not found: {:?}", reference)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> common/src/cadlang/backend.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | for (i, table) in &stage.tables { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> common/src/cadlang/backend.rs:294:47 [INFO] [stdout] | [INFO] [stdout] 294 | StagedAutoEntryType::Lookup { from, to } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> common/src/cadlang/backend.rs:294:53 [INFO] [stdout] | [INFO] [stdout] 294 | StagedAutoEntryType::Lookup { from, to } => { [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_range` [INFO] [stdout] --> common/src/hbam2/bplustree.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | let in_range = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> common/src/dbobjects/schema/field.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> common/src/dbobjects/schema/field.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search` [INFO] [stdout] --> common/src/hbam2/view.rs:216:30 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn get_simple(&self, search: u16) -> Option> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let start = self.nodes.iter() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_type` [INFO] [stdout] --> common/src/hbam2/mod.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let source_type = &definition[0..=3]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typename` [INFO] [stdout] --> common/src/hbam2/mod.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let typename = &definition[start..=end]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> common/src/hbam2/mod.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | let mut args = Vec::::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/hbam2/mod.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | let mut args = Vec::::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> common/src/hbam2/mod.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn get_data<'a>(key: Key) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> common/src/hbam2/mod.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn set_keyvalue<'a>(key: Key, val: Value) -> Result<(), BPlusTreeErr> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> common/src/hbam2/mod.rs:416:35 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn set_keyvalue<'a>(key: Key, val: Value) -> Result<(), BPlusTreeErr> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BPlusTreeErr` is more private than the item `get_keyvalue` [INFO] [stdout] --> common/src/hbam2/mod.rs:406:1 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn get_keyvalue<'a>(key: &HBAMPath, store: &'a mut PageStore, file: &'a str) -> Result, BPlusTreeErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_keyvalue` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BPlusTreeErr` is only usable at visibility `pub(crate)` [INFO] [stdout] --> common/src/hbam2/bplustree.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum BPlusTreeErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BPlusTreeErr` is more private than the item `get_data` [INFO] [stdout] --> common/src/hbam2/mod.rs:412:1 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn get_data<'a>(key: Key) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BPlusTreeErr` is only usable at visibility `pub(crate)` [INFO] [stdout] --> common/src/hbam2/bplustree.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum BPlusTreeErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BPlusTreeErr` is more private than the item `set_keyvalue` [INFO] [stdout] --> common/src/hbam2/mod.rs:416:1 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn set_keyvalue<'a>(key: Key, val: Value) -> Result<(), BPlusTreeErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `set_keyvalue` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BPlusTreeErr` is only usable at visibility `pub(crate)` [INFO] [stdout] --> common/src/hbam2/bplustree.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum BPlusTreeErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> cadmus_objects/src/schema/field.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token` and `expected` are never read [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | UnexpectedToken { token: TokenVal, expected: Vec }, [INFO] [stdout] | --------------- ^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, 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: field `0` is never read [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | InvalidLabel(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - InvalidLabel(String), [INFO] [stdout] 33 + InvalidLabel(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_labeled_arg` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn parse_labeled_arg<'a>(label: &'a TokenVal, tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EndLoop` is never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/token.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) enum TokenVal { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | EndLoop, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenVal` 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: struct `Token` is never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/token.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> cadmus_objects/src/schema/field.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/proto_instruction.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 23 | #[repr(u16)] pub enum ProtoInstruction { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 24 | PerformScript { script: ProtoScriptSelection, args: CalculationString }, [INFO] [stdout] 25 | SaveACopyAsXml, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | GoToNextField, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | GoToPreviousField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | DuplicateRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | DeleteRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | DeleteAllRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | InsertFromIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | InsertFromLastVisited, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | InsertCurrentDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | InsertCurrentTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | GoToRecordRequestPage { record: RecordSelection }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | GoToField, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | CheckSelection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | CheckRecord, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | CheckFoundSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 42 | UnsortRecords, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 43 | EnterFindMode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | ShowAllRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 45 | ModifyLastFind, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 46 | OmitRecord, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | OmitMultipleRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | ShowOmmitedOnly, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | PerformFind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | ShowHideToolbars, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | ViewAs, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | AdjustWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | OpenHelp, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | OpenFile, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | CloseFile, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 56 | ImportRecords, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | ExportRecords, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | SaveACopyAs, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | OpenManageDatabase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | SortRecords, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | RelookupFieldContents, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | EnterPreviewMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | PrintSetup, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | Print, [INFO] [stdout] 65 | ExitApplication, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | UndoRedo, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | Cut, [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | Copy, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | Paste, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | Clear, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 71 | SelectAll, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | RevertRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | EnterBrowserMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | InsertPicture, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 75 | SendEvent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 76 | InsertCurrentUserName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | InsertText, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | PauseResumeScript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 79 | SendMail, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 80 | SendDdeExecute, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 81 | DialPhone, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | Speak, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 83 | PerformApplescript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | If { condition: CalculationString }, [INFO] [stdout] | ^^ [INFO] [stdout] 85 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | EndIf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | GoToRelatedRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | CommitRecordsRequests, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | SetField { field: ProtoFieldSelection, value: CalculationString, repetition: CalculationString }, [INFO] [stdout] 93 | InsertCalculatedResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | FreezeWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 95 | RefreshWindow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 96 | ScrollWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 97 | NewFile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 98 | ChangePassword, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 99 | SetMultiUser, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 100 | AllowUserAbort, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 101 | SetErrorCapture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | ShowCustomDialog, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | OpenScriptWorkspace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | BlankLineComment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | HaltScript, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 106 | ReplaceFieldContents, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | ShowHideTextRuler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | Beep, [INFO] [stdout] | ^^^^ [INFO] [stdout] 109 | SetUseSystemFormats, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | RecoverFile, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 111 | SaveACopyAsAddOnPackage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | SetZoomLevel, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 113 | CopyAllRecordsRequests, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | GoToPortalRow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 115 | CopyRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | FluchCacheToDisk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 117 | ExitScript { value: CalculationString }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 118 | DeletePortalRow, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | OpenPreferences, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 120 | CorrectWord, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 121 | SpellingOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 122 | SelectDictionaries, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | EditUserDictionary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | OpenUrl, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 125 | OpenManageValueLists, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | OpenSharing, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 127 | OpenFileOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | AllowFormattingBar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 129 | SetNextSerialValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | ExecuteSql, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 131 | OpenHosts, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 132 | MoveResizeWindow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | ArrangeAllWindows, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 134 | CloseWindow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 135 | NewWindow, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 136 | SelectWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 137 | SetWindowTitle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 138 | ElseIf { condition: CalculationString }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 139 | ConstrainFoundSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 140 | ExtendFoundSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 141 | PerformFindReplace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | OpenFindReplace, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | SetSelection, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 144 | InsertFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 145 | ExportFieldContents, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 146 | OpenRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | AddAccount, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 148 | DeleteAccount, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 149 | ResetAccountPassword, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | EnableAccount, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 151 | Relogin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 152 | ConvertFile, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 153 | OpenManageDataSources, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 154 | SetVariable { name: String, value: CalculationString, repetition: CalculationString }, [INFO] [stdout] 155 | InstallMenuSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 156 | SaveRecordsAsExcel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | SaveRecordsAsPdf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 158 | GoToObject, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 159 | SetWebViewer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 160 | SetFieldByName, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 161 | InstallOntimerScript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | OpenEditSavedFinds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 163 | PerformQuickFind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 164 | OpenManageLayouts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 165 | SaveRecordsAsSnapshotLink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | SortRecordsByField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | FindMatchingRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 168 | ManageContainers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 169 | InstallPluginFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | InsertPdf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 171 | InsertAudioVideo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 172 | InsertFromUrl, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 173 | InsertFromDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | PerformScriptOnServer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 175 | OpenManageThemes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 176 | ShowHideMenubar, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 177 | RefreshObject, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 178 | SetLayoutObjectAnimation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 179 | ClosePopover, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 180 | OpenUploadToHost, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 181 | EnableTouchKeyboard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 182 | PerformJavascriptInWebViewer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 183 | CommentedOut, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 184 | AvplayerPlay, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 185 | AvplayerSetPlaybackState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 186 | AvplayerSetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 187 | RefreshPortal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 188 | GetFolderPath, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 189 | TruncateTable, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 190 | OpenFavorites, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 191 | ConfigureRegionMonitorScript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | ConfigureLocalNotification, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 193 | GetFileExists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 194 | GetFileSize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 195 | CreateDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 196 | OpenDataFile, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 197 | WriteToDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | ReadFromDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 199 | GetDataFilePosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 200 | SetDataFilePosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 201 | CloseDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 202 | DeleteFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 203 | RenameFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 204 | SetErrorLogging, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 205 | ConfigureNfcReading, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 206 | ConfigureMachineLearningModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | ExecuteFilemakerDataApi, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 208 | OpenTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 209 | CommitTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 210 | RevertTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 211 | SetSessionIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 212 | SetDictionary, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 213 | PerformScriptOnServerWithCallback, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 214 | TriggerClarisConnectFlow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 215 | Assert { expr: CalculationString }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtoInstruction` 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: struct `Cursor` is never constructed [INFO] [stdout] --> common/src/cadlang/lexer.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Cursor { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MemberOf`, `Range`, `Calculation`, and `MaxChars` are never constructed [INFO] [stdout] --> common/src/cadlang/staging.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum StagedValidationType { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | MemberOf(Token), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | Range{start: usize, end: usize}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | Calculation(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | MaxChars(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StagedValidationType` 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: variants `Lookup`, `Creation`, `Modification`, `LastVisited`, and `Data` are never constructed [INFO] [stdout] --> common/src/cadlang/staging.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum StagedAutoEntryType { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 47 | Lookup { from: Token, to: Token }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | Creation(AutoEntryDataPresets), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | Modification(AutoEntryDataPresets), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | LastVisited, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 51 | Data(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StagedAutoEntryType` 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: struct `CachedKeyLocation` is never constructed [INFO] [stdout] --> common/src/hbam2/kv_cache.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CachedKeyLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyValCache` is never constructed [INFO] [stdout] --> common/src/hbam2/kv_cache.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct KeyValCache { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common/src/hbam2/bplustree.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | KeyNotFound(Vec>), [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BPlusTreeErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - KeyNotFound(Vec>), [INFO] [stdout] 12 + KeyNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common/src/hbam2/bplustree.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | InvalidChunkComposition(ParseErr), [INFO] [stdout] | ----------------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BPlusTreeErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - InvalidChunkComposition(ParseErr), [INFO] [stdout] 16 + InvalidChunkComposition(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common/src/hbam2/bplustree.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | PageCycle(PageIndex) [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BPlusTreeErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - PageCycle(PageIndex) [INFO] [stdout] 17 + PageCycle(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PageNotFound` is never constructed [INFO] [stdout] --> common/src/hbam2/bplustree.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum BPlusTreeErr { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | PageNotFound(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BPlusTreeErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> common/src/hbam2/bplustree.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Cursor { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 21 | key: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Data` is never used [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | type Data = Vec; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Value<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyValue` is never constructed [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct KeyValue<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inspect` is never used [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn inspect(keyvalue: &KeyValue) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common/src/hbam2/chunk.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | UnrecognizedOpcode(u8), [INFO] [stdout] | ------------------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - UnrecognizedOpcode(u8), [INFO] [stdout] 33 + UnrecognizedOpcode(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnexpectedEndOfPage` and `MalformedChunk` are never constructed [INFO] [stdout] --> common/src/hbam2/chunk.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ParseErr { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 31 | EndChunk, [INFO] [stdout] 32 | UnexpectedEndOfPage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | UnrecognizedOpcode(u8), [INFO] [stdout] 34 | MalformedChunk, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offset` is never read [INFO] [stdout] --> common/src/hbam2/chunk.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct LocalChunk { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 40 | pub offset: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalChunk` 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: enum `KeyType` is never used [INFO] [stdout] --> common/src/hbam2/view.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum KeyType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_simple_data` and `get_dirs` are never used [INFO] [stdout] --> common/src/hbam2/view.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> SubView<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_simple_data(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_dirs(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_simple`, `get_value`, and `get_dir` are never used [INFO] [stdout] --> common/src/hbam2/view.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl<'a> View { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn get_simple(&self, search: u16) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn get_value(&self, search: u16) -> Option<&[u8]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn get_dir<'b>(&'a self, search: HBAMPath) -> Option> where 'a:'b { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flatten` is never used [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait DataTree { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 9 | fn insert(&mut self, path: HBAMPath, value: LocalChunkContents) -> Result<()>; [INFO] [stdout] 10 | fn flatten(&self) -> Result>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NodeValue` is never used [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum NodeValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeValue` 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: unused variable: `start` [INFO] [stdout] --> cadmus_objects/src/schema/relationgraph/graph.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let start = self.nodes.iter() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn to_cad(&self, file: File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:209:38 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn to_cad(&self, file: File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:499:16 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn new(name: &str, args: &Vec<(Option, String)>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:499:28 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn new(name: &str, args: &Vec<(Option, String)>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> common/src/dbobjects/scripting/script.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> common/src/dbobjects/scripting/script.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `staging` [INFO] [stdout] --> common/src/cadlang/compiler.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let staging = match parse(&tokens) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_staging` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> common/src/cadlang/cadscript/lexer.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | while let Some(c) = lex_iter.next() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> cadmus_objects/src/scripting/instructions.rs:494:16 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn new(name: &str, args: &Vec<(Option, String)>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> cadmus_objects/src/scripting/instructions.rs:494:28 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn new(name: &str, args: &Vec<(Option, String)>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/cadlang/cadscript/lexer.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | while let Some(mut c) = lex_iter.next() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> cadmus_objects/src/calculation/context.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_var(&self, name: &str) -> Option { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> cadmus_objects/src/calculation/context.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_global_var(&self, name: &str) -> Option { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> cadmus_objects/src/calculation/context.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn lookup_field(&self, reference: FieldReference) -> Result, String> { todo!() } [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn parse_labeled_args<'a>(tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result, ParseErr> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:76:55 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn parse_labeled_args<'a>(tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result, ParseErr> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut args = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | TokenVal::ArgLabel(label) => return Err(ParseErr::PositionalLabelMix), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> cadmus_objects/src/scripting/script.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> cadmus_objects/src/scripting/script.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:359:22 [INFO] [stdout] | [INFO] [stdout] 359 | for (actual, expected) in instrs.iter().zip(&expected) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ds` [INFO] [stdout] --> cadmus_objects/src/calculation/token.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | let (ds, table, field) = (reference.data_source, reference.table_occurrence_id, reference.field_id); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instrs` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | let instrs = parser::parse(tokens).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_instrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> cadmus_objects/src/calculation/mod.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | Err(e) => return Err(format!("Field not found: {:?}", reference)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_table` [INFO] [stdout] --> common/src/cadlang/parser.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | let second_table = expect(tokens, &vec![TokenType::Identifier], info)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> common/src/cadlang/parser.rs:1362:13 [INFO] [stdout] | [INFO] [stdout] 1362 | let schema = parse(&tokens).expect("Parsing failed."); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> common/src/cadlang/backend.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | for (i, table) in &stage.tables { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> common/src/cadlang/backend.rs:294:47 [INFO] [stdout] | [INFO] [stdout] 294 | StagedAutoEntryType::Lookup { from, to } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> common/src/cadlang/backend.rs:294:53 [INFO] [stdout] | [INFO] [stdout] 294 | StagedAutoEntryType::Lookup { from, to } => { [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::read_to_string` and `path::Path` [INFO] [stdout] --> common/src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::read_to_string, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shell::Host` [INFO] [stdout] --> common/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::shell::Host; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chunk`, `LocalChunkContents`, `LocalChunk`, `page_store::PageStore`, and `path::HBAMPath` [INFO] [stdout] --> common/src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use hbam2::{page_store::PageStore, path::HBAMPath, chunk::{LocalChunk, LocalChunkContents, Chunk}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shell::Shell` [INFO] [stdout] --> common/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use shell::Shell; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Calculation`, `instructions::Instruction`, and `script::Script` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:2:100 [INFO] [stdout] | [INFO] [stdout] 2 | ...::{calculation::{Calculation, CalculationString}, scripting::{arguments::*, instructions::Instruction, script::Script}}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `calculation::CalculationString`, `instructions::Instruction`, and `script::Script` [INFO] [stdout] --> common/src/cadlang/cadscript/proto_script.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dbobjects::{calculation::CalculationString, scripting::{instructions::Instruction, script::Script}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reference::*` [INFO] [stdout] --> common/src/cadlang/cadscript/proto_instruction.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dbobjects::{reference::*, scripting::arguments::*, calculation::CalculationString}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `reference::TableReference` and `table_occurrence::TableOccurrence` [INFO] [stdout] --> common/src/cadlang/parser.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | table_occurrence::TableOccurrence, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | reference::TableReference, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Component` [INFO] [stdout] --> common/src/cadlang/backend.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::CompileErr` and `parser::FMObjType` [INFO] [stdout] --> common/src/cadlang/staging.rs:2:65 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{token::Token, cadscript::proto_script::ProtoScript, error::CompileErr, parser::FMObjType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::zip` [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::BTreeMap, iter::zip}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chunk` [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{dbobjects::file::File, hbam2::chunk::{Chunk, LocalChunk, LocalChunkContents}, util::encoding_util::put_path_int}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_path_int` and `put_path_int` [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:2:53 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::util::encoding_util::{fm_string_encrypt, put_path_int, get_path_int}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `relation::Relation` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{table_occurrence::TableOccurrence, relation::Relation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dbobjects::reference::FieldReference` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/relation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::dbobjects::reference::FieldReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parser::Token` [INFO] [stdout] --> common/src/shell/command.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::parser::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> common/src/shell/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/cadlang/backend.rs:486:13 [INFO] [stdout] | [INFO] [stdout] 486 | let mut working_dir = Path::new("./test_data/cad_files/multi_file_solution/quotes.cad").parent().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> common/src/cadlang/staging.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 474 | let schema = parse(&tokens).expect("Parsing failed."); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_range` [INFO] [stdout] --> common/src/hbam2/bplustree.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | let in_range = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> cadmus_objects/src/schema/field.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> cadmus_objects/src/schema/field.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::read_to_string` and `path::Path` [INFO] [stdout] --> common/src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::read_to_string, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shell::Host` [INFO] [stdout] --> common/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::shell::Host; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chunk`, `LocalChunkContents`, `LocalChunk`, `page_store::PageStore`, and `path::HBAMPath` [INFO] [stdout] --> common/src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use hbam2::{page_store::PageStore, path::HBAMPath, chunk::{LocalChunk, LocalChunkContents, Chunk}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shell::Shell` [INFO] [stdout] --> common/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use shell::Shell; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Calculation`, `instructions::Instruction`, and `script::Script` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:2:100 [INFO] [stdout] | [INFO] [stdout] 2 | ...::{calculation::{Calculation, CalculationString}, scripting::{arguments::*, instructions::Instruction, script::Script}}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token::*` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:320:24 [INFO] [stdout] | [INFO] [stdout] 320 | use super::super::{token::*, proto_instruction::ProtoInstruction, *}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `calculation::CalculationString`, `instructions::Instruction`, and `script::Script` [INFO] [stdout] --> common/src/cadlang/cadscript/proto_script.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dbobjects::{calculation::CalculationString, scripting::{instructions::Instruction, script::Script}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reference::*` [INFO] [stdout] --> common/src/cadlang/cadscript/proto_instruction.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::dbobjects::{reference::*, scripting::arguments::*, calculation::CalculationString}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `reference::TableReference` and `table_occurrence::TableOccurrence` [INFO] [stdout] --> common/src/cadlang/parser.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | table_occurrence::TableOccurrence, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | reference::TableReference, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `data_source::*` and `relationgraph::relation::*` [INFO] [stdout] --> common/src/cadlang/parser.rs:823:13 [INFO] [stdout] | [INFO] [stdout] 823 | relationgraph::relation::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 826 | data_source::* [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Component` [INFO] [stdout] --> common/src/cadlang/backend.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::CompileErr` and `parser::FMObjType` [INFO] [stdout] --> common/src/cadlang/staging.rs:2:65 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{token::Token, cadscript::proto_script::ProtoScript, error::CompileErr, parser::FMObjType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::zip` [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::BTreeMap, iter::zip}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chunk` [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{dbobjects::file::File, hbam2::chunk::{Chunk, LocalChunk, LocalChunkContents}, util::encoding_util::put_path_int}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::BTreeMap` [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | use std::{collections::BTreeMap, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_path_int` and `put_path_int` [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:2:53 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::util::encoding_util::{fm_string_encrypt, put_path_int, get_path_int}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parser::*` [INFO] [stdout] --> common/src/dbobjects/calculation/mod.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | use super::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dbobjects::schema::Schema` [INFO] [stdout] --> common/src/dbobjects/calculation/mod.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | use crate::dbobjects::schema::Schema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> common/src/dbobjects/file.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `relation::Relation` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{table_occurrence::TableOccurrence, relation::Relation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `graph::RelationGraph`, `reference::TableReference`, `self`, and `table_occurrence::TableOccurrence` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | ...bobjects::{reference::TableReference, schema::relationgraph::{self, graph::RelationGraph, table_occurrence::TableOccurrence}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dbobjects::reference::FieldReference` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/relation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::dbobjects::reference::FieldReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parser::Token` [INFO] [stdout] --> common/src/shell/command.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::parser::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> common/src/shell/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> cadmus_objects/src/schema/relationgraph/graph.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let start = self.nodes.iter() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cadmus_lang v0.1.0 (/opt/rustwide/workdir/cadmus_lang) [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> cadmus_lang/src/cache.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::cache` [INFO] [stdout] --> cadmus_lang/src/compiler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::cache; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proto_schema::ProtoSchema` [INFO] [stdout] --> cadmus_lang/src/compiler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::proto_schema::ProtoSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KEYWORD_MAP` [INFO] [stdout] --> cadmus_lang/src/lexer.rs:6:58 [INFO] [stdout] | [INFO] [stdout] 6 | token::{match_keyword, SourceLoc, Token, TokenValue, KEYWORD_MAP}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> cadmus_lang/src/parser_worker.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `diagnostic::Diagnostic` and `proto_schema::ProtoSchema` [INFO] [stdout] --> cadmus_lang/src/parser_worker.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | diagnostic::Diagnostic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | proto_schema::ProtoSchema, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> cadmus_lang/src/token.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search` [INFO] [stdout] --> common/src/hbam2/view.rs:216:30 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn get_simple(&self, search: u16) -> Option> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> cadmus_lang/src/cache.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::cache` [INFO] [stdout] --> cadmus_lang/src/compiler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::cache; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proto_schema::ProtoSchema` [INFO] [stdout] --> cadmus_lang/src/compiler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::proto_schema::ProtoSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::error::Result` [INFO] [stdout] --> cadmus_lang/src/compiler.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use super::super::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KEYWORD_MAP` [INFO] [stdout] --> cadmus_lang/src/lexer.rs:6:58 [INFO] [stdout] | [INFO] [stdout] 6 | token::{match_keyword, SourceLoc, Token, TokenValue, KEYWORD_MAP}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> cadmus_lang/src/parser_worker.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `diagnostic::Diagnostic` and `proto_schema::ProtoSchema` [INFO] [stdout] --> cadmus_lang/src/parser_worker.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | diagnostic::Diagnostic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | proto_schema::ProtoSchema, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> cadmus_lang/src/token.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proto_cache` [INFO] [stdout] --> cadmus_lang/src/compiler.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let proto_cache = ProtoSchemaCache::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proto_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker_results` [INFO] [stdout] --> cadmus_lang/src/compiler.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let worker_results = paths [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diagnostics` [INFO] [stdout] --> cadmus_lang/src/lexer.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn lex(text: &str, diagnostics: &mut Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diagnostics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diagnostics` [INFO] [stdout] --> cadmus_lang/src/parser.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse(tokens: &[Token], diagnostics: &mut Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diagnostics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> cadmus_lang/src/parser_worker.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let tokens = lex(&self.contents, &mut diagnostics)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> cadmus_lang/src/proto_schema.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | fn from(value: ProtoSchema) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_type` [INFO] [stdout] --> common/src/hbam2/mod.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let source_type = &definition[0..=3]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typename` [INFO] [stdout] --> common/src/hbam2/mod.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let typename = &definition[start..=end]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> common/src/hbam2/mod.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | let mut args = Vec::::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/hbam2/mod.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | let mut args = Vec::::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> common/src/hbam2/mod.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn get_data<'a>(key: Key) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> common/src/hbam2/mod.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn set_keyvalue<'a>(key: Key, val: Value) -> Result<(), BPlusTreeErr> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> common/src/hbam2/mod.rs:416:35 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn set_keyvalue<'a>(key: Key, val: Value) -> Result<(), BPlusTreeErr> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ProtoSchemaCache` is never used [INFO] [stdout] --> cadmus_lang/src/cache.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type ProtoSchemaCache = HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SchemaCache` is never used [INFO] [stdout] --> cadmus_lang/src/cache.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type SchemaCache = HashMap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_project` is never used [INFO] [stdout] --> cadmus_lang/src/compiler.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn compile_project(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DiagnosticCategory` is never used [INFO] [stdout] --> cadmus_lang/src/diagnostic.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum DiagnosticCategory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Diagnostic` is never constructed [INFO] [stdout] --> cadmus_lang/src/diagnostic.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Diagnostic { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> cadmus_lang/src/error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Result = ::core::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Fs` is never constructed [INFO] [stdout] --> cadmus_lang/src/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 5 | Fs(std::io::Error), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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 `KeyValueBlock` is never constructed [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct KeyValueBlock { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add` are never used [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl KeyValueBlock { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn add(&mut self, entry: KeyValueEntry) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CadmusObject` is never used [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum CadmusObject { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Key` is never used [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Key { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyValueEntry` is never constructed [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct KeyValueEntry { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl KeyValueEntry { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 40 | pub fn new(key: Key, location: SourceLoc, value: BlockValue) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockValue` is never used [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum BlockValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LexIter` is never constructed [INFO] [stdout] --> cadmus_lang/src/lexer.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct LexIter<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `peek` are never used [INFO] [stdout] --> cadmus_lang/src/lexer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> LexIter<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(input: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn peek(&mut self) -> Option<(char, u32, u32)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex` is never used [INFO] [stdout] --> cadmus_lang/src/lexer.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn lex(text: &str, diagnostics: &mut Vec) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParsedFile` is never constructed [INFO] [stdout] --> cadmus_lang/src/parsed_file.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ParsedFile { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> cadmus_lang/src/parsed_file.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ParsedFile { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TopLevelObject` is never used [INFO] [stdout] --> cadmus_lang/src/parser.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TopLevelObject { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> cadmus_lang/src/parser.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `peek` are never used [INFO] [stdout] --> cadmus_lang/src/parser.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(tokens: &'a [Token]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn next(&mut self) -> Option<&&Token> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn peek(&mut self) -> Option<&&Token> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> cadmus_lang/src/parser.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse(tokens: &[Token], diagnostics: &mut Vec) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParserWorker` is never constructed [INFO] [stdout] --> cadmus_lang/src/parser_worker.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ParserWorker { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_path`, and `build` are never used [INFO] [stdout] --> cadmus_lang/src/parser_worker.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ParserWorker { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn with_path(&mut self, path: PathBuf) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn build(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> cadmus_lang/src/token.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl SourceLoc { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(line: u32, column: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> cadmus_lang/src/token.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 22 | pub fn new(token_val: TokenValue, source_loc: SourceLoc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> cadmus_lang/src/token.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum TokenValue { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 32 | // Top level objects [INFO] [stdout] 33 | Table, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | TableOccurrence, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | Relation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | ValueList, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | Layout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | Script, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | Test, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | Extern, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | // Second level objects [INFO] [stdout] 42 | Field, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | // thid level objects [INFO] [stdout] 44 | AutoIncrement, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 45 | AutoEntry, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | Datatype, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | [INFO] [stdout] 48 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | ObjectNumber(u32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | Assignment, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | Calculation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 52 | IntegerLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 53 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | Creation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | Modification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 58 | Serial, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | Generate, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 60 | OnCreation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | OnCommit, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 62 | Next, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | Increment, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 64 | LastVisited, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 65 | Data, [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | CalculatedVal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 67 | DoNotReplace, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 68 | Lookup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | StartTable, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | RelatedTable, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | Validate, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | Always, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 77 | OnEntry, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | AllowOverride, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | StrictDataType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 82 | NotEmpty, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 83 | Required, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 84 | Unique, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | MemberOf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 86 | Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | ValidationCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 88 | MaxChars, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | ValidationMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | Global, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 93 | Repetitions, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | From, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | Sort, [INFO] [stdout] | ^^^^ [INFO] [stdout] 98 | FirstField, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 99 | SecondField, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 100 | [INFO] [stdout] 101 | Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] 104 | ScopeResolution, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | ScriptContent, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 106 | [INFO] [stdout] 107 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 108 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 109 | [INFO] [stdout] 110 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 111 | Neq, [INFO] [stdout] | ^^^ [INFO] [stdout] 112 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] 113 | Gte, [INFO] [stdout] | ^^^ [INFO] [stdout] 114 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] 115 | Lte, [INFO] [stdout] | ^^^ [INFO] [stdout] 116 | Cartesian, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 117 | [INFO] [stdout] 118 | OpenBrace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 119 | CloseBrace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 120 | OpenParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 121 | CloseParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 122 | OpenSquare, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 123 | CloseSquare, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 124 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 125 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 126 | Exclamation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 127 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenValue` 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 `KeywordEntry` is never constructed [INFO] [stdout] --> cadmus_lang/src/token.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct KeywordEntry { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEYWORD_MAP` is never used [INFO] [stdout] --> cadmus_lang/src/token.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | pub const KEYWORD_MAP: [KeywordEntry; 8] = [ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_keyword` is never used [INFO] [stdout] --> cadmus_lang/src/token.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn match_keyword(word: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proto_cache` [INFO] [stdout] --> cadmus_lang/src/compiler.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let proto_cache = ProtoSchemaCache::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proto_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker_results` [INFO] [stdout] --> cadmus_lang/src/compiler.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let worker_results = paths [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diagnostics` [INFO] [stdout] --> cadmus_lang/src/lexer.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn lex(text: &str, diagnostics: &mut Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diagnostics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diagnostics` [INFO] [stdout] --> cadmus_lang/src/parser.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse(tokens: &[Token], diagnostics: &mut Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diagnostics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> cadmus_lang/src/parser_worker.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let tokens = lex(&self.contents, &mut diagnostics)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> cadmus_lang/src/proto_schema.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | fn from(value: ProtoSchema) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SchemaCache` is never used [INFO] [stdout] --> cadmus_lang/src/cache.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type SchemaCache = HashMap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BadIDFormat` is never constructed [INFO] [stdout] --> cadmus_lang/src/diagnostic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum DiagnosticCategory { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 4 | BadIDFormat, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `category`, `location`, and `snippet` are never read [INFO] [stdout] --> cadmus_lang/src/diagnostic.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Diagnostic { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | category: DiagnosticCategory, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | location: SourceLoc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | snippet: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cadmus_lang/src/error.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | Fs(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - Fs(std::io::Error), [INFO] [stdout] 5 + Fs(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entries` is never read [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct KeyValueBlock { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | entries: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add` are never used [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl KeyValueBlock { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn add(&mut self, entry: KeyValueEntry) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | Table { id: u32, name: String }, [INFO] [stdout] | ----- ^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Field`, `TableOccurrence`, `ValueList`, and `Relation` are never constructed [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum CadmusObject { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 21 | Table { id: u32, name: String }, [INFO] [stdout] 22 | Field { id: u32, name: String }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | TableOccurrence { id: u32, name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | ValueList { id: u32, name: String }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | Relation { id: u32 }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | TopLevelObject(CadmusObject), [INFO] [stdout] | -------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 - TopLevelObject(CadmusObject), [INFO] [stdout] 29 + TopLevelObject(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Name` is never constructed [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Key { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 29 | TopLevelObject(CadmusObject), [INFO] [stdout] 30 | Name(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key`, `value`, and `location` are never read [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct KeyValueEntry { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 34 | key: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | value: BlockValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | location: SourceLoc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl KeyValueEntry { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 40 | pub fn new(key: Key, location: SourceLoc, value: BlockValue) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | Block(KeyValueBlock), [INFO] [stdout] | ----- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 - Block(KeyValueBlock), [INFO] [stdout] 52 + Block(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Literal`, `Expression`, and `Empty` are never constructed [INFO] [stdout] --> cadmus_lang/src/keyvalue.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum BlockValue { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 50 | Literal(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | Expression(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | Block(KeyValueBlock), [INFO] [stdout] 53 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> cadmus_lang/src/lexer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct LexIter<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10 | input: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek` is never used [INFO] [stdout] --> cadmus_lang/src/lexer.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> LexIter<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn peek(&mut self) -> Option<(char, u32, u32)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schema` and `diagnostics` are never read [INFO] [stdout] --> cadmus_lang/src/parsed_file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ParsedFile { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | schema: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | diagnostics: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TopLevelObject` is never used [INFO] [stdout] --> cadmus_lang/src/parser.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TopLevelObject { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> cadmus_lang/src/parser.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next`, and `peek` are never used [INFO] [stdout] --> cadmus_lang/src/parser.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(tokens: &'a [Token]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn next(&mut self) -> Option<&&Token> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn peek(&mut self) -> Option<&&Token> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> cadmus_lang/src/parser.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse(tokens: &[Token], diagnostics: &mut Vec) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> cadmus_lang/src/token.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum TokenValue { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | Field, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | // thid level objects [INFO] [stdout] 44 | AutoIncrement, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 45 | AutoEntry, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | Datatype, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | Calculation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 52 | IntegerLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 53 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | Creation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | Modification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 58 | Serial, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | Generate, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 60 | OnCreation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | OnCommit, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 62 | Next, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | Increment, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 64 | LastVisited, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 65 | Data, [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | CalculatedVal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 67 | DoNotReplace, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 68 | Lookup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | StartTable, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | RelatedTable, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | Validate, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | Always, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 77 | OnEntry, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | AllowOverride, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | StrictDataType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 82 | NotEmpty, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 83 | Required, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 84 | Unique, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | MemberOf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 86 | Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | ValidationCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 88 | MaxChars, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | ValidationMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | Global, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 93 | Repetitions, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | From, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | Sort, [INFO] [stdout] | ^^^^ [INFO] [stdout] 98 | FirstField, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 99 | SecondField, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 100 | [INFO] [stdout] 101 | Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] 104 | ScopeResolution, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | ScriptContent, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 106 | [INFO] [stdout] 107 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 108 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 109 | [INFO] [stdout] 110 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 111 | Neq, [INFO] [stdout] | ^^^ [INFO] [stdout] 112 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] 113 | Gte, [INFO] [stdout] | ^^^ [INFO] [stdout] 114 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] 115 | Lte, [INFO] [stdout] | ^^^ [INFO] [stdout] 116 | Cartesian, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | OpenParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 121 | CloseParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 122 | OpenSquare, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 123 | CloseSquare, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 124 | Comma, [INFO] [stdout] 125 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 126 | Exclamation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 127 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenValue` 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: type `BPlusTreeErr` is more private than the item `get_keyvalue` [INFO] [stdout] --> common/src/hbam2/mod.rs:406:1 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn get_keyvalue<'a>(key: &HBAMPath, store: &'a mut PageStore, file: &'a str) -> Result, BPlusTreeErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_keyvalue` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BPlusTreeErr` is only usable at visibility `pub(crate)` [INFO] [stdout] --> common/src/hbam2/bplustree.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum BPlusTreeErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BPlusTreeErr` is more private than the item `get_data` [INFO] [stdout] --> common/src/hbam2/mod.rs:412:1 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn get_data<'a>(key: Key) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BPlusTreeErr` is only usable at visibility `pub(crate)` [INFO] [stdout] --> common/src/hbam2/bplustree.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum BPlusTreeErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BPlusTreeErr` is more private than the item `set_keyvalue` [INFO] [stdout] --> common/src/hbam2/mod.rs:416:1 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn set_keyvalue<'a>(key: Key, val: Value) -> Result<(), BPlusTreeErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `set_keyvalue` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BPlusTreeErr` is only usable at visibility `pub(crate)` [INFO] [stdout] --> common/src/hbam2/bplustree.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum BPlusTreeErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token` and `expected` are never read [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | UnexpectedToken { token: TokenVal, expected: Vec }, [INFO] [stdout] | --------------- ^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, 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: field `0` is never read [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | InvalidLabel(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - InvalidLabel(String), [INFO] [stdout] 33 + InvalidLabel(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_labeled_arg` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn parse_labeled_arg<'a>(label: &'a TokenVal, tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `basic_parse_labels` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 365 | fn basic_parse_labels() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EndLoop` is never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/token.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) enum TokenVal { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | EndLoop, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenVal` 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: struct `Token` is never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/token.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/proto_instruction.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 23 | #[repr(u16)] pub enum ProtoInstruction { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 24 | PerformScript { script: ProtoScriptSelection, args: CalculationString }, [INFO] [stdout] 25 | SaveACopyAsXml, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | GoToNextField, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | GoToPreviousField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | DuplicateRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | DeleteRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | DeleteAllRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | InsertFromIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | InsertFromLastVisited, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | InsertCurrentDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | InsertCurrentTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | GoToRecordRequestPage { record: RecordSelection }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | GoToField, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | CheckSelection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | CheckRecord, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | CheckFoundSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 42 | UnsortRecords, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 43 | EnterFindMode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | ShowAllRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 45 | ModifyLastFind, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 46 | OmitRecord, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | OmitMultipleRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | ShowOmmitedOnly, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | PerformFind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | ShowHideToolbars, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | ViewAs, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | AdjustWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | OpenHelp, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | OpenFile, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | CloseFile, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 56 | ImportRecords, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | ExportRecords, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | SaveACopyAs, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | OpenManageDatabase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | SortRecords, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | RelookupFieldContents, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | EnterPreviewMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | PrintSetup, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | Print, [INFO] [stdout] 65 | ExitApplication, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | UndoRedo, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | Cut, [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | Copy, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | Paste, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | Clear, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 71 | SelectAll, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | RevertRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | EnterBrowserMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | InsertPicture, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 75 | SendEvent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 76 | InsertCurrentUserName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | InsertText, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | PauseResumeScript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 79 | SendMail, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 80 | SendDdeExecute, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 81 | DialPhone, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | Speak, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 83 | PerformApplescript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | If { condition: CalculationString }, [INFO] [stdout] | ^^ [INFO] [stdout] 85 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | EndIf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | GoToRelatedRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | CommitRecordsRequests, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | SetField { field: ProtoFieldSelection, value: CalculationString, repetition: CalculationString }, [INFO] [stdout] 93 | InsertCalculatedResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | FreezeWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 95 | RefreshWindow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 96 | ScrollWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 97 | NewFile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 98 | ChangePassword, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 99 | SetMultiUser, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 100 | AllowUserAbort, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 101 | SetErrorCapture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | ShowCustomDialog, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | OpenScriptWorkspace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | BlankLineComment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | HaltScript, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 106 | ReplaceFieldContents, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | ShowHideTextRuler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | Beep, [INFO] [stdout] | ^^^^ [INFO] [stdout] 109 | SetUseSystemFormats, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | RecoverFile, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 111 | SaveACopyAsAddOnPackage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | SetZoomLevel, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 113 | CopyAllRecordsRequests, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | GoToPortalRow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 115 | CopyRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | FluchCacheToDisk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 117 | ExitScript { value: CalculationString }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 118 | DeletePortalRow, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | OpenPreferences, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 120 | CorrectWord, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 121 | SpellingOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 122 | SelectDictionaries, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | EditUserDictionary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | OpenUrl, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 125 | OpenManageValueLists, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | OpenSharing, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 127 | OpenFileOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | AllowFormattingBar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 129 | SetNextSerialValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | ExecuteSql, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 131 | OpenHosts, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 132 | MoveResizeWindow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | ArrangeAllWindows, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 134 | CloseWindow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 135 | NewWindow, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 136 | SelectWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 137 | SetWindowTitle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 138 | ElseIf { condition: CalculationString }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 139 | ConstrainFoundSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 140 | ExtendFoundSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 141 | PerformFindReplace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | OpenFindReplace, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | SetSelection, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 144 | InsertFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 145 | ExportFieldContents, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 146 | OpenRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | AddAccount, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 148 | DeleteAccount, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 149 | ResetAccountPassword, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | EnableAccount, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 151 | Relogin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 152 | ConvertFile, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 153 | OpenManageDataSources, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 154 | SetVariable { name: String, value: CalculationString, repetition: CalculationString }, [INFO] [stdout] 155 | InstallMenuSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 156 | SaveRecordsAsExcel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | SaveRecordsAsPdf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 158 | GoToObject, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 159 | SetWebViewer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 160 | SetFieldByName, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 161 | InstallOntimerScript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | OpenEditSavedFinds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 163 | PerformQuickFind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 164 | OpenManageLayouts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 165 | SaveRecordsAsSnapshotLink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | SortRecordsByField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | FindMatchingRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 168 | ManageContainers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 169 | InstallPluginFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | InsertPdf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 171 | InsertAudioVideo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 172 | InsertFromUrl, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 173 | InsertFromDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | PerformScriptOnServer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 175 | OpenManageThemes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 176 | ShowHideMenubar, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 177 | RefreshObject, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 178 | SetLayoutObjectAnimation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 179 | ClosePopover, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 180 | OpenUploadToHost, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 181 | EnableTouchKeyboard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 182 | PerformJavascriptInWebViewer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 183 | CommentedOut, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 184 | AvplayerPlay, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 185 | AvplayerSetPlaybackState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 186 | AvplayerSetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 187 | RefreshPortal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 188 | GetFolderPath, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 189 | TruncateTable, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 190 | OpenFavorites, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 191 | ConfigureRegionMonitorScript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | ConfigureLocalNotification, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 193 | GetFileExists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 194 | GetFileSize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 195 | CreateDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 196 | OpenDataFile, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 197 | WriteToDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | ReadFromDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 199 | GetDataFilePosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 200 | SetDataFilePosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 201 | CloseDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 202 | DeleteFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 203 | RenameFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 204 | SetErrorLogging, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 205 | ConfigureNfcReading, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 206 | ConfigureMachineLearningModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | ExecuteFilemakerDataApi, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 208 | OpenTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 209 | CommitTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 210 | RevertTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 211 | SetSessionIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 212 | SetDictionary, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 213 | PerformScriptOnServerWithCallback, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 214 | TriggerClarisConnectFlow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 215 | Assert { expr: CalculationString }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtoInstruction` 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: struct `Cursor` is never constructed [INFO] [stdout] --> common/src/cadlang/lexer.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Cursor { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MemberOf`, `Range`, `Calculation`, and `MaxChars` are never constructed [INFO] [stdout] --> common/src/cadlang/staging.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum StagedValidationType { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | MemberOf(Token), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | Range{start: usize, end: usize}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | Calculation(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | MaxChars(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StagedValidationType` 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: variants `Lookup`, `Creation`, `Modification`, `LastVisited`, and `Data` are never constructed [INFO] [stdout] --> common/src/cadlang/staging.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum StagedAutoEntryType { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 47 | Lookup { from: Token, to: Token }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | Creation(AutoEntryDataPresets), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | Modification(AutoEntryDataPresets), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | LastVisited, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 51 | Data(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StagedAutoEntryType` 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: struct `CachedKeyLocation` is never constructed [INFO] [stdout] --> common/src/hbam2/kv_cache.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CachedKeyLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyValCache` is never constructed [INFO] [stdout] --> common/src/hbam2/kv_cache.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct KeyValCache { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common/src/hbam2/bplustree.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | KeyNotFound(Vec>), [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BPlusTreeErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - KeyNotFound(Vec>), [INFO] [stdout] 12 + KeyNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common/src/hbam2/bplustree.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | InvalidChunkComposition(ParseErr), [INFO] [stdout] | ----------------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BPlusTreeErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - InvalidChunkComposition(ParseErr), [INFO] [stdout] 16 + InvalidChunkComposition(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common/src/hbam2/bplustree.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | PageCycle(PageIndex) [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BPlusTreeErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - PageCycle(PageIndex) [INFO] [stdout] 17 + PageCycle(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PageNotFound` is never constructed [INFO] [stdout] --> common/src/hbam2/bplustree.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum BPlusTreeErr { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | PageNotFound(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BPlusTreeErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> common/src/hbam2/bplustree.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Cursor { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 21 | key: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Data` is never used [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | type Data = Vec; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Value<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyValue` is never constructed [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct KeyValue<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inspect` is never used [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn inspect(keyvalue: &KeyValue) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common/src/hbam2/chunk.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | UnrecognizedOpcode(u8), [INFO] [stdout] | ------------------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - UnrecognizedOpcode(u8), [INFO] [stdout] 33 + UnrecognizedOpcode(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnexpectedEndOfPage` and `MalformedChunk` are never constructed [INFO] [stdout] --> common/src/hbam2/chunk.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ParseErr { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 31 | EndChunk, [INFO] [stdout] 32 | UnexpectedEndOfPage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | UnrecognizedOpcode(u8), [INFO] [stdout] 34 | MalformedChunk, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offset` is never read [INFO] [stdout] --> common/src/hbam2/chunk.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct LocalChunk { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 40 | pub offset: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalChunk` 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: enum `KeyType` is never used [INFO] [stdout] --> common/src/hbam2/view.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum KeyType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_simple_data` is never used [INFO] [stdout] --> common/src/hbam2/view.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> SubView<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_simple_data(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_simple` and `get_dir` are never used [INFO] [stdout] --> common/src/hbam2/view.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl<'a> View { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn get_simple(&self, search: u16) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn get_dir<'b>(&'a self, search: HBAMPath) -> Option> where 'a:'b { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NodeValue` is never used [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum NodeValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeValue` 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: unused variable: `name` [INFO] [stdout] --> cadmus_objects/src/scripting/instructions.rs:494:16 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn new(name: &str, args: &Vec<(Option, String)>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> cadmus_objects/src/scripting/instructions.rs:494:28 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn new(name: &str, args: &Vec<(Option, String)>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> cadmus_objects/src/scripting/script.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> cadmus_objects/src/scripting/script.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tower-cookies v0.11.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stdout] warning: unused variable: `staging` [INFO] [stdout] --> common/src/cadlang/compiler.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let staging = match parse(&tokens) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_staging` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> common/src/cadlang/cadscript/lexer.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | while let Some(c) = lex_iter.next() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/cadlang/cadscript/lexer.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | while let Some(mut c) = lex_iter.next() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn parse_labeled_args<'a>(tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result, ParseErr> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:76:55 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn parse_labeled_args<'a>(tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result, ParseErr> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut args = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | TokenVal::ArgLabel(label) => return Err(ParseErr::PositionalLabelMix), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_table` [INFO] [stdout] --> common/src/cadlang/parser.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | let second_table = expect(tokens, &vec![TokenType::Identifier], info)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> common/src/cadlang/backend.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | for (i, table) in &stage.tables { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> common/src/cadlang/backend.rs:294:47 [INFO] [stdout] | [INFO] [stdout] 294 | StagedAutoEntryType::Lookup { from, to } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> common/src/cadlang/backend.rs:294:53 [INFO] [stdout] | [INFO] [stdout] 294 | StagedAutoEntryType::Lookup { from, to } => { [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_range` [INFO] [stdout] --> common/src/hbam2/bplustree.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | let in_range = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search` [INFO] [stdout] --> common/src/hbam2/view.rs:216:30 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn get_simple(&self, search: u16) -> Option> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_type` [INFO] [stdout] --> common/src/hbam2/mod.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let source_type = &definition[0..=3]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typename` [INFO] [stdout] --> common/src/hbam2/mod.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let typename = &definition[start..=end]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> common/src/hbam2/mod.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | let mut args = Vec::::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/hbam2/mod.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | let mut args = Vec::::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> common/src/hbam2/mod.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn get_data<'a>(key: Key) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> common/src/hbam2/mod.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn set_keyvalue<'a>(key: Key, val: Value) -> Result<(), BPlusTreeErr> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> common/src/hbam2/mod.rs:416:35 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn set_keyvalue<'a>(key: Key, val: Value) -> Result<(), BPlusTreeErr> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_var(&self, name: &str) -> Option { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_global_var(&self, name: &str) -> Option { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn lookup_field(&self, reference: FieldReference) -> Result, String> { todo!() } [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ds` [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | let (ds, table, field) = (reference.data_source, reference.table_occurrence_id, reference.field_id); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> common/src/dbobjects/calculation/mod.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | Err(e) => return Err(format!("Field not found: {:?}", reference)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> common/src/dbobjects/schema/field.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> common/src/dbobjects/schema/field.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking git2 v0.20.0 [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let start = self.nodes.iter() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn to_cad(&self, file: File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:209:38 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn to_cad(&self, file: File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:499:16 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn new(name: &str, args: &Vec<(Option, String)>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:499:28 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn new(name: &str, args: &Vec<(Option, String)>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> common/src/dbobjects/scripting/script.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> common/src/dbobjects/scripting/script.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> common/src/main.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | cli::Command::Test { file, tests } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `file: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tests` [INFO] [stdout] --> common/src/main.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | cli::Command::Test { file, tests } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `tests: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cadmus_file` [INFO] [stdout] --> common/src/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | cli::Command::Sync { cadmus_file, fmp_file } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `cadmus_file: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmp_file` [INFO] [stdout] --> common/src/main.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | cli::Command::Sync { cadmus_file, fmp_file } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `fmp_file: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stdout] warning: function `compile_to_schema` is never used [INFO] [stdout] --> common/src/cadlang/compiler.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn compile_to_schema(code: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_to_file` is never used [INFO] [stdout] --> common/src/cadlang/compiler.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn compile_to_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_cadscript` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn compile_cadscript(code: &str) -> ProtoScript { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/lexer.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn lex(code: &str) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ArgFormat` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ArgFormat { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArgKeyVal` is never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ArgKeyVal { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArgKeyVal` 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 `new` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ArgKeyVal { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(label_: String, value_: TokenVal) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseErr` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ParseErr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` 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 `ParseInfo` is never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ParseInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expect` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn expect<'a>(tokens: &'a [TokenVal], expected_: &Vec, info: &mut ParseInfo) -> Result<&'a TokenVal, ParseErr> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_labeled_arg` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn parse_labeled_arg<'a>(label: &'a TokenVal, tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_labeled_args` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn parse_labeled_args<'a>(tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result, ParseErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_positional_args` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn parse_positional_args<'a>(instr: &'a str, tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result, ParseErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_first_arg` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_first_arg<'a>(instr: &'a str, tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result, ParseE... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn parse_args<'a>(instr: &'a str, tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result, ParseErr> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn parse(tokens: Vec) -> Result, ParseErr> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenVal` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/token.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) enum TokenVal { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_value` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/token.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl TokenVal { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 32 | pub fn get_value(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/token.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProtoScript` is never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/proto_script.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ProtoScript { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtoScript` 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: variants `UnresolvedName` and `Calculation` are never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/proto_instruction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ProtoLayoutSelection { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 7 | UnresolvedName(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Calculation(CalculationString), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtoLayoutSelection` 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: variant `UnresolvedReference` is never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/proto_instruction.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ProtoFieldSelection { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] 13 | UnresolvedReference { occurrence: String, field: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtoFieldSelection` 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: variants `UnresolvedReference` and `Calculation` are never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/proto_instruction.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ProtoScriptSelection { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 18 | UnresolvedReference { data_source: String, script: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | Calculation(CalculationString) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtoScriptSelection` 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 variants are never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/proto_instruction.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 23 | #[repr(u16)] pub enum ProtoInstruction { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 24 | PerformScript { script: ProtoScriptSelection, args: CalculationString }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | SaveACopyAsXml, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | GoToNextField, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | GoToPreviousField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | GoToLayout { layout: ProtoLayoutSelection, animation: LayoutAnimation }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | NewRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | DuplicateRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | DeleteRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | DeleteAllRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | InsertFromIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | InsertFromLastVisited, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | InsertCurrentDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | InsertCurrentTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | GoToRecordRequestPage { record: RecordSelection }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | GoToField, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | CheckSelection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | CheckRecord, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | CheckFoundSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 42 | UnsortRecords, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 43 | EnterFindMode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | ShowAllRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 45 | ModifyLastFind, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 46 | OmitRecord, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | OmitMultipleRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | ShowOmmitedOnly, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | PerformFind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | ShowHideToolbars, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | ViewAs, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | AdjustWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | OpenHelp, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | OpenFile, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | CloseFile, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 56 | ImportRecords, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | ExportRecords, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | SaveACopyAs, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | OpenManageDatabase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | SortRecords, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | RelookupFieldContents, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | EnterPreviewMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | PrintSetup, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | Print, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | ExitApplication, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | UndoRedo, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | Cut, [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | Copy, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | Paste, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | Clear, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 71 | SelectAll, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | RevertRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | EnterBrowserMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | InsertPicture, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 75 | SendEvent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 76 | InsertCurrentUserName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | InsertText, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | PauseResumeScript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 79 | SendMail, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 80 | SendDdeExecute, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 81 | DialPhone, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | Speak, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 83 | PerformApplescript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | If { condition: CalculationString }, [INFO] [stdout] | ^^ [INFO] [stdout] 85 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | EndIf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | Loop, [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | ExitLoopIf { condition: CalculationString } , [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 89 | EndLoop, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 90 | GoToRelatedRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | CommitRecordsRequests, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | SetField { field: ProtoFieldSelection, value: CalculationString, repetition: CalculationString }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 93 | InsertCalculatedResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | FreezeWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 95 | RefreshWindow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 96 | ScrollWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 97 | NewFile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 98 | ChangePassword, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 99 | SetMultiUser, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 100 | AllowUserAbort, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 101 | SetErrorCapture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | ShowCustomDialog, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | OpenScriptWorkspace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | BlankLineComment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | HaltScript, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 106 | ReplaceFieldContents, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | ShowHideTextRuler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | Beep, [INFO] [stdout] | ^^^^ [INFO] [stdout] 109 | SetUseSystemFormats, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | RecoverFile, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 111 | SaveACopyAsAddOnPackage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | SetZoomLevel, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 113 | CopyAllRecordsRequests, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | GoToPortalRow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 115 | CopyRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | FluchCacheToDisk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 117 | ExitScript { value: CalculationString }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 118 | DeletePortalRow, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | OpenPreferences, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 120 | CorrectWord, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 121 | SpellingOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 122 | SelectDictionaries, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | EditUserDictionary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | OpenUrl, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 125 | OpenManageValueLists, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | OpenSharing, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 127 | OpenFileOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | AllowFormattingBar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 129 | SetNextSerialValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | ExecuteSql, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 131 | OpenHosts, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 132 | MoveResizeWindow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | ArrangeAllWindows, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 134 | CloseWindow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 135 | NewWindow, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 136 | SelectWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 137 | SetWindowTitle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 138 | ElseIf { condition: CalculationString }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 139 | ConstrainFoundSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 140 | ExtendFoundSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 141 | PerformFindReplace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | OpenFindReplace, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | SetSelection, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 144 | InsertFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 145 | ExportFieldContents, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 146 | OpenRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | AddAccount, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 148 | DeleteAccount, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 149 | ResetAccountPassword, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | EnableAccount, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 151 | Relogin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 152 | ConvertFile, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 153 | OpenManageDataSources, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 154 | SetVariable { name: String, value: CalculationString, repetition: CalculationString }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 155 | InstallMenuSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 156 | SaveRecordsAsExcel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | SaveRecordsAsPdf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 158 | GoToObject, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 159 | SetWebViewer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 160 | SetFieldByName, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 161 | InstallOntimerScript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | OpenEditSavedFinds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 163 | PerformQuickFind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 164 | OpenManageLayouts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 165 | SaveRecordsAsSnapshotLink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | SortRecordsByField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | FindMatchingRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 168 | ManageContainers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 169 | InstallPluginFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | InsertPdf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 171 | InsertAudioVideo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 172 | InsertFromUrl, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 173 | InsertFromDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | PerformScriptOnServer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 175 | OpenManageThemes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 176 | ShowHideMenubar, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 177 | RefreshObject, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 178 | SetLayoutObjectAnimation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 179 | ClosePopover, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 180 | OpenUploadToHost, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 181 | EnableTouchKeyboard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 182 | PerformJavascriptInWebViewer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 183 | CommentedOut, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 184 | AvplayerPlay, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 185 | AvplayerSetPlaybackState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 186 | AvplayerSetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 187 | RefreshPortal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 188 | GetFolderPath, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 189 | TruncateTable, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 190 | OpenFavorites, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 191 | ConfigureRegionMonitorScript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | ConfigureLocalNotification, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 193 | GetFileExists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 194 | GetFileSize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 195 | CreateDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 196 | OpenDataFile, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 197 | WriteToDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | ReadFromDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 199 | GetDataFilePosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 200 | SetDataFilePosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 201 | CloseDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 202 | DeleteFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 203 | RenameFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 204 | SetErrorLogging, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 205 | ConfigureNfcReading, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 206 | ConfigureMachineLearningModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | ExecuteFilemakerDataApi, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 208 | OpenTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 209 | CommitTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 210 | RevertTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 211 | SetSessionIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 212 | SetDictionary, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 213 | PerformScriptOnServerWithCallback, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 214 | TriggerClarisConnectFlow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 215 | Assert { expr: CalculationString }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtoInstruction` 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: struct `ArgLookupTable` is never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/arg_lookups.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ArgLookupTable([(&'static str, u8, &'static str); 16]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_argname` are never used [INFO] [stdout] --> common/src/cadlang/cadscript/arg_lookups.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl ArgLookupTable { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 10 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_argname(&self, instruction: &str, position: u8) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ARG_LOOKUP` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/arg_lookups.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) const ARG_LOOKUP: ArgLookupTable = ArgLookupTable::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LexErr` is never used [INFO] [stdout] --> common/src/cadlang/lexer.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum LexErr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexErr` 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 `Cursor` is never constructed [INFO] [stdout] --> common/src/cadlang/lexer.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Cursor { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_buffer` is never used [INFO] [stdout] --> common/src/cadlang/lexer.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn decode_buffer(buffer: &str, start: Location) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex` is never used [INFO] [stdout] --> common/src/cadlang/lexer.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn lex(code: &str) -> Result, LexErr> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Table`, `TableOccurrence`, `Field`, and `ValueList` are never constructed [INFO] [stdout] --> common/src/cadlang/parser.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum FMObjType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 24 | Table, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | TableOccurrence, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | Field, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | ValueList, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FMObjType` 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 `ParseInfo` is never constructed [INFO] [stdout] --> common/src/cadlang/parser.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ParseInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expect` is never used [INFO] [stdout] --> common/src/cadlang/parser.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn expect<'a>(tokens: &'a [Token], expected: &Vec, info: &mut ParseInfo) -> Result<&'a Token, CompileErr> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_field` is never used [INFO] [stdout] --> common/src/cadlang/parser.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn parse_field(tokens: &[Token], info: &mut ParseInfo) -> Result<(u16, StagedField), CompileErr> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_table` is never used [INFO] [stdout] --> common/src/cadlang/parser.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn parse_table(tokens: &[Token], info: &mut ParseInfo) -> Result<(u16, StagedTable), CompileErr> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_extern` is never used [INFO] [stdout] --> common/src/cadlang/parser.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn parse_extern(tokens: &[Token], info: &mut ParseInfo) -> Result<(u16, DataSource), CompileErr> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_table_occurrence` is never used [INFO] [stdout] --> common/src/cadlang/parser.rs:332:8 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn parse_table_occurrence(tokens: &[Token], info: &mut ParseInfo) -> Result<(u16, StagedOccurrence), CompileErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_script` is never used [INFO] [stdout] --> common/src/cadlang/parser.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn parse_script(tokens: &[Token], info: &mut ParseInfo) -> Result<(u16, ProtoScript), CompileErr> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_value_list_attributes` is never used [INFO] [stdout] --> common/src/cadlang/parser.rs:381:8 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn parse_value_list_attributes(tokens: &[Token], info: &mut ParseInfo) -> Result<(Option, StagedValueListSortBy), CompileErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_value_list` is never used [INFO] [stdout] --> common/src/cadlang/parser.rs:450:8 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn parse_value_list(tokens: &[Token], info: &mut ParseInfo) -> Result<(u16, StagedValueList), CompileErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_test` is never used [INFO] [stdout] --> common/src/cadlang/parser.rs:609:8 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn parse_test(tokens: &[Token], info: &mut ParseInfo) -> Result<(u16, ProtoScript), CompileErr> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_relation_criteria` is never used [INFO] [stdout] --> common/src/cadlang/parser.rs:629:8 [INFO] [stdout] | [INFO] [stdout] 629 | pub fn parse_relation_criteria<'a>(tokens: &'a [Token], info: &mut ParseInfo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_relation` is never used [INFO] [stdout] --> common/src/cadlang/parser.rs:660:8 [INFO] [stdout] | [INFO] [stdout] 660 | pub fn parse_relation(tokens: &[Token], info: &mut ParseInfo) -> Result<(u16, StagedRelation), CompileErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_layout_attributes` is never used [INFO] [stdout] --> common/src/cadlang/parser.rs:715:8 [INFO] [stdout] | [INFO] [stdout] 715 | pub fn parse_layout_attributes(tokens: &[Token], info: &mut ParseInfo) -> Result, CompileErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_layout` is never used [INFO] [stdout] --> common/src/cadlang/parser.rs:734:8 [INFO] [stdout] | [INFO] [stdout] 734 | pub fn parse_layout(tokens: &[Token], info: &mut ParseInfo) -> Result<(u16, StagedLayout), CompileErr> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> common/src/cadlang/parser.rs:757:8 [INFO] [stdout] | [INFO] [stdout] 757 | pub fn parse(tokens: &[Token]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> common/src/cadlang/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 6 | // Top level objects [INFO] [stdout] 7 | Table, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | TableOccurrence, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | Relation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | ValueList, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | Layout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Script, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Test, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Extern, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | // Second level objects [INFO] [stdout] 16 | Field, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | // thid level objects [INFO] [stdout] 18 | AutoIncrement, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | AutoEntry, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | Datatype, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | ObjectNumber, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | Assignment, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | Calculation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | IntegerLiteral, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | Creation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | Modification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | Serial, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | Generate, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | OnCreation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | OnCommit, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | Next, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | Increment, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | LastVisited, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 39 | Data, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | CalculatedVal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 41 | DoNotReplace, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | Lookup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | StartTable, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | RelatedTable, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | Validate, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | Always, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | OnEntry, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | AllowOverride, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | StrictDataType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 56 | NotEmpty, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | Required, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | Unique, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | MemberOf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 60 | Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | ValidationCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 62 | MaxChars, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | ValidationMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | Global, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | Repetitions, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | From, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | Sort, [INFO] [stdout] | ^^^^ [INFO] [stdout] 72 | FirstField, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 73 | SecondField, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | [INFO] [stdout] 75 | Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 76 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] 77 | Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] 78 | ScopeResolution, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 79 | ScriptContent, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 80 | [INFO] [stdout] 81 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 82 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 83 | [INFO] [stdout] 84 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 85 | Neq, [INFO] [stdout] | ^^^ [INFO] [stdout] 86 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] 87 | Gte, [INFO] [stdout] | ^^^ [INFO] [stdout] 88 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] 89 | Lte, [INFO] [stdout] | ^^^ [INFO] [stdout] 90 | Cartesian, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 91 | [INFO] [stdout] 92 | OpenBrace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | CloseBrace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 94 | OpenParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 95 | CloseParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 96 | OpenSquare, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | CloseSquare, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 98 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 100 | Exclamation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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 functions `new` and `with_value` are never used [INFO] [stdout] --> common/src/cadlang/token.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl Token { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 132 | pub fn new(ttype_: TokenType, location_: Location) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn with_value(ttype_: TokenType, location_: Location, value_: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> common/src/cadlang/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CompileErr { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 6 | UnexpectedToken { token: Token, expected: Vec}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | RelationCriteria { token: Token }, // criteria must have uniform tables. [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | UnknownTable { token: Token }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | UnknownTableOccurrence { token: Token }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | UnknownField { token: Token }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | InvalidAssert { token: Token }, // Asserts can only be used in tests [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | MissingAttribute { base_object: String, construct: String, specifier: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | UnimplementedLanguageFeauture { feature: String, token: Token }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | UndefinedReference { construct: FMObjType, token: Token }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | UnknownFileType { filename: Token }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | UnexpectedEOF, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompileErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_external_cad_data_sources` is never used [INFO] [stdout] --> common/src/cadlang/backend.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn compile_external_cad_data_sources(stage: &Stage, working_dir: &Path) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_table_occurrence_refs` is never used [INFO] [stdout] --> common/src/cadlang/backend.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn generate_table_occurrence_refs(stage: &Stage, externs: &HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_relation_refs` is never used [INFO] [stdout] --> common/src/cadlang/backend.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn generate_relation_refs(stage: &Stage, live_occurrences: &mut Vec, externs: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_table_occurrences` is never used [INFO] [stdout] --> common/src/cadlang/backend.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn generate_table_occurrences(stage: &Stage, externs: &HashMap ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_externs` is never used [INFO] [stdout] --> common/src/cadlang/backend.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn load_externs(stage: &Stage, working_dir: &Path) -> HashMap:: { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_calculation` is never used [INFO] [stdout] --> common/src/cadlang/backend.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn encode_calculation(code: &str, schema: &Stage, externs: &HashMap, graph: &RelationGraph) -> Calculation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_tables` is never used [INFO] [stdout] --> common/src/cadlang/backend.rs:266:4 [INFO] [stdout] | [INFO] [stdout] 266 | fn generate_tables(stage: &Stage, externs: &HashMap, graph: &RelationGraph) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_schema` is never used [INFO] [stdout] --> common/src/cadlang/backend.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn build_schema(stage: &Stage, externs: &HashMap) -> Schema { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_script_objects` is never used [INFO] [stdout] --> common/src/cadlang/backend.rs:341:4 [INFO] [stdout] | [INFO] [stdout] 341 | fn build_script_objects(stage: &Stage, externs: &HashMap, graph: &RelationGraph) -> Vec<(u32, Script)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_file` is never used [INFO] [stdout] --> common/src/cadlang/backend.rs:442:8 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn build_file(stage: &Stage, working_dir: &Path) -> File { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> common/src/cadlang/staging.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum StagedValidationType { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 26 | NotEmpty, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | Unique, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | Required, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | MemberOf(Token), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | Range{start: usize, end: usize}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | Calculation(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | MaxChars(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StagedValidationType` 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 variants are never constructed [INFO] [stdout] --> common/src/cadlang/staging.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum StagedAutoEntryType { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 45 | NA, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | Serial { next: usize, increment: usize, trigger: SerialTrigger }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | Lookup { from: Token, to: Token }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | Creation(AutoEntryDataPresets), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | Modification(AutoEntryDataPresets), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | LastVisited, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 51 | Data(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | Calculation{code: String, noreplace: bool}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StagedAutoEntryType` 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: variants `FirstField` and `SecondField` are never constructed [INFO] [stdout] --> common/src/cadlang/staging.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum StagedValueListSortBy { [INFO] [stdout] | --------------------- variants in this enum [INFO] [stdout] 99 | FirstField, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | SecondField, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StagedValueListSortBy` 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: variants `CustomValues` and `FromField` are never constructed [INFO] [stdout] --> common/src/cadlang/staging.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum StagedValueListDefinition { [INFO] [stdout] | ------------------------- variants in this enum [INFO] [stdout] 105 | CustomValues(Vec), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 106 | FromField { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StagedValueListDefinition` 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: struct `Stage` is never constructed [INFO] [stdout] --> common/src/cadlang/staging.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct Stage { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stage` 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] --> common/src/cadlang/staging.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl Stage { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 142 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENCODING_MAPPING` is never used [INFO] [stdout] --> common/src/util/dbcharconv.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ENCODING_MAPPING: [(u8, u8, char); 29] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_char` is never used [INFO] [stdout] --> common/src/util/dbcharconv.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn decode_char(high: u8, low: u8) -> char { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_bytes` is never used [INFO] [stdout] --> common/src/util/dbcharconv.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn decode_bytes(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_char` is never used [INFO] [stdout] --> common/src/util/dbcharconv.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn encode_char(ch: char) -> (u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_text` is never used [INFO] [stdout] --> common/src/util/dbcharconv.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn encode_text(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_path_int` is never used [INFO] [stdout] --> common/src/util/encoding_util.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_path_int(bytes : &[u8]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_int` is never used [INFO] [stdout] --> common/src/util/encoding_util.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_int(bytes: &[u8]) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `put_int` is never used [INFO] [stdout] --> common/src/util/encoding_util.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn put_int(mut n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fm_string_encrypt` is never used [INFO] [stdout] --> common/src/util/encoding_util.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn fm_string_encrypt(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fm_string_decrypt` is never used [INFO] [stdout] --> common/src/util/encoding_util.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn fm_string_decrypt(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompile_calculation` is never used [INFO] [stdout] --> common/src/util/calc_bytecode.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decompile_calculation(bytecode: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Key` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub type Key = Vec; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Value` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub type Value = String; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_file` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn emit_file(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> common/src/hbam2/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `print_full`, and `get_schema_contents` are never used [INFO] [stdout] --> common/src/hbam2/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Context { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 53 | pub fn new() -> Context { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn print_full(&mut self, file: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_schema_contents(&mut self, file: &str) -> File { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_schema_contents` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_schema_contents(cache: &mut PageStore, file: &str) -> File { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_table_catalog` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get_table_catalog(cache: &mut PageStore, file: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_occurrence_catalog` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn get_occurrence_catalog(cache: &mut PageStore, file: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_datasource_catalog` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn get_datasource_catalog(cache: &mut PageStore, file: &str) -> HashMap:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_script_catalog` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn get_script_catalog(cache: &mut PageStore, file: &str) -> HashMap:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_layout_catalog` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn get_layout_catalog(cache: &mut PageStore, file: &str) -> HashMap:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_keyvalue` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn get_keyvalue<'a>(key: &HBAMPath, store: &'a mut PageStore, file: &'a str) -> Result, BPlusTreeErr> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn get_data<'a>(key: Key) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_keyvalue` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:416:8 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn set_keyvalue<'a>(key: Key, val: Value) -> Result<(), BPlusTreeErr> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CachedKeyLocation` is never constructed [INFO] [stdout] --> common/src/hbam2/kv_cache.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CachedKeyLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyValCache` is never constructed [INFO] [stdout] --> common/src/hbam2/kv_cache.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct KeyValCache { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Offset` is never used [INFO] [stdout] --> common/src/hbam2/bplustree.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Offset = usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BPlusTreeErr` is never used [INFO] [stdout] --> common/src/hbam2/bplustree.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum BPlusTreeErr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cursor` is never constructed [INFO] [stdout] --> common/src/hbam2/bplustree.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Cursor { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_key_in_page` is never used [INFO] [stdout] --> common/src/hbam2/bplustree.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn search_key_in_page<'a>(key_: &HBAMPath, page_data: &[u8; 4096]) -> Result, BPlusTreeErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_page` is never used [INFO] [stdout] --> common/src/hbam2/bplustree.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_page(index: PageIndex, cache: &mut PageStore, file: &str) -> Result, BPlusTreeErr> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_index_page` is never used [INFO] [stdout] --> common/src/hbam2/bplustree.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn search_index_page(key_: &HBAMPath, page: Page) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data_page` is never used [INFO] [stdout] --> common/src/hbam2/bplustree.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn get_data_page<'a>(key: &HBAMPath, cache: &mut PageStore, file: &str) -> Result, BPlusTreeErr> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_view_from_key` is never used [INFO] [stdout] --> common/src/hbam2/bplustree.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn get_view_from_key<'a, 'b>(key: &HBAMPath, cache: &mut PageStore, file: &str) -> Result, BPlusTreeErr> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_key` is never used [INFO] [stdout] --> common/src/hbam2/bplustree.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn search_key<'a>(key: &HBAMPath, cache: &'a mut PageStore, file: &'a str) -> Result, BPlusTreeErr> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_page_from_disk` is never used [INFO] [stdout] --> common/src/hbam2/bplustree.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn load_page_from_disk(file: &Path, index: PageIndex) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_tree` is never used [INFO] [stdout] --> common/src/hbam2/bplustree.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn print_tree(cache: &mut PageStore, file: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Data` is never used [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | type Data = Vec; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Value<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyValue` is never constructed [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct KeyValue<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inspect` is never used [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn inspect(keyvalue: &KeyValue) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Root`, `Index`, and `Data` are never constructed [INFO] [stdout] --> common/src/hbam2/page.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum PageType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 6 | Root, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Data, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageType` 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 `PageHeader` is never constructed [INFO] [stdout] --> common/src/hbam2/page.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PageHeader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageHeader` 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: enum `PageHeaderErr` is never used [INFO] [stdout] --> common/src/hbam2/page.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum PageHeaderErr { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageHeaderErr` 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 items `SIZE` and `from_bytes` are never used [INFO] [stdout] --> common/src/hbam2/page.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 26 | impl PageHeader { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 27 | pub const SIZE: u64 = 20; [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> common/src/hbam2/page.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Page { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` 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 items `SIZE` and `from_bytes` are never used [INFO] [stdout] --> common/src/hbam2/page.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 56 | impl Page { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 57 | pub const SIZE: u64 = 4096; [INFO] [stdout] | ^^^^ [INFO] [stdout] 58 | [INFO] [stdout] 59 | pub fn from_bytes(bytes: &[u8; 4096]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FileIndex` is never used [INFO] [stdout] --> common/src/hbam2/page_store.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type FileIndex = u8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PageIndex` is never used [INFO] [stdout] --> common/src/hbam2/page_store.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type PageIndex = u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageStore` is never constructed [INFO] [stdout] --> common/src/hbam2/page_store.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageStore { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `get_root`, and `put` are never used [INFO] [stdout] --> common/src/hbam2/page_store.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PageStore { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get(&self, file: String, page: PageIndex) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_root(&self, file: String) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn put(&mut self, file: String, index: u64, page: &Page) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseErr` is never used [INFO] [stdout] --> common/src/hbam2/chunk.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ParseErr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offset` is never read [INFO] [stdout] --> common/src/hbam2/chunk.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct LocalChunk { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 40 | pub offset: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalChunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offset` is never read [INFO] [stdout] --> common/src/hbam2/chunk.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Chunk<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 48 | pub offset: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` 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 `new`, `copy_to_local`, and `from_bytes` are never used [INFO] [stdout] --> common/src/hbam2/chunk.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl<'a> Chunk<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 55 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn copy_to_local(&self) -> LocalChunk { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn from_bytes<'b>(code: &'a [u8], offset: &'b mut usize) -> Result, ParseErr> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `contains` and `from_csv` are never used [INFO] [stdout] --> common/src/hbam2/path.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl HBAMPath { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn contains(&self, contained: &HBAMPath) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn from_csv(csv: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `View` is never constructed [INFO] [stdout] --> common/src/hbam2/view.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct View { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `View` 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 `SubView` is never constructed [INFO] [stdout] --> common/src/hbam2/view.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SubView<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubView` 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 `KeyType` is never used [INFO] [stdout] --> common/src/hbam2/view.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum KeyType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_value`, `get_simple_data`, `get_all_simple_keyvalues`, `get_dirs`, and `get_dir_relative` are never used [INFO] [stdout] --> common/src/hbam2/view.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> SubView<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(path_: HBAMPath, chunks_: Vec<&'a LocalChunk>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_value(&self, search: u16) -> Option<&[u8]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_simple_data(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_all_simple_keyvalues(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_dirs(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn get_dir_relative(&self, search: &mut HBAMPath) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_dirs`, `get_simple`, `get_value`, and `get_dir` are never used [INFO] [stdout] --> common/src/hbam2/view.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl<'a> View { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 172 | pub fn new(path_: HBAMPath, chunks_: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn get_dirs(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn get_simple(&self, search: u16) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn get_value(&self, search: u16) -> Option<&[u8]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn get_dir<'b>(&'a self, search: HBAMPath) -> Option> where 'a:'b { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flatten` is never used [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait DataTree { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 9 | fn insert(&mut self, path: HBAMPath, value: LocalChunkContents) -> Result<()>; [INFO] [stdout] 10 | fn flatten(&self) -> Result>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NodeValue` is never used [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum NodeValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeValue` 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: enum `Value` is never used [INFO] [stdout] --> common/src/dbobjects/calculation/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_number` and `as_text` are never used [INFO] [stdout] --> common/src/dbobjects/calculation/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 18 | fn as_number(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn as_text(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_tokens`, `from_text`, `lex`, and `eval` are never used [INFO] [stdout] --> common/src/dbobjects/calculation/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Calculation { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 40 | [INFO] [stdout] 41 | pub fn from_tokens(tokens: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn from_text(code: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn lex(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn eval(&self, ctx: &T) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eval` is never used [INFO] [stdout] --> common/src/dbobjects/calculation/mod.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl Expr { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 206 | pub fn eval(&self, ctx: &T) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex_text` is never used [INFO] [stdout] --> common/src/dbobjects/calculation/mod.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn lex_text(code: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait CalculationContext { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 5 | fn get_record_id(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | fn get_account_name(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | fn get_active_field_contents(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn get_active_fieldname(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn get_host_ip_addr(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | fn get_var(&self, name: &str) -> Option; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | fn get_global_var(&self, name: &str) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | fn lookup_field(&self, reference: FieldReference) -> Result, String>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl DummyContext { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> common/src/dbobjects/calculation/parser.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 12 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Number(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | Variable(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | Global(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | FieldReference(FieldReference), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | BinaryOp { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | UnaryOp { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | FunctionCall { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | Subscript { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `Parser` is never constructed [INFO] [stdout] --> common/src/dbobjects/calculation/parser.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> common/src/dbobjects/calculation/parser.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 41 | pub fn new(tokens: &'a [Token]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn parse(&mut self) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn parse_expression(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn parse_concatenation(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn parse_comparison(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn parse_term(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn parse_factor(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn parse_unary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn parse_primary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CurrentTime`, `AccountName`, `DocumentsPath`, and `DocumentsPathListing` are never constructed [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum GetArgument { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 7 | CurrentTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | AccountName, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | DocumentsPath, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | DocumentsPathListing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetArgument` 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 variants are never constructed [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Function { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 15 | Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | Abs, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | Cos, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Sin, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Tan, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | Acos, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | Asin, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Atan, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | Get(GetArgument), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` 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: variant `Global` is never constructed [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum TokenKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 28 | Variable, [INFO] [stdout] 29 | Global, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` 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 variants are never constructed [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 104 | Variable(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 105 | Global(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 106 | Number(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 107 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 108 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 109 | FieldReference(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 110 | ResolvedFieldReference(FieldReference), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 111 | Function(Function), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 112 | [INFO] [stdout] 113 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 114 | NotEqual, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 115 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | LessEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 117 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 118 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 119 | [INFO] [stdout] 120 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 121 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 122 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 123 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 124 | Concatenate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 125 | [INFO] [stdout] 126 | Negate, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 127 | [INFO] [stdout] 128 | OpenParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 129 | CloseParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | [INFO] [stdout] 131 | OpenSquare, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 132 | CloseSquare, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 133 | [INFO] [stdout] 134 | SemiColon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 135 | [INFO] [stdout] 136 | Space, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `encode` and `kind` are never used [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 140 | pub fn encode(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn kind(&self) -> TokenKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FileMaker`, `Cadmus`, and `ODBC` are never constructed [INFO] [stdout] --> common/src/dbobjects/data_source.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum DataSourceType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 4 | FileMaker, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | Cadmus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | ODBC, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataSourceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cad` is never used [INFO] [stdout] --> common/src/dbobjects/data_source.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DataSource { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 18 | pub fn to_cad(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_cad` and `to_cad_with_externs` are never used [INFO] [stdout] --> common/src/dbobjects/file.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl File { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 23 | pub fn to_cad(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn to_cad_with_externs(&self, externs: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cad` is never used [INFO] [stdout] --> common/src/dbobjects/layout.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Layout { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 16 | pub fn to_cad(&self, file: &File) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_cad` are never used [INFO] [stdout] --> common/src/dbobjects/schema/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Schema { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cad` is never used [INFO] [stdout] --> common/src/dbobjects/schema/field.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl AutoEntryType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 67 | pub fn to_cad(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cad` is never used [INFO] [stdout] --> common/src/dbobjects/schema/field.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl AutoEntry { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 83 | pub fn to_cad(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cad` is never used [INFO] [stdout] --> common/src/dbobjects/schema/field.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl ValidationType { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 118 | pub fn to_cad(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cad` is never used [INFO] [stdout] --> common/src/dbobjects/schema/field.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl Validation { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 137 | pub fn to_cad(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> common/src/dbobjects/schema/field.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl Field { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 164 | pub fn new(id_: u32, name_: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn datatype(mut self, dtype_: DataType) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn repetitions(mut self, repetitions_: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn created_by(mut self, account: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn modified_by(mut self, account: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn autoentry(mut self, definition_: AutoEntryType, nomodify_: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn validation(mut self, validation_: Validation) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableID` is never used [INFO] [stdout] --> common/src/dbobjects/schema/table.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type TableID = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `name`, and `to_cad` are never used [INFO] [stdout] --> common/src/dbobjects/schema/table.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Table { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(id_: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_path`, and `to_cad` are never used [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl RelationGraph { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_path(&self, node1: u32, node2: u32) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mirrored` is never used [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/relation.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl RelationComparison { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 32 | pub fn mirrored(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cad` is never used [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl Instruction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 209 | pub fn to_cad(&self, file: File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_opcode` are never used [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:499:12 [INFO] [stdout] | [INFO] [stdout] 498 | impl Instruction { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 499 | pub fn new(name: &str, args: &Vec<(Option, String)>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | pub fn get_opcode(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cad` is never used [INFO] [stdout] --> common/src/dbobjects/scripting/script.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Script { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Host` is never used [INFO] [stdout] --> common/src/shell/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Host { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ShellErr` is never used [INFO] [stdout] --> common/src/shell/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ShellErr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShellErr` 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 `Shell` is never constructed [INFO] [stdout] --> common/src/shell/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Shell<'a, T> where T: Host { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `print_prompt`, and `main_loop` are never used [INFO] [stdout] --> common/src/shell/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a, T> Shell<'a, T> where T: Host { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(host_: &'a mut T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn start(&mut self) -> Result<(), ShellErr> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn print_prompt(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn main_loop(&mut self) -> Result<(), ShellErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseErr` is never used [INFO] [stdout] --> common/src/shell/parser.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ParseErr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` 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 `Parser` is never constructed [INFO] [stdout] --> common/src/shell/parser.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lex` and `parse` are never used [INFO] [stdout] --> common/src/shell/parser.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 16 | fn lex(&self, command: &str) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn parse(&mut self, code: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> common/src/shell/parser.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_string` is never used [INFO] [stdout] --> common/src/shell/parser.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 55 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Command` is never used [INFO] [stdout] --> common/src/shell/command.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `staging` [INFO] [stdout] --> common/src/cadlang/compiler.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let staging = match parse(&tokens) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_staging` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> common/src/cadlang/cadscript/lexer.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | while let Some(c) = lex_iter.next() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/cadlang/cadscript/lexer.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | while let Some(mut c) = lex_iter.next() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn parse_labeled_args<'a>(tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result, ParseErr> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:76:55 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn parse_labeled_args<'a>(tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result, ParseErr> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut args = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | TokenVal::ArgLabel(label) => return Err(ParseErr::PositionalLabelMix), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:359:22 [INFO] [stdout] | [INFO] [stdout] 359 | for (actual, expected) in instrs.iter().zip(&expected) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instrs` [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | let instrs = parser::parse(tokens).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_instrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_table` [INFO] [stdout] --> common/src/cadlang/parser.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | let second_table = expect(tokens, &vec![TokenType::Identifier], info)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> common/src/cadlang/parser.rs:1362:13 [INFO] [stdout] | [INFO] [stdout] 1362 | let schema = parse(&tokens).expect("Parsing failed."); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> common/src/cadlang/backend.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | for (i, table) in &stage.tables { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> common/src/cadlang/backend.rs:294:47 [INFO] [stdout] | [INFO] [stdout] 294 | StagedAutoEntryType::Lookup { from, to } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> common/src/cadlang/backend.rs:294:53 [INFO] [stdout] | [INFO] [stdout] 294 | StagedAutoEntryType::Lookup { from, to } => { [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/cadlang/backend.rs:486:13 [INFO] [stdout] | [INFO] [stdout] 486 | let mut working_dir = Path::new("./test_data/cad_files/multi_file_solution/quotes.cad").parent().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> common/src/cadlang/staging.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 474 | let schema = parse(&tokens).expect("Parsing failed."); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_range` [INFO] [stdout] --> common/src/hbam2/bplustree.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | let in_range = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search` [INFO] [stdout] --> common/src/hbam2/view.rs:216:30 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn get_simple(&self, search: u16) -> Option> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Checking cadmus_hbam v0.1.0 (/opt/rustwide/workdir/cadmus_hbam) [INFO] [stdout] warning: unused variable: `source_type` [INFO] [stdout] --> common/src/hbam2/mod.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let source_type = &definition[0..=3]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typename` [INFO] [stdout] --> common/src/hbam2/mod.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let typename = &definition[start..=end]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> common/src/hbam2/mod.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | let mut args = Vec::::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/hbam2/mod.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | let mut args = Vec::::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> common/src/hbam2/mod.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn get_data<'a>(key: Key) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> common/src/hbam2/mod.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn set_keyvalue<'a>(key: Key, val: Value) -> Result<(), BPlusTreeErr> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> common/src/hbam2/mod.rs:416:35 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn set_keyvalue<'a>(key: Key, val: Value) -> Result<(), BPlusTreeErr> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_var(&self, name: &str) -> Option { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_global_var(&self, name: &str) -> Option { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn lookup_field(&self, reference: FieldReference) -> Result, String> { todo!() } [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ds` [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | let (ds, table, field) = (reference.data_source, reference.table_occurrence_id, reference.field_id); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> common/src/dbobjects/calculation/mod.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | Err(e) => return Err(format!("Field not found: {:?}", reference)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_frames_` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(num_frames_: usize, k_dist_: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_frames_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_dist_` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(num_frames_: usize, k_dist_: usize) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_dist_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn checked_write_page(page_id: usize) -> Option { todo!() } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn write_page(page_id: usize) -> PageWriteGuard { todo!() } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn read_page(page_id: usize) -> PageReadGuard { todo!() } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn flush_page(page_id: usize) -> bool { todo!() } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_pin_count(page_id: usize) -> Option { todo!() } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/lru_k.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn k_distance(&self, k: usize) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> common/src/dbobjects/file.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let code = std::fs::read_to_string(Path::new("test_data/cad_files/multi_file_solution/quotes.cad")).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_page` [INFO] [stdout] --> cadmus_hbam/src/storage/disk/mod.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let root_page = PAGE_SIZE * 1; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> cadmus_hbam/src/storage/disk/mod.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | fn delete_page(&self, page_id: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/error.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub type Result = core::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FrameID` is never used [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/frame.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type FrameID = usize; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Frame` is never constructed [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/frame.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferPoolManager` is never constructed [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BufferPoolManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl BufferPoolManager { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 12 | pub fn new(num_frames_: usize, k_dist_: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn new_page() -> usize { todo!() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub fn delete_page() -> usize { todo!() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | [INFO] [stdout] 20 | pub fn checked_write_page(page_id: usize) -> Option { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | [INFO] [stdout] 22 | pub fn write_page(page_id: usize) -> PageWriteGuard { todo!() } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | pub fn read_page(page_id: usize) -> PageReadGuard { todo!() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | pub fn flush_page(page_id: usize) -> bool { todo!() } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | pub fn get_pin_count(page_id: usize) -> Option { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PageGuard` is never used [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/page_guard.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait PageGuard { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageReadGuard` is never constructed [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/page_guard.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PageReadGuard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageWriteGuard` is never constructed [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/page_guard.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageWriteGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `history` and `is_evictable` are never read [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/lru_k.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | history: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub is_evictable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_history`, and `k_distance` are never used [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/lru_k.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(k: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn add_history(&mut self, timestamp: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn k_distance(&self, k: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Replacer` is never constructed [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/lru_k.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Replacer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `evict`, `record_access`, `set_evictable`, `remove`, and `len` are never used [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/lru_k.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Replacer { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 50 | pub fn new(k: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn evict(&mut self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn record_access(&mut self, frame_id_: FrameID) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn set_evictable(&mut self, frame_id_: FrameID, set_evictable: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn remove(&mut self, frame_id_: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> cadmus_hbam/src/storage/bplustree/error.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub type Result = core::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_page`, `read_page`, and `delete_page` are never used [INFO] [stdout] --> cadmus_hbam/src/storage/disk/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait DiskIO { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 13 | fn write_page(&mut self, page_id: usize, data: &[u8;4096]) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | fn read_page(&self, page_id: usize) -> Result<[u8;4096]>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | fn delete_page(&self, page_id: usize) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_path` is never read [INFO] [stdout] --> cadmus_hbam/src/storage/disk/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DiskManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 20 | pub file_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> cadmus_hbam/src/storage/disk/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl DiskManager { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(file_path: PathBuf) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cadmus_hbam/src/storage/disk/error.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | IOError(std::io::Error) [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - IOError(std::io::Error) [INFO] [stdout] 7 + IOError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChunkStorage` is never used [INFO] [stdout] --> cadmus_hbam/src/storage/disk/request.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ChunkStorage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Request` is never used [INFO] [stdout] --> cadmus_hbam/src/storage/disk/request.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scheduler` is never constructed [INFO] [stdout] --> cadmus_hbam/src/storage/disk/scheduler.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Scheduler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Root`, `Index`, and `Data` are never constructed [INFO] [stdout] --> cadmus_hbam/src/storage/page/header.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum PageType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 4 | Root, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Index, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | Data, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageType` 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: unused variable: `num_frames_` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(num_frames_: usize, k_dist_: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_frames_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k_dist_` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(num_frames_: usize, k_dist_: usize) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_dist_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageHeader` is never constructed [INFO] [stdout] --> cadmus_hbam/src/storage/page/header.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PageHeader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageHeader` 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 items `SIZE` and `from_bytes` are never used [INFO] [stdout] --> cadmus_hbam/src/storage/page/header.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 19 | impl PageHeader { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 20 | pub const SIZE: u64 = 20; [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub fn from_bytes(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Path` is never constructed [INFO] [stdout] --> cadmus_hbam/src/storage/path.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn checked_write_page(page_id: usize) -> Option { todo!() } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn write_page(page_id: usize) -> PageWriteGuard { todo!() } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn read_page(page_id: usize) -> PageReadGuard { todo!() } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn flush_page(page_id: usize) -> bool { todo!() } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_pin_count(page_id: usize) -> Option { todo!() } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/lru_k.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn k_distance(&self, k: usize) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_page` [INFO] [stdout] --> cadmus_hbam/src/storage/disk/mod.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let root_page = PAGE_SIZE * 1; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_id` [INFO] [stdout] --> cadmus_hbam/src/storage/disk/mod.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | fn delete_page(&self, page_id: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/error.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub type Result = core::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Frame` is never constructed [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/frame.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferPoolManager` is never constructed [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BufferPoolManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/manager.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl BufferPoolManager { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 12 | pub fn new(num_frames_: usize, k_dist_: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn new_page() -> usize { todo!() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub fn delete_page() -> usize { todo!() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | [INFO] [stdout] 20 | pub fn checked_write_page(page_id: usize) -> Option { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | [INFO] [stdout] 22 | pub fn write_page(page_id: usize) -> PageWriteGuard { todo!() } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | pub fn read_page(page_id: usize) -> PageReadGuard { todo!() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | pub fn flush_page(page_id: usize) -> bool { todo!() } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | pub fn get_pin_count(page_id: usize) -> Option { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PageGuard` is never used [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/page_guard.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait PageGuard { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageReadGuard` is never constructed [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/page_guard.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PageReadGuard { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageWriteGuard` is never constructed [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/page_guard.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageWriteGuard { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_size` is never read [INFO] [stdout] --> cadmus_hbam/src/buffer_pool/lru_k.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Replacer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | current_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> cadmus_hbam/src/storage/bplustree/error.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub type Result = core::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_page`, `read_page`, and `delete_page` are never used [INFO] [stdout] --> cadmus_hbam/src/storage/disk/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait DiskIO { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 13 | fn write_page(&mut self, page_id: usize, data: &[u8;4096]) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | fn read_page(&self, page_id: usize) -> Result<[u8;4096]>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | fn delete_page(&self, page_id: usize) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_path` is never read [INFO] [stdout] --> cadmus_hbam/src/storage/disk/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DiskManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 20 | pub file_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cadmus_hbam/src/storage/disk/error.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | IOError(std::io::Error) [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - IOError(std::io::Error) [INFO] [stdout] 7 + IOError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChunkStorage` is never used [INFO] [stdout] --> cadmus_hbam/src/storage/disk/request.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ChunkStorage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Request` is never used [INFO] [stdout] --> cadmus_hbam/src/storage/disk/request.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scheduler` is never constructed [INFO] [stdout] --> cadmus_hbam/src/storage/disk/scheduler.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Scheduler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Root` is never constructed [INFO] [stdout] --> cadmus_hbam/src/storage/page/header.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum PageType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 4 | Root, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageType` 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: fields `index`, `deleted`, `level`, `previous`, and `page_type` are never read [INFO] [stdout] --> cadmus_hbam/src/storage/page/header.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PageHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 11 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub deleted: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub level: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub previous: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub next: u32, [INFO] [stdout] 16 | pub page_type: PageType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageHeader` 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 constant `SIZE` is never used [INFO] [stdout] --> cadmus_hbam/src/storage/page/header.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 19 | impl PageHeader { [INFO] [stdout] | --------------- associated constant in this implementation [INFO] [stdout] 20 | pub const SIZE: u64 = 20; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Path` is never constructed [INFO] [stdout] --> cadmus_hbam/src/storage/path.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> common/src/dbobjects/schema/field.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> common/src/dbobjects/schema/field.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn to_cad(&self, file: &File, externs: &HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let start = self.nodes.iter() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn to_cad(&self, file: File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:209:38 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn to_cad(&self, file: File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:499:16 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn new(name: &str, args: &Vec<(Option, String)>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:499:28 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn new(name: &str, args: &Vec<(Option, String)>) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> common/src/dbobjects/scripting/script.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `externs` [INFO] [stdout] --> common/src/dbobjects/scripting/script.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> common/src/main.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | cli::Command::Test { file, tests } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `file: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tests` [INFO] [stdout] --> common/src/main.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | cli::Command::Test { file, tests } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `tests: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cadmus_file` [INFO] [stdout] --> common/src/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | cli::Command::Sync { cadmus_file, fmp_file } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `cadmus_file: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmp_file` [INFO] [stdout] --> common/src/main.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | cli::Command::Sync { cadmus_file, fmp_file } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `fmp_file: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_to_schema` is never used [INFO] [stdout] --> common/src/cadlang/compiler.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn compile_to_schema(code: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token` and `expected` are never read [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | UnexpectedToken { token: TokenVal, expected: Vec }, [INFO] [stdout] | --------------- ^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | InvalidLabel(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - InvalidLabel(String), [INFO] [stdout] 33 + InvalidLabel(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_labeled_arg` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn parse_labeled_arg<'a>(label: &'a TokenVal, tokens: &'a [TokenVal], info: &mut ParseInfo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `basic_parse_labels` is never used [INFO] [stdout] --> common/src/cadlang/cadscript/parser.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 365 | fn basic_parse_labels() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EndLoop` is never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/token.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) enum TokenVal { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | EndLoop, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenVal` 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: struct `Token` is never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/token.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> common/src/cadlang/cadscript/proto_instruction.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 23 | #[repr(u16)] pub enum ProtoInstruction { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 24 | PerformScript { script: ProtoScriptSelection, args: CalculationString }, [INFO] [stdout] 25 | SaveACopyAsXml, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | GoToNextField, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | GoToPreviousField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | DuplicateRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | DeleteRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | DeleteAllRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | InsertFromIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | InsertFromLastVisited, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | InsertCurrentDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | InsertCurrentTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | GoToRecordRequestPage { record: RecordSelection }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | GoToField, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | CheckSelection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | CheckRecord, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | CheckFoundSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 42 | UnsortRecords, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 43 | EnterFindMode, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | ShowAllRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 45 | ModifyLastFind, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 46 | OmitRecord, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | OmitMultipleRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | ShowOmmitedOnly, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | PerformFind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | ShowHideToolbars, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | ViewAs, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | AdjustWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | OpenHelp, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | OpenFile, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | CloseFile, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 56 | ImportRecords, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | ExportRecords, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 58 | SaveACopyAs, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | OpenManageDatabase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | SortRecords, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | RelookupFieldContents, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | EnterPreviewMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | PrintSetup, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | Print, [INFO] [stdout] 65 | ExitApplication, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | UndoRedo, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | Cut, [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | Copy, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | Paste, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | Clear, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 71 | SelectAll, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | RevertRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | EnterBrowserMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | InsertPicture, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 75 | SendEvent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 76 | InsertCurrentUserName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | InsertText, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | PauseResumeScript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 79 | SendMail, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 80 | SendDdeExecute, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 81 | DialPhone, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | Speak, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 83 | PerformApplescript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | If { condition: CalculationString }, [INFO] [stdout] | ^^ [INFO] [stdout] 85 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | EndIf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | GoToRelatedRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | CommitRecordsRequests, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | SetField { field: ProtoFieldSelection, value: CalculationString, repetition: CalculationString }, [INFO] [stdout] 93 | InsertCalculatedResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | FreezeWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 95 | RefreshWindow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 96 | ScrollWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 97 | NewFile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 98 | ChangePassword, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 99 | SetMultiUser, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 100 | AllowUserAbort, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 101 | SetErrorCapture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | ShowCustomDialog, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | OpenScriptWorkspace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | BlankLineComment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | HaltScript, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 106 | ReplaceFieldContents, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | ShowHideTextRuler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | Beep, [INFO] [stdout] | ^^^^ [INFO] [stdout] 109 | SetUseSystemFormats, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | RecoverFile, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 111 | SaveACopyAsAddOnPackage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | SetZoomLevel, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 113 | CopyAllRecordsRequests, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | GoToPortalRow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 115 | CopyRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | FluchCacheToDisk, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 117 | ExitScript { value: CalculationString }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 118 | DeletePortalRow, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 119 | OpenPreferences, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 120 | CorrectWord, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 121 | SpellingOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 122 | SelectDictionaries, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | EditUserDictionary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | OpenUrl, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 125 | OpenManageValueLists, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | OpenSharing, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 127 | OpenFileOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | AllowFormattingBar, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 129 | SetNextSerialValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | ExecuteSql, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 131 | OpenHosts, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 132 | MoveResizeWindow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | ArrangeAllWindows, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 134 | CloseWindow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 135 | NewWindow, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 136 | SelectWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 137 | SetWindowTitle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 138 | ElseIf { condition: CalculationString }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 139 | ConstrainFoundSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 140 | ExtendFoundSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 141 | PerformFindReplace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | OpenFindReplace, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | SetSelection, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 144 | InsertFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 145 | ExportFieldContents, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 146 | OpenRecordRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | AddAccount, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 148 | DeleteAccount, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 149 | ResetAccountPassword, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | EnableAccount, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 151 | Relogin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 152 | ConvertFile, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 153 | OpenManageDataSources, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 154 | SetVariable { name: String, value: CalculationString, repetition: CalculationString }, [INFO] [stdout] 155 | InstallMenuSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 156 | SaveRecordsAsExcel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | SaveRecordsAsPdf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 158 | GoToObject, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 159 | SetWebViewer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 160 | SetFieldByName, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 161 | InstallOntimerScript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | OpenEditSavedFinds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 163 | PerformQuickFind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 164 | OpenManageLayouts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 165 | SaveRecordsAsSnapshotLink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | SortRecordsByField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | FindMatchingRecords, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 168 | ManageContainers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 169 | InstallPluginFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | InsertPdf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 171 | InsertAudioVideo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 172 | InsertFromUrl, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 173 | InsertFromDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | PerformScriptOnServer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 175 | OpenManageThemes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 176 | ShowHideMenubar, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 177 | RefreshObject, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 178 | SetLayoutObjectAnimation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 179 | ClosePopover, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 180 | OpenUploadToHost, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 181 | EnableTouchKeyboard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 182 | PerformJavascriptInWebViewer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 183 | CommentedOut, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 184 | AvplayerPlay, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 185 | AvplayerSetPlaybackState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 186 | AvplayerSetOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 187 | RefreshPortal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 188 | GetFolderPath, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 189 | TruncateTable, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 190 | OpenFavorites, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 191 | ConfigureRegionMonitorScript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | ConfigureLocalNotification, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 193 | GetFileExists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 194 | GetFileSize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 195 | CreateDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 196 | OpenDataFile, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 197 | WriteToDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | ReadFromDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 199 | GetDataFilePosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 200 | SetDataFilePosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 201 | CloseDataFile, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 202 | DeleteFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 203 | RenameFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 204 | SetErrorLogging, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 205 | ConfigureNfcReading, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 206 | ConfigureMachineLearningModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | ExecuteFilemakerDataApi, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 208 | OpenTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 209 | CommitTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 210 | RevertTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 211 | SetSessionIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 212 | SetDictionary, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 213 | PerformScriptOnServerWithCallback, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 214 | TriggerClarisConnectFlow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 215 | Assert { expr: CalculationString }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtoInstruction` 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: struct `Cursor` is never constructed [INFO] [stdout] --> common/src/cadlang/lexer.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Cursor { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Table`, `TableOccurrence`, `Field`, and `ValueList` are never constructed [INFO] [stdout] --> common/src/cadlang/parser.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum FMObjType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 24 | Table, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | TableOccurrence, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | Field, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | ValueList, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FMObjType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> common/src/cadlang/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | AutoIncrement, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | AutoEntry, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | Creation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | Modification, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | LastVisited, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 39 | Data, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | Lookup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | StartTable, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | RelatedTable, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | Validate, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | Always, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | OnEntry, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | AllowOverride, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | StrictDataType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 56 | NotEmpty, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | MemberOf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 60 | Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 61 | ValidationCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 62 | MaxChars, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | Global, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | Repetitions, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | OpenParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 95 | CloseParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 96 | OpenSquare, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | CloseSquare, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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 `RelationCriteria`, `UnknownTable`, `UnknownTableOccurrence`, `UnknownField`, `InvalidAssert`, and `UndefinedReference` are never constructed [INFO] [stdout] --> common/src/cadlang/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CompileErr { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 6 | UnexpectedToken { token: Token, expected: Vec}, [INFO] [stdout] 7 | RelationCriteria { token: Token }, // criteria must have uniform tables. [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | UnknownTable { token: Token }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | UnknownTableOccurrence { token: Token }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | UnknownField { token: Token }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | InvalidAssert { token: Token }, // Asserts can only be used in tests [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | UndefinedReference { construct: FMObjType, token: Token }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompileErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MemberOf`, `Range`, `Calculation`, and `MaxChars` are never constructed [INFO] [stdout] --> common/src/cadlang/staging.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum StagedValidationType { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | MemberOf(Token), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | Range{start: usize, end: usize}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | Calculation(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | MaxChars(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StagedValidationType` 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: variants `Lookup`, `Creation`, `Modification`, `LastVisited`, and `Data` are never constructed [INFO] [stdout] --> common/src/cadlang/staging.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum StagedAutoEntryType { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 47 | Lookup { from: Token, to: Token }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | Creation(AutoEntryDataPresets), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | Modification(AutoEntryDataPresets), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | LastVisited, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 51 | Data(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StagedAutoEntryType` 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 `decode_bytes` is never used [INFO] [stdout] --> common/src/util/dbcharconv.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn decode_bytes(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompile_calculation` is never used [INFO] [stdout] --> common/src/util/calc_bytecode.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decompile_calculation(bytecode: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Value` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub type Value = String; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_file` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn emit_file(file: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_full` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn print_full(&mut self, file: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_schema_contents` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_schema_contents(cache: &mut PageStore, file: &str) -> File { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn get_data<'a>(key: Key) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_keyvalue` is never used [INFO] [stdout] --> common/src/hbam2/mod.rs:416:8 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn set_keyvalue<'a>(key: Key, val: Value) -> Result<(), BPlusTreeErr> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CachedKeyLocation` is never constructed [INFO] [stdout] --> common/src/hbam2/kv_cache.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CachedKeyLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyValCache` is never constructed [INFO] [stdout] --> common/src/hbam2/kv_cache.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct KeyValCache { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common/src/hbam2/bplustree.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | KeyNotFound(Vec>), [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BPlusTreeErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - KeyNotFound(Vec>), [INFO] [stdout] 12 + KeyNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common/src/hbam2/bplustree.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | InvalidChunkComposition(ParseErr), [INFO] [stdout] | ----------------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BPlusTreeErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - InvalidChunkComposition(ParseErr), [INFO] [stdout] 16 + InvalidChunkComposition(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common/src/hbam2/bplustree.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | PageCycle(PageIndex) [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BPlusTreeErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - PageCycle(PageIndex) [INFO] [stdout] 17 + PageCycle(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PageNotFound` is never constructed [INFO] [stdout] --> common/src/hbam2/bplustree.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum BPlusTreeErr { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | PageNotFound(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BPlusTreeErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> common/src/hbam2/bplustree.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Cursor { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 21 | key: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_tree` is never used [INFO] [stdout] --> common/src/hbam2/bplustree.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn print_tree(cache: &mut PageStore, file: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Data` is never used [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | type Data = Vec; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Value<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyValue` is never constructed [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct KeyValue<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inspect` is never used [INFO] [stdout] --> common/src/hbam2/keyvalue.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn inspect(keyvalue: &KeyValue) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Root` is never constructed [INFO] [stdout] --> common/src/hbam2/page.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum PageType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 6 | Root, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageType` 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: fields `index`, `deleted`, `level`, and `previous` are never read [INFO] [stdout] --> common/src/hbam2/page.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PageHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub deleted: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub level: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub previous: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageHeader` 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: variant `InvalidPageType` is never constructed [INFO] [stdout] --> common/src/hbam2/page.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum PageHeaderErr { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 23 | InvalidPageType(u32, u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PageHeaderErr` 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 `get_root` is never used [INFO] [stdout] --> common/src/hbam2/page_store.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PageStore { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_root(&self, file: String) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> common/src/hbam2/chunk.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | UnrecognizedOpcode(u8), [INFO] [stdout] | ------------------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - UnrecognizedOpcode(u8), [INFO] [stdout] 33 + UnrecognizedOpcode(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnexpectedEndOfPage` and `MalformedChunk` are never constructed [INFO] [stdout] --> common/src/hbam2/chunk.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ParseErr { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 31 | EndChunk, [INFO] [stdout] 32 | UnexpectedEndOfPage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | UnrecognizedOpcode(u8), [INFO] [stdout] 34 | MalformedChunk, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offset` is never read [INFO] [stdout] --> common/src/hbam2/chunk.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct LocalChunk { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 40 | pub offset: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalChunk` 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 `from_csv` is never used [INFO] [stdout] --> common/src/hbam2/path.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl HBAMPath { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn from_csv(csv: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KeyType` is never used [INFO] [stdout] --> common/src/hbam2/view.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum KeyType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_simple_data` is never used [INFO] [stdout] --> common/src/hbam2/view.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> SubView<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_simple_data(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_simple` and `get_dir` are never used [INFO] [stdout] --> common/src/hbam2/view.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl<'a> View { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn get_simple(&self, search: u16) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn get_dir<'b>(&'a self, search: HBAMPath) -> Option> where 'a:'b { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NodeValue` is never used [INFO] [stdout] --> common/src/hbam2/generate/data_tree.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum NodeValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeValue` 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 `get_record_id`, `get_account_name`, `get_active_field_contents`, `get_active_fieldname`, and `get_host_ip_addr` are never used [INFO] [stdout] --> common/src/dbobjects/calculation/context.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait CalculationContext { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 5 | fn get_record_id(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | fn get_account_name(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | fn get_active_field_contents(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn get_active_fieldname(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn get_host_ip_addr(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Cos`, `Sin`, `Tan`, `Asin`, and `Atan` are never constructed [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Function { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Cos, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Sin, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Tan, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | Acos, [INFO] [stdout] 21 | Asin, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Atan, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` 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: variant `Global` is never constructed [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum TokenKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 28 | Variable, [INFO] [stdout] 29 | Global, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` 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: variants `Global`, `OpenSquare`, and `CloseSquare` are never constructed [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 104 | Variable(String), [INFO] [stdout] 105 | Global(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | OpenSquare, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 132 | CloseSquare, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> common/src/dbobjects/calculation/token.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn kind(&self) -> TokenKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ODBC` is never constructed [INFO] [stdout] --> common/src/dbobjects/data_source.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum DataSourceType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | ODBC, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataSourceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cad_with_externs` is never used [INFO] [stdout] --> common/src/dbobjects/file.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl File { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn to_cad_with_externs(&self, externs: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `datatype`, `repetitions`, `autoentry`, and `validation` are never used [INFO] [stdout] --> common/src/dbobjects/schema/field.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl Field { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn datatype(mut self, dtype_: DataType) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn repetitions(mut self, repetitions_: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn autoentry(mut self, definition_: AutoEntryType, nomodify_: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn validation(mut self, validation_: Validation) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TableID` is never used [INFO] [stdout] --> common/src/dbobjects/schema/table.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type TableID = u32; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `name` are never used [INFO] [stdout] --> common/src/dbobjects/schema/table.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Table { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(id_: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn name(mut self, name: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cad` is never used [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl Instruction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 209 | pub fn to_cad(&self, file: File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_opcode` are never used [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:499:12 [INFO] [stdout] | [INFO] [stdout] 498 | impl Instruction { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 499 | pub fn new(name: &str, args: &Vec<(Option, String)>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | pub fn get_opcode(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cad` is never used [INFO] [stdout] --> common/src/dbobjects/scripting/script.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Script { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 26 | pub fn to_cad(&self, file: &File, externs: HashMap) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Host` is never used [INFO] [stdout] --> common/src/shell/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Host { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ShellErr` is never used [INFO] [stdout] --> common/src/shell/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ShellErr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShellErr` 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 `Shell` is never constructed [INFO] [stdout] --> common/src/shell/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Shell<'a, T> where T: Host { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `print_prompt`, and `main_loop` are never used [INFO] [stdout] --> common/src/shell/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a, T> Shell<'a, T> where T: Host { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(host_: &'a mut T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn start(&mut self) -> Result<(), ShellErr> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn print_prompt(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn main_loop(&mut self) -> Result<(), ShellErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseErr` is never used [INFO] [stdout] --> common/src/shell/parser.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ParseErr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErr` 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 `Parser` is never constructed [INFO] [stdout] --> common/src/shell/parser.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lex` and `parse` are never used [INFO] [stdout] --> common/src/shell/parser.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 16 | fn lex(&self, command: &str) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn parse(&mut self, code: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> common/src/shell/parser.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_string` is never used [INFO] [stdout] --> common/src/shell/parser.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 55 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Command` is never used [INFO] [stdout] --> common/src/shell/command.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking cadmus_cli v0.1.0 (/opt/rustwide/workdir/cadmus_cli) [INFO] [stdout] warning: unused import: `cadlang` [INFO] [stdout] --> cadmus_cli/src/commands.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use common::{cadlang, hbam2}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::hbam2::get_schema_contents` [INFO] [stdout] --> cadmus_cli/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use common::hbam2::get_schema_contents; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cadlang` [INFO] [stdout] --> cadmus_cli/src/commands.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use common::{cadlang, hbam2}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::hbam2::get_schema_contents` [INFO] [stdout] --> cadmus_cli/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use common::hbam2::get_schema_contents; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cadmus_cli/src/error.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | FsErr(std::io::Error) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - FsErr(std::io::Error) [INFO] [stdout] 6 + FsErr(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cadmus_cli/src/error.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | FsErr(std::io::Error) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - FsErr(std::io::Error) [INFO] [stdout] 6 + FsErr(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cadmus_server v0.1.0 (/opt/rustwide/workdir/cadmus_server) [INFO] [stderr] Compiling cadmus_monitor v0.1.0 (/opt/rustwide/workdir/cadmus_monitor) [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking engineioxide v0.16.1 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking axum v0.8.1 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking socketioxide-core v0.16.0 [INFO] [stderr] Checking socketioxide-parser-common v0.16.1 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking socketioxide v0.16.1 [INFO] [stderr] Checking reqwest_cookie_store v0.8.0 [INFO] [stderr] Checking httpc-test v0.1.10 [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> cadmus_monitor/src/change.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `select` and `task::JoinHandle` [INFO] [stdout] --> cadmus_monitor/src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::{select, task::JoinHandle}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::UNIX_EPOCH` [INFO] [stdout] --> cadmus_monitor/src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{path::Path, time::UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dbobjects::file::File` and `hbam2` [INFO] [stdout] --> cadmus_monitor/src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use common::{dbobjects::file::File, hbam2}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DummyHandler` and `Handler` [INFO] [stdout] --> cadmus_monitor/src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use handler::{Handler, DummyHandler}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `change::Change` [INFO] [stdout] --> cadmus_monitor/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use change::Change; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> cadmus_monitor/src/change.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `select` and `task::JoinHandle` [INFO] [stdout] --> cadmus_monitor/src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::{select, task::JoinHandle}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::UNIX_EPOCH` [INFO] [stdout] --> cadmus_monitor/src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{path::Path, time::UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dbobjects::file::File` and `hbam2` [INFO] [stdout] --> cadmus_monitor/src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use common::{dbobjects::file::File, hbam2}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DummyHandler` and `Handler` [INFO] [stdout] --> cadmus_monitor/src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use handler::{Handler, DummyHandler}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `change::Change` [INFO] [stdout] --> cadmus_monitor/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use change::Change; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> cadmus_monitor/src/handler.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | fn handle_modification(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_file` [INFO] [stdout] --> cadmus_monitor/src/handler.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let current_file = ctx.get_schema_contents(path); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> cadmus_monitor/src/handler.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | fn handle_modification(&self, path: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_file` [INFO] [stdout] --> cadmus_monitor/src/handler.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let current_file = ctx.get_schema_contents(path); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HandlerOutput` is never used [INFO] [stdout] --> cadmus_monitor/src/handler.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type HandlerOutput<'a> = Pin> + Send + 'a>>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Io` and `Decode` are never constructed [INFO] [stdout] --> cadmus_monitor/src/handler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum HandlerError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 11 | Io(std::io::Error), [INFO] [stdout] | ^^ [INFO] [stdout] 12 | Decode(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandlerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_modification` is never used [INFO] [stdout] --> cadmus_monitor/src/handler.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Handler: Send + Sync + Clone { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 16 | fn handle_modification<'a>(&'a self, path: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HandlerOutput` is never used [INFO] [stdout] --> cadmus_monitor/src/handler.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type HandlerOutput<'a> = Pin> + Send + 'a>>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Io` and `Decode` are never constructed [INFO] [stdout] --> cadmus_monitor/src/handler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum HandlerError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 11 | Io(std::io::Error), [INFO] [stdout] | ^^ [INFO] [stdout] 12 | Decode(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandlerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_modification` is never used [INFO] [stdout] --> cadmus_monitor/src/handler.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Handler: Send + Sync + Clone { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 16 | fn handle_modification<'a>(&'a self, path: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking sqlb v0.4.0 [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> cadmus_server/examples/quick_dev.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::project::Project` [INFO] [stdout] --> cadmus_server/src/model/base.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::project::Project; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> cadmus_server/src/model/project.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{ctx::Ctx, model::{ModelManager, Error, Result}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> cadmus_server/src/model/user.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::model::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid` [INFO] [stdout] --> cadmus_server/src/model/user.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use uuid::{uuid, Uuid}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MonitorServer` [INFO] [stdout] --> cadmus_server/src/monitor_service/monitor.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | use monitor_proto::monitor_server::{Monitor, MonitorServer}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse` and `Response` [INFO] [stdout] --> cadmus_server/src/web/rest/project_rest.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{extract::State, response::{IntoResponse, Response}, Json}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> cadmus_server/src/web/rest/project_rest.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> cadmus_server/src/web/rest/project_rest.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ctx::Ctx, model::{self, project::{Project, ProjectBMC, ProjectForCreate, ProjectForUpdate}, ModelManager}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> cadmus_server/src/web/rest/error.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> cadmus_server/src/web/mw_auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> cadmus_server/src/web/routes_static.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::handler::{self, HandlerWithoutStateExt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cookie` [INFO] [stdout] --> cadmus_server/src/web/routes_login.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use tower_cookies::{Cookie, Cookies}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::error::ClientError` [INFO] [stdout] --> cadmus_server/src/web/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::error::ClientError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::OnceCell` [INFO] [stdout] --> cadmus_server/src/_dev_utils/dev_db.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_dev_utils::init_dev` and `model::ModelManager` [INFO] [stdout] --> cadmus_server/src/_dev_utils/dev_db.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{_dev_utils::init_dev, model::ModelManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::project::Project` [INFO] [stdout] --> cadmus_server/src/model/base.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::project::Project; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> cadmus_server/src/model/project.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{ctx::Ctx, model::{ModelManager, Error, Result}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> cadmus_server/src/model/user.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::model::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid` [INFO] [stdout] --> cadmus_server/src/model/user.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use uuid::{uuid, Uuid}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MonitorServer` [INFO] [stdout] --> cadmus_server/src/monitor_service/monitor.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | use monitor_proto::monitor_server::{Monitor, MonitorServer}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse` and `Response` [INFO] [stdout] --> cadmus_server/src/web/rest/project_rest.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{extract::State, response::{IntoResponse, Response}, Json}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> cadmus_server/src/web/rest/project_rest.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> cadmus_server/src/web/rest/project_rest.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ctx::Ctx, model::{self, project::{Project, ProjectBMC, ProjectForCreate, ProjectForUpdate}, ModelManager}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> cadmus_server/src/web/rest/error.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> cadmus_server/src/web/mw_auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> cadmus_server/src/web/routes_static.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::handler::{self, HandlerWithoutStateExt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cookie` [INFO] [stdout] --> cadmus_server/src/web/routes_login.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use tower_cookies::{Cookie, Cookies}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::error::ClientError` [INFO] [stdout] --> cadmus_server/src/web/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::error::ClientError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::OnceCell` [INFO] [stdout] --> cadmus_server/src/_dev_utils/dev_db.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_dev_utils::init_dev` and `model::ModelManager` [INFO] [stdout] --> cadmus_server/src/_dev_utils/dev_db.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{_dev_utils::init_dev, model::ModelManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> cadmus_server/src/model/base.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let sql = format!("SELECT * FROM {} WHERE id = $1", MC::TABLE); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> cadmus_server/src/model/base.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let sql = format!("SELECT * FROM {} WHERE id = $1", MC::TABLE); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> cadmus_server/src/web/mw_res_map.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ctx: Ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> cadmus_server/src/web/mw_res_map.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | uri: Uri, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_method` [INFO] [stdout] --> cadmus_server/src/web/mw_res_map.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | req_method: Method, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_error` [INFO] [stdout] --> cadmus_server/src/web/mw_res_map.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let client_error = client_status_error.unzip().1; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> cadmus_server/src/web/mw_res_map.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ctx: Ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> cadmus_server/src/web/mw_res_map.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | uri: Uri, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_method` [INFO] [stdout] --> cadmus_server/src/web/mw_res_map.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | req_method: Method, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_error` [INFO] [stdout] --> cadmus_server/src/web/mw_res_map.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let client_error = client_status_error.unzip().1; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SqlBuilder` [INFO] [stdout] --> cadmus_server/src/model/base.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlb::{HasFields, SqlBuilder}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SqlBuilder` [INFO] [stdout] --> cadmus_server/src/model/base.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlb::{HasFields, SqlBuilder}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> cadmus_server/src/ctx/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Ctx { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 7 | user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ctx` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `user_id` is never used [INFO] [stdout] --> cadmus_server/src/ctx/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Ctx { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 24 | pub fn user_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> cadmus_server/src/model/base.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn update(_ctx: &Ctx, mm: &ModelManager, id: i64, data: E) -> Result<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list` is never used [INFO] [stdout] --> cadmus_server/src/model/base.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn list(_ctx: &Ctx, mm: &ModelManager) -> Result> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> cadmus_server/src/model/base.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn delete(_ctx: &Ctx, mm: &ModelManager, id: i64) -> Result<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `list`, `update`, and `delete` are never used [INFO] [stdout] --> cadmus_server/src/model/project.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl ProjectBMC { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn list(ctx: &Ctx, mm: &ModelManager) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn update(ctx: &Ctx, mm: &ModelManager, id: i64, project_u: ProjectForUpdate) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn delete(ctx: &Ctx, mm: &ModelManager, id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `pwd_clear` are never read [INFO] [stdout] --> cadmus_server/src/model/user.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UserForCreate { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 22 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | pub pwd_clear: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserForInsert` is never constructed [INFO] [stdout] --> cadmus_server/src/model/user.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct UserForInsert { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get` and `update_pwd` are never used [INFO] [stdout] --> cadmus_server/src/model/user.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 61 | impl UserBMC { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 62 | pub async fn get(ctx: &Ctx, mm: &ModelManager, id: i64) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn update_pwd(ctx: &Ctx, mm: &ModelManager, id: i64, pwd_clear: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyServiceImpl` is never constructed [INFO] [stdout] --> cadmus_server/src/monitor_service/monitor.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct MyServiceImpl; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyServiceImpl` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cadmus_server/src/utils/error.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | DateFailParse(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - DateFailParse(String), [INFO] [stdout] 6 + DateFailParse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `routes` is never used [INFO] [stdout] --> cadmus_server/src/web/rest/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn routes(mm: ModelManager) -> Router { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_project` is never used [INFO] [stdout] --> cadmus_server/src/web/rest/project_rest.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn create_project( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_projects` is never used [INFO] [stdout] --> cadmus_server/src/web/rest/project_rest.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn list_projects(mm: ModelManager, ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_project` is never used [INFO] [stdout] --> cadmus_server/src/web/rest/project_rest.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn update_project( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> cadmus_server/src/ctx/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Ctx { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 7 | user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ctx` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `user_id` is never used [INFO] [stdout] --> cadmus_server/src/ctx/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Ctx { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 24 | pub fn user_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> cadmus_server/src/model/base.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn update(_ctx: &Ctx, mm: &ModelManager, id: i64, data: E) -> Result<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list` is never used [INFO] [stdout] --> cadmus_server/src/model/base.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn list(_ctx: &Ctx, mm: &ModelManager) -> Result> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> cadmus_server/src/model/base.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn delete(_ctx: &Ctx, mm: &ModelManager, id: i64) -> Result<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `list`, `update`, and `delete` are never used [INFO] [stdout] --> cadmus_server/src/model/project.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl ProjectBMC { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn list(ctx: &Ctx, mm: &ModelManager) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn update(ctx: &Ctx, mm: &ModelManager, id: i64, project_u: ProjectForUpdate) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn delete(ctx: &Ctx, mm: &ModelManager, id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `pwd_clear` are never read [INFO] [stdout] --> cadmus_server/src/model/user.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UserForCreate { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 22 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | pub pwd_clear: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserForInsert` is never constructed [INFO] [stdout] --> cadmus_server/src/model/user.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct UserForInsert { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get` and `update_pwd` are never used [INFO] [stdout] --> cadmus_server/src/model/user.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 61 | impl UserBMC { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 62 | pub async fn get(ctx: &Ctx, mm: &ModelManager, id: i64) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn update_pwd(ctx: &Ctx, mm: &ModelManager, id: i64, pwd_clear: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyServiceImpl` is never constructed [INFO] [stdout] --> cadmus_server/src/monitor_service/monitor.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct MyServiceImpl; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyServiceImpl` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> cadmus_server/src/utils/error.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | DateFailParse(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - DateFailParse(String), [INFO] [stdout] 6 + DateFailParse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `routes` is never used [INFO] [stdout] --> cadmus_server/src/web/rest/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn routes(mm: ModelManager) -> Router { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_project` is never used [INFO] [stdout] --> cadmus_server/src/web/rest/project_rest.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn create_project( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_projects` is never used [INFO] [stdout] --> cadmus_server/src/web/rest/project_rest.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn list_projects(mm: ModelManager, ctx: Ctx) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_project` is never used [INFO] [stdout] --> cadmus_server/src/web/rest/project_rest.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn update_project( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 42s [INFO] running `Command { std: "docker" "inspect" "5fc455e402ca7b1a40e777c959ebf662465ac5afa8d460386d86801bda9691ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fc455e402ca7b1a40e777c959ebf662465ac5afa8d460386d86801bda9691ab", kill_on_drop: false }` [INFO] [stdout] 5fc455e402ca7b1a40e777c959ebf662465ac5afa8d460386d86801bda9691ab