[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] 654fdf749b20e7be6ec0d675d2a4213fd8bfda0a [INFO] checking Rasmus20B/Cadmus against try#0fe3684930279e4d3be3aca66b30f82946ce9ac2 for pr-138340 [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 0fe3684930279e4d3be3aca66b30f82946ce9ac2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "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" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c1651fb7736858890a5605897baf7802547c27deb8f365be1b5cc93d82a6e72 [INFO] running `Command { std: "docker" "start" "-a" "5c1651fb7736858890a5605897baf7802547c27deb8f365be1b5cc93d82a6e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c1651fb7736858890a5605897baf7802547c27deb8f365be1b5cc93d82a6e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c1651fb7736858890a5605897baf7802547c27deb8f365be1b5cc93d82a6e72", kill_on_drop: false }` [INFO] [stdout] 5c1651fb7736858890a5605897baf7802547c27deb8f365be1b5cc93d82a6e72 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db9c9ca00b24598414415621aedf5f16fea01ec3a155dac3136a069fb32a3f0a [INFO] running `Command { std: "docker" "start" "-a" "db9c9ca00b24598414415621aedf5f16fea01ec3a155dac3136a069fb32a3f0a", 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 autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ring v0.17.13 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Checking time v0.3.39 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking data-encoding v2.8.0 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking sdd v3.0.7 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [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 zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling displaydoc v0.2.5 [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] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling sqlb-macros v0.4.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking scc v2.3.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking pin-project v1.1.9 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Checking base64-url v3.0.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking inotify v0.11.0 [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 cadmus_cli v0.1.0 (/opt/rustwide/workdir/cadmus_cli) [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking notify v8.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking tracing-subscriber v0.3.19 [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: `std::path::Path` [INFO] [stdout] --> common/src/dbobjects/file.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `relation::Relation` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | 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] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [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: `std::path::Path` [INFO] [stdout] --> common/src/dbobjects/file.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `relation::Relation` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | 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:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | ...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] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking publicsuffix v2.3.0 [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: `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: `start` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | 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: `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 tungstenite v0.26.2 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> common/src/dbobjects/schema/relationgraph/graph.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | 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: `name` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:490:16 [INFO] [stdout] | [INFO] [stdout] 490 | 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:490:28 [INFO] [stdout] | [INFO] [stdout] 490 | 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] [stderr] Checking cookie_store v0.21.1 [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: `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] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking axum-core v0.5.0 [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> common/src/dbobjects/scripting/instructions.rs:490:16 [INFO] [stdout] | [INFO] [stdout] 490 | 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:490:28 [INFO] [stdout] | [INFO] [stdout] 490 | 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: `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:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | 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:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | 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:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | 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:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | 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:403:21 [INFO] [stdout] | [INFO] [stdout] 403 | 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:407:25 [INFO] [stdout] | [INFO] [stdout] 407 | 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:407:35 [INFO] [stdout] | [INFO] [stdout] 407 | 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:397:1 [INFO] [stdout] | [INFO] [stdout] 397 | 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:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | 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:407:1 [INFO] [stdout] | [INFO] [stdout] 407 | 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: 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: `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] [stderr] Compiling sqlx-core v0.7.4 [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:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | 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:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | 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:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | 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:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | 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:403:21 [INFO] [stdout] | [INFO] [stdout] 403 | 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:407:25 [INFO] [stdout] | [INFO] [stdout] 407 | 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:407:35 [INFO] [stdout] | [INFO] [stdout] 407 | 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:397:1 [INFO] [stdout] | [INFO] [stdout] 397 | 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:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | 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:407:1 [INFO] [stdout] | [INFO] [stdout] 407 | 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: 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: 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] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Checking tower-cookies v0.11.0 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Compiling tonic-build v0.12.3 [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] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking sqlb v0.4.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking engineioxide v0.16.1 [INFO] [stderr] Checking axum v0.8.1 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking reqwest_cookie_store v0.8.0 [INFO] [stderr] Checking socketioxide-core v0.16.0 [INFO] [stderr] Checking httpc-test v0.1.10 [INFO] [stderr] Checking socketioxide-parser-common v0.16.1 [INFO] [stderr] Checking socketioxide v0.16.1 [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: 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: 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: 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 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:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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 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:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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 `get` is never used [INFO] [stdout] --> cadmus_server/src/model/base.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn get(_ctx: &Ctx, mm: &ModelManager, id: i64) -> 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 `get`, `list`, `update`, and `delete` are never used [INFO] [stdout] --> cadmus_server/src/model/project.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 31 | impl ProjectBMC { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub async fn get(ctx: &Ctx, mm: &ModelManager, id: i64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn list(ctx: &Ctx, mm: &ModelManager) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn update(ctx: &Ctx, mm: &ModelManager, id: i64, project_u: ProjectForUpdate) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | 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: 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 `create` is never used [INFO] [stdout] --> cadmus_server/src/model/base.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn create(_ctx: &Ctx, mm: &ModelManager, data: E) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> cadmus_server/src/model/base.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn get(_ctx: &Ctx, mm: &ModelManager, id: i64) -> 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 `create`, `get`, `list`, `update`, and `delete` are never used [INFO] [stdout] --> cadmus_server/src/model/project.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 31 | impl ProjectBMC { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 32 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub async fn get(ctx: &Ctx, mm: &ModelManager, id: i64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn list(ctx: &Ctx, mm: &ModelManager) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn update(ctx: &Ctx, mm: &ModelManager, id: i64, project_u: ProjectForUpdate) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 25s [INFO] running `Command { std: "docker" "inspect" "db9c9ca00b24598414415621aedf5f16fea01ec3a155dac3136a069fb32a3f0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db9c9ca00b24598414415621aedf5f16fea01ec3a155dac3136a069fb32a3f0a", kill_on_drop: false }` [INFO] [stdout] db9c9ca00b24598414415621aedf5f16fea01ec3a155dac3136a069fb32a3f0a