[INFO] cloning repository https://github.com/a-dev-mobile/thread-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/a-dev-mobile/thread-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-dev-mobile%2Fthread-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-dev-mobile%2Fthread-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e16f5f9536487a2618faca1d681efdef97ec4e99 [INFO] checking a-dev-mobile/thread-api against master#ff086354c9fc93e1da1d2f4d255456624fbcd099 for pr-153513-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-dev-mobile%2Fthread-api" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/a-dev-mobile/thread-api [INFO] finished tweaking git repo https://github.com/a-dev-mobile/thread-api [INFO] tweaked toml for git repo https://github.com/a-dev-mobile/thread-api written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/a-dev-mobile/thread-api on toolchain ff086354c9fc93e1da1d2f4d255456624fbcd099 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff086354c9fc93e1da1d2f4d255456624fbcd099" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff086354c9fc93e1da1d2f4d255456624fbcd099" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 248 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding matchit v0.8.4 (available: v0.8.6) [INFO] [stderr] Adding strum v0.27.2 (available: v0.28.0) [INFO] [stderr] Adding strum_macros v0.27.2 (available: v0.28.0) [INFO] [stderr] Adding toml v0.9.12+spec-1.1.0 (available: v1.0.6+spec-1.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff086354c9fc93e1da1d2f4d255456624fbcd099" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded webpki-roots v0.26.11 [INFO] [stderr] Downloaded libredox v0.1.14 [INFO] [stderr] Downloaded redox_syscall v0.7.3 [INFO] [stderr] Downloaded rsa v0.9.10 [INFO] [stderr] Downloaded num-bigint-dig v0.8.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ff086354c9fc93e1da1d2f4d255456624fbcd099" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cfc9d60c7453543f3abfe12024b4d844c4b77218a3815d6b2fab731e6c2dfbb [INFO] running `Command { std: "docker" "start" "-a" "2cfc9d60c7453543f3abfe12024b4d844c4b77218a3815d6b2fab731e6c2dfbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cfc9d60c7453543f3abfe12024b4d844c4b77218a3815d6b2fab731e6c2dfbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cfc9d60c7453543f3abfe12024b4d844c4b77218a3815d6b2fab731e6c2dfbb", kill_on_drop: false }` [INFO] [stdout] 2cfc9d60c7453543f3abfe12024b4d844c4b77218a3815d6b2fab731e6c2dfbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ff086354c9fc93e1da1d2f4d255456624fbcd099" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63e8ab4b08ee5a454da55e130142a2f4ff897dbb7526135c6b512cf82f02effe [INFO] running `Command { std: "docker" "start" "-a" "63e8ab4b08ee5a454da55e130142a2f4ff897dbb7526135c6b512cf82f02effe", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking winnow v0.7.15 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking serde_spanned v1.0.4 [INFO] [stderr] Checking toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking num-conv v0.2.0 [INFO] [stderr] Checking time-core v0.1.8 [INFO] [stderr] Checking toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Checking toml v0.9.12+spec-1.1.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking thread_api v0.1.19 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/shared/database/migrations.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Executor, PgPool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/features/imperial/v1/info/handler.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let precision = params.precision; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_options_diameters_avg` [INFO] [stdout] --> src/features/imperial/v1/svg_dimensions/handlers/handler_get_svg_dimensions.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let text_options_diameters_avg = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_options_diameters_avg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/shared/database/migrations.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Executor, PgPool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_max` [INFO] [stdout] --> src/features/trapezoidal/common/calculators/additional_info.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let label_max = match language { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/features/trapezoidal/v1/svg_annotations/handlers/handler_get_svg_annotations.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | Extension(pool): Extension, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_options_default` [INFO] [stdout] --> src/features/trapezoidal/v1/svg_dimensions/handlers/handler_get_svg_dimensions.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let text_options_default = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_options_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_option_20_90_center_normal` [INFO] [stdout] --> src/features/trapezoidal/v1/svg_dimensions/handlers/handler_get_svg_dimensions.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let text_option_20_90_center_normal = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_option_20_90_center_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_option_40_0_end_bold` [INFO] [stdout] --> src/features/trapezoidal/v1/svg_dimensions/handlers/handler_get_svg_dimensions.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let text_option_40_0_end_bold = svg_service.text_option_40_0_end_bold(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_option_40_0_end_bold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/features/imperial/v1/info/handler.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let precision = params.precision; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_options_diameters_avg` [INFO] [stdout] --> src/features/imperial/v1/svg_dimensions/handlers/handler_get_svg_dimensions.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let text_options_diameters_avg = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_options_diameters_avg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `basic` is never used [INFO] [stdout] --> src/features/health/entity.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Health { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn basic(uptime: u64, version: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `settings` is never read [INFO] [stdout] --> src/features/health/service.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct HealthServiceImpl { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 18 | settings: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_major_diam_male` is never used [INFO] [stdout] --> src/features/imperial/v1/info/handler.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn calculate_major_diam_male(allowance: f64, d_basic: f64, td: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_major_diam_female` is never used [INFO] [stdout] --> src/features/imperial/v1/info/handler.rs:367:4 [INFO] [stdout] | [INFO] [stdout] 367 | fn calculate_major_diam_female(d_basic: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_pitch_diam_male` is never used [INFO] [stdout] --> src/features/imperial/v1/info/handler.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn calculate_pitch_diam_male(d_max: f64, pitch: f64, d_basic: f64, le: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_pitch_diam_female` is never used [INFO] [stdout] --> src/features/imperial/v1/info/handler.rs:379:4 [INFO] [stdout] | [INFO] [stdout] 379 | fn calculate_pitch_diam_female(d_basic: f64, pitch: f64, t_d2: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_minor_diam_female` is never used [INFO] [stdout] --> src/features/imperial/v1/info/handler.rs:397:4 [INFO] [stdout] | [INFO] [stdout] 397 | fn calculate_minor_diam_female(d_basic: f64, pitch: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUERY_IMPERIAL` is never used [INFO] [stdout] --> src/features/imperial/v2/info/handler.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const QUERY_IMPERIAL: &str = " [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadDataService` is never constructed [INFO] [stdout] --> src/features/pipe/v1/common/db.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ThreadDataService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadData` is never constructed [INFO] [stdout] --> src/features/pipe/v1/common/db.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ThreadData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/features/pipe/v1/common/db.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ThreadDataService { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn fetch_thread_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn extract_basic_diameters( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn extract_tolerances( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn extract_basic_dimensions(&self, row: &sqlx::postgres::PgRow) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn get_f64(&self, row: &sqlx::postgres::PgRow, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn get_tolerance(&self, row: &sqlx::postgres::PgRow, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypePipeAdditionalInfo` is never used [INFO] [stdout] --> src/features/pipe/v1/common/enums/type_pipe_additional_info.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TypePipeAdditionalInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypePipeDiameter` is never used [INFO] [stdout] --> src/features/pipe/v1/common/enums/type_pipe_diameter.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum TypePipeDiameter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelPipeDiameterBasic` is never constructed [INFO] [stdout] --> src/features/pipe/v1/common/models/model_pipe_diameter_basic.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ModelPipeDiameterBasic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelPipeOtherDimensions` is never constructed [INFO] [stdout] --> src/features/pipe/v1/common/models/model_pipe_other_dimensions.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ModelPipeOtherDimensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelPipeTolerance` is never constructed [INFO] [stdout] --> src/features/pipe/v1/common/models/model_pipe_tolerance.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ModelPipeTolerance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `p` is never read [INFO] [stdout] --> src/features/trapezoidal/common/models/model_trapezoidal_other_dimensions.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ModelTrapezoidalOtherDimensions { [INFO] [stdout] | ------------------------------- field in this struct [INFO] [stdout] 3 | pub p: f64, // Pitch [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelTrapezoidalOtherDimensions` 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 `ei_d4` is never read [INFO] [stdout] --> src/features/trapezoidal/common/models/model_trapezoidal_tolerance.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ModelTrapezoidalTolerance { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub ei_d4: f64, // Lower deviation for Major diameter (female) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelTrapezoidalTolerance` 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 `health_check` is never used [INFO] [stdout] --> src/shared/database/connection.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl PostgresConnection { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn health_check(&self) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_pending_migrations` is never used [INFO] [stdout] --> src/shared/database/migrations.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn check_pending_migrations(pool: &PgPool) -> Result<(), MigrateError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error` is never used [INFO] [stdout] --> src/shared/logging/macros.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn error(message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn` is never used [INFO] [stdout] --> src/shared/logging/macros.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn warn(message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `info` is never used [INFO] [stdout] --> src/shared/logging/macros.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn info(message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug` is never used [INFO] [stdout] --> src/shared/logging/macros.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn debug(message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `format` is never read [INFO] [stdout] --> src/shared/setting/models/app_config.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LogConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | pub level: String, [INFO] [stdout] 12 | pub format: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_local`, `is_dev`, and `is_prod` are never used [INFO] [stdout] --> src/shared/setting/models/app_env.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl AppEnv { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 25 | pub fn is_local(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_dev(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_prod(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `settings` and `health_service` are never read [INFO] [stdout] --> src/shared/setting/models/app_state.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 15 | pub settings: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub health_service: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Language` is never used [INFO] [stdout] --> src/shared/utils/language.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Language { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `code`, `is_russian`, and `is_english` are never used [INFO] [stdout] --> src/shared/utils/language.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Language { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 11 | /// Возвращает код языка [INFO] [stdout] 12 | pub fn code(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn is_russian(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn is_english(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LanguageUtils` is never constructed [INFO] [stdout] --> src/shared/utils/language.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct LanguageUtils; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/shared/utils/language.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl LanguageUtils { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn extract_from_headers(headers: &HeaderMap) -> Language { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn parse_accept_language(accept_language: &str) -> Language { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn localize_text(language: &Language, ru_text: &str, en_text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn localize_optional_text(language: &Language, ru_text: Option<&str>, en_text: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn default() -> Language { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn is_supported(lang_code: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn supported_languages() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label_max` [INFO] [stdout] --> src/features/trapezoidal/common/calculators/additional_info.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let label_max = match language { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/features/trapezoidal/v1/svg_annotations/handlers/handler_get_svg_annotations.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | Extension(pool): Extension, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_options_default` [INFO] [stdout] --> src/features/trapezoidal/v1/svg_dimensions/handlers/handler_get_svg_dimensions.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let text_options_default = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_options_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_option_20_90_center_normal` [INFO] [stdout] --> src/features/trapezoidal/v1/svg_dimensions/handlers/handler_get_svg_dimensions.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let text_option_20_90_center_normal = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_option_20_90_center_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_option_40_0_end_bold` [INFO] [stdout] --> src/features/trapezoidal/v1/svg_dimensions/handlers/handler_get_svg_dimensions.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let text_option_40_0_end_bold = svg_service.text_option_40_0_end_bold(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_option_40_0_end_bold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `basic` is never used [INFO] [stdout] --> src/features/health/entity.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Health { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn basic(uptime: u64, version: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `settings` is never read [INFO] [stdout] --> src/features/health/service.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct HealthServiceImpl { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 18 | settings: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_major_diam_male` is never used [INFO] [stdout] --> src/features/imperial/v1/info/handler.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn calculate_major_diam_male(allowance: f64, d_basic: f64, td: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_major_diam_female` is never used [INFO] [stdout] --> src/features/imperial/v1/info/handler.rs:367:4 [INFO] [stdout] | [INFO] [stdout] 367 | fn calculate_major_diam_female(d_basic: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_pitch_diam_male` is never used [INFO] [stdout] --> src/features/imperial/v1/info/handler.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn calculate_pitch_diam_male(d_max: f64, pitch: f64, d_basic: f64, le: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_pitch_diam_female` is never used [INFO] [stdout] --> src/features/imperial/v1/info/handler.rs:379:4 [INFO] [stdout] | [INFO] [stdout] 379 | fn calculate_pitch_diam_female(d_basic: f64, pitch: f64, t_d2: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_minor_diam_female` is never used [INFO] [stdout] --> src/features/imperial/v1/info/handler.rs:397:4 [INFO] [stdout] | [INFO] [stdout] 397 | fn calculate_minor_diam_female(d_basic: f64, pitch: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unified_thread_allowance` is never used [INFO] [stdout] --> src/features/imperial/v1/info/handler.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn unified_thread_allowance(d: f64, p: f64, le: f64, class: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUERY_IMPERIAL` is never used [INFO] [stdout] --> src/features/imperial/v2/info/handler.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const QUERY_IMPERIAL: &str = " [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadDataService` is never constructed [INFO] [stdout] --> src/features/pipe/v1/common/db.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ThreadDataService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadData` is never constructed [INFO] [stdout] --> src/features/pipe/v1/common/db.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ThreadData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/features/pipe/v1/common/db.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ThreadDataService { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn fetch_thread_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn extract_basic_diameters( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn extract_tolerances( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn extract_basic_dimensions(&self, row: &sqlx::postgres::PgRow) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn get_f64(&self, row: &sqlx::postgres::PgRow, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn get_tolerance(&self, row: &sqlx::postgres::PgRow, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypePipeAdditionalInfo` is never used [INFO] [stdout] --> src/features/pipe/v1/common/enums/type_pipe_additional_info.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TypePipeAdditionalInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypePipeDiameter` is never used [INFO] [stdout] --> src/features/pipe/v1/common/enums/type_pipe_diameter.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum TypePipeDiameter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelPipeDiameterBasic` is never constructed [INFO] [stdout] --> src/features/pipe/v1/common/models/model_pipe_diameter_basic.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ModelPipeDiameterBasic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelPipeOtherDimensions` is never constructed [INFO] [stdout] --> src/features/pipe/v1/common/models/model_pipe_other_dimensions.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ModelPipeOtherDimensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelPipeTolerance` is never constructed [INFO] [stdout] --> src/features/pipe/v1/common/models/model_pipe_tolerance.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ModelPipeTolerance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `p` is never read [INFO] [stdout] --> src/features/trapezoidal/common/models/model_trapezoidal_other_dimensions.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ModelTrapezoidalOtherDimensions { [INFO] [stdout] | ------------------------------- field in this struct [INFO] [stdout] 3 | pub p: f64, // Pitch [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelTrapezoidalOtherDimensions` 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 `ei_d4` is never read [INFO] [stdout] --> src/features/trapezoidal/common/models/model_trapezoidal_tolerance.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ModelTrapezoidalTolerance { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub ei_d4: f64, // Lower deviation for Major diameter (female) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelTrapezoidalTolerance` 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 `health_check` is never used [INFO] [stdout] --> src/shared/database/connection.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl PostgresConnection { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn health_check(&self) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_pending_migrations` is never used [INFO] [stdout] --> src/shared/database/migrations.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn check_pending_migrations(pool: &PgPool) -> Result<(), MigrateError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error` is never used [INFO] [stdout] --> src/shared/logging/macros.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn error(message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn` is never used [INFO] [stdout] --> src/shared/logging/macros.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn warn(message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `info` is never used [INFO] [stdout] --> src/shared/logging/macros.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn info(message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug` is never used [INFO] [stdout] --> src/shared/logging/macros.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn debug(message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `format` is never read [INFO] [stdout] --> src/shared/setting/models/app_config.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LogConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | pub level: String, [INFO] [stdout] 12 | pub format: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_local`, `is_dev`, and `is_prod` are never used [INFO] [stdout] --> src/shared/setting/models/app_env.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl AppEnv { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 25 | pub fn is_local(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_dev(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_prod(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `settings` and `health_service` are never read [INFO] [stdout] --> src/shared/setting/models/app_state.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 15 | pub settings: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub health_service: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Language` is never used [INFO] [stdout] --> src/shared/utils/language.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Language { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `code`, `is_russian`, and `is_english` are never used [INFO] [stdout] --> src/shared/utils/language.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Language { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 11 | /// Возвращает код языка [INFO] [stdout] 12 | pub fn code(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn is_russian(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn is_english(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LanguageUtils` is never constructed [INFO] [stdout] --> src/shared/utils/language.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct LanguageUtils; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/shared/utils/language.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl LanguageUtils { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn extract_from_headers(headers: &HeaderMap) -> Language { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn parse_accept_language(accept_language: &str) -> Language { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn localize_text(language: &Language, ru_text: &str, en_text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn localize_optional_text(language: &Language, ru_text: Option<&str>, en_text: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn default() -> Language { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn is_supported(lang_code: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn supported_languages() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 52s [INFO] running `Command { std: "docker" "inspect" "63e8ab4b08ee5a454da55e130142a2f4ff897dbb7526135c6b512cf82f02effe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63e8ab4b08ee5a454da55e130142a2f4ff897dbb7526135c6b512cf82f02effe", kill_on_drop: false }` [INFO] [stdout] 63e8ab4b08ee5a454da55e130142a2f4ff897dbb7526135c6b512cf82f02effe