[INFO] cloning repository https://github.com/Comprise/test2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Comprise/test2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FComprise%2Ftest2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FComprise%2Ftest2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0868bb287879d3b7bfcbaa02482889d9cc8b208 [INFO] checking Comprise/test2 against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FComprise%2Ftest2" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Comprise/test2 [INFO] finished tweaking git repo https://github.com/Comprise/test2 [INFO] tweaked toml for git repo https://github.com/Comprise/test2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Comprise/test2 on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Comprise/test2 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" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18129f981fad4af553d4262d78e42c3cc5780890631a6fbf9502b79c199a2e10 [INFO] running `Command { std: "docker" "start" "-a" "18129f981fad4af553d4262d78e42c3cc5780890631a6fbf9502b79c199a2e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18129f981fad4af553d4262d78e42c3cc5780890631a6fbf9502b79c199a2e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18129f981fad4af553d4262d78e42c3cc5780890631a6fbf9502b79c199a2e10", kill_on_drop: false }` [INFO] [stdout] 18129f981fad4af553d4262d78e42c3cc5780890631a6fbf9502b79c199a2e10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4054b029d33977aef0be86b8ed78adae8ea33756bde3d872c17214ee2812b3b1 [INFO] running `Command { std: "docker" "start" "-a" "4054b029d33977aef0be86b8ed78adae8ea33756bde3d872c17214ee2812b3b1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking sqlformat v0.2.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking rc-box v1.3.0 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Compiling tokio-cron-scheduler v0.10.2 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking envy v0.4.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Checking cron v0.12.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking sqlx-sqlite v0.7.4 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking taxi-monitoring-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DialogueState` [INFO] [stdout] --> src/scenes/limit.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::state::{StateManager, DialogueState}; [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 import: `crate::enums::Tariff` [INFO] [stdout] --> src/services.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::Tariff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::integrations::yandex::YandexApi` [INFO] [stdout] --> src/services.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::integrations::yandex::YandexApi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/services.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dptree::case` [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | use dptree::case; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teloxide::dispatching::dialogue::GetChatId` [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | use teloxide::dispatching::dialogue::GetChatId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DialogueState` [INFO] [stdout] --> src/scenes/limit.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::state::{StateManager, DialogueState}; [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 import: `crate::enums::Tariff` [INFO] [stdout] --> src/services.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::enums::Tariff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::integrations::yandex::YandexApi` [INFO] [stdout] --> src/services.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::integrations::yandex::YandexApi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/services.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dptree::case` [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | use dptree::case; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teloxide::dispatching::dialogue::GetChatId` [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | use teloxide::dispatching::dialogue::GetChatId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONFIG` is never used [INFO] [stdout] --> src/config.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | static CONFIG: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub webhook_base_url: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub webhook_path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub webhook_secret: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub web_host: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub web_port: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub yandex_static_maps_api_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub two_gis_carrouting_api_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub db_log: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `global` is never used [INFO] [stdout] --> src/config.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn global() -> &'static Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ChangeTariff`, `ChangeStartPlace`, and `ChangeFinishPlace` are never constructed [INFO] [stdout] --> src/enums.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum TaxiMenu { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | ChangeTariff, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | ChangeStartPlace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | ChangeFinishPlace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaxiMenu` 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 `Tariff` is never used [INFO] [stdout] --> src/enums.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum Tariff { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `display_name` and `as_str` are never used [INFO] [stdout] --> src/enums.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Tariff { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 71 | pub fn display_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_static_map` is never used [INFO] [stdout] --> src/integrations/yandex/mod.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl YandexApi { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn get_static_map( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time` is never read [INFO] [stdout] --> src/integrations/yandex/mod.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct TaxiInfoResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 186 | pub time: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaxiInfoResponse` 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 `min_price` is never read [INFO] [stdout] --> src/integrations/yandex/mod.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct TaxiOption { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 192 | pub price: f64, [INFO] [stdout] 193 | pub min_price: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaxiOption` 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 `price` is never read [INFO] [stdout] --> src/state.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Limit { price: i32 }, [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DialogueState` 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: static `CONFIG` is never used [INFO] [stdout] --> src/config.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | static CONFIG: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub webhook_base_url: Url, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub webhook_path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub webhook_secret: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub web_host: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub web_port: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub yandex_static_maps_api_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub two_gis_carrouting_api_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub db_log: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `global` is never used [INFO] [stdout] --> src/config.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn global() -> &'static Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ChangeTariff`, `ChangeStartPlace`, and `ChangeFinishPlace` are never constructed [INFO] [stdout] --> src/enums.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum TaxiMenu { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | ChangeTariff, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | ChangeStartPlace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | ChangeFinishPlace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaxiMenu` 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 `Tariff` is never used [INFO] [stdout] --> src/enums.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum Tariff { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `display_name` and `as_str` are never used [INFO] [stdout] --> src/enums.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Tariff { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 71 | pub fn display_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_static_map` is never used [INFO] [stdout] --> src/integrations/yandex/mod.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl YandexApi { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn get_static_map( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time` is never read [INFO] [stdout] --> src/integrations/yandex/mod.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct TaxiInfoResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 186 | pub time: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaxiInfoResponse` 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 `min_price` is never read [INFO] [stdout] --> src/integrations/yandex/mod.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct TaxiOption { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 192 | pub price: f64, [INFO] [stdout] 193 | pub min_price: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaxiOption` 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 `price` is never read [INFO] [stdout] --> src/state.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Limit { price: i32 }, [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DialogueState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "4054b029d33977aef0be86b8ed78adae8ea33756bde3d872c17214ee2812b3b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4054b029d33977aef0be86b8ed78adae8ea33756bde3d872c17214ee2812b3b1", kill_on_drop: false }` [INFO] [stdout] 4054b029d33977aef0be86b8ed78adae8ea33756bde3d872c17214ee2812b3b1