[INFO] cloning repository https://github.com/lekoOwO/leko-mattermost-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lekoOwO/leko-mattermost-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlekoOwO%2Fleko-mattermost-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlekoOwO%2Fleko-mattermost-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a5cbc45d471c7a46610d17c06ddb887048f118f [INFO] checking lekoOwO/leko-mattermost-bot against master#bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3 for pr-149328 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FlekoOwO%2Fleko-mattermost-bot" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/lekoOwO/leko-mattermost-bot [INFO] finished tweaking git repo https://github.com/lekoOwO/leko-mattermost-bot [INFO] tweaked toml for git repo https://github.com/lekoOwO/leko-mattermost-bot written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lekoOwO/leko-mattermost-bot on toolchain bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lekoOwO/leko-mattermost-bot 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" "+bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockito v1.7.1 [INFO] [stderr] Downloaded warp v0.4.2 [INFO] [stderr] Downloaded aws-lc-rs v1.15.3 [INFO] [stderr] Downloaded aws-lc-sys v0.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7666056944c5b7ba3411d817ff4e26d37df14254b410d7bccb601b28208bf324 [INFO] running `Command { std: "docker" "start" "-a" "7666056944c5b7ba3411d817ff4e26d37df14254b410d7bccb601b28208bf324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7666056944c5b7ba3411d817ff4e26d37df14254b410d7bccb601b28208bf324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7666056944c5b7ba3411d817ff4e26d37df14254b410d7bccb601b28208bf324", kill_on_drop: false }` [INFO] [stdout] 7666056944c5b7ba3411d817ff4e26d37df14254b410d7bccb601b28208bf324 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20a1129d862462c0cb07a63b0a4743a4490904e22bf95cb0dcf3889757d05899 [INFO] running `Command { std: "docker" "start" "-a" "20a1129d862462c0cb07a63b0a4743a4490904e22bf95cb0dcf3889757d05899", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling aws-lc-rs v1.15.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling zmij v1.0.16 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking colored v3.1.1 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Compiling aws-lc-sys v0.36.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [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 serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking warp v0.4.2 [INFO] [stderr] Checking mockito v1.7.1 [INFO] [stderr] Checking reqwest v0.13.1 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [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 leko-mattermost-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `DEFAULT_VERSION` is never used [INFO] [stdout] --> src/constants.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub const DEFAULT_VERSION: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MERCHANT_NAME_LENGTH` is never used [INFO] [stdout] --> src/constants.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub const MAX_MERCHANT_NAME_LENGTH: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DESCRIPTION_LENGTH` is never used [INFO] [stdout] --> src/constants.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const MAX_DESCRIPTION_LENGTH: usize = 500; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_METADATA_LENGTH` is never used [INFO] [stdout] --> src/constants.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub const MAX_METADATA_LENGTH: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ADJUSTMENTS_LENGTH` is never used [INFO] [stdout] --> src/constants.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const MAX_ADJUSTMENTS_LENGTH: usize = 3000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_YAML_SIZE` is never used [INFO] [stdout] --> src/constants.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub const MAX_YAML_SIZE: usize = 10_000; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_price_decimal` is never used [INFO] [stdout] --> src/constants.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn max_price_decimal() -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rust_log` is never read [INFO] [stdout] --> src/env.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct EnvConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub rust_log: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnvConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `in_channel_json_reply` is never used [INFO] [stdout] --> src/handlers/reply_helpers.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn in_channel_json_reply( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_form` is never used [INFO] [stdout] --> src/handlers/reply_helpers.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl SlashCommandParams { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 140 | /// 從表單中建立 SlashCommandParams [INFO] [stdout] 141 | pub fn from_form(form: &HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Emoji` is never constructed [INFO] [stdout] --> src/mattermost.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Emoji { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_emoji_by_name` is never used [INFO] [stdout] --> src/mattermost.rs:415:18 [INFO] [stdout] | [INFO] [stdout] 192 | impl MattermostClient { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 415 | pub async fn get_emoji_by_name(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TooLong` and `Custom` are never constructed [INFO] [stdout] --> src/validation.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ValidationError { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | TooLong { field: String, max_length: usize }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | Custom { message: String }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `validate_merchant_name`, `validate_description`, `validate_metadata`, `validate_adjustments`, and `validate_group_buy_form` are never used [INFO] [stdout] --> src/validation.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl GroupBuyValidator { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 56 | /// 驗證商家名稱 [INFO] [stdout] 57 | pub fn validate_merchant_name(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn validate_description(desc: Option<&str>) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn validate_metadata(metadata: Option<&str>) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn validate_adjustments(adjustments: Option<&str>) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn validate_group_buy_form( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidatedGroupBuyForm` is never constructed [INFO] [stdout] --> src/validation.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct ValidatedGroupBuyForm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_VERSION` is never used [INFO] [stdout] --> src/constants.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub const DEFAULT_VERSION: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_YAML_SIZE` is never used [INFO] [stdout] --> src/constants.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub const MAX_YAML_SIZE: usize = 10_000; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_price_decimal` is never used [INFO] [stdout] --> src/constants.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn max_price_decimal() -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rust_log` is never read [INFO] [stdout] --> src/env.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct EnvConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub rust_log: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnvConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `in_channel_json_reply` is never used [INFO] [stdout] --> src/handlers/reply_helpers.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn in_channel_json_reply( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Emoji` is never constructed [INFO] [stdout] --> src/mattermost.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Emoji { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_emoji_by_name` is never used [INFO] [stdout] --> src/mattermost.rs:415:18 [INFO] [stdout] | [INFO] [stdout] 192 | impl MattermostClient { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 415 | pub async fn get_emoji_by_name(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_mock_channel` and `as_any` are never used [INFO] [stdout] --> src/test_utils.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 29 | impl MockMattermostService { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn add_mock_channel(&self, id: &str, channel_type: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn as_any(&self) -> &dyn std::any::Any { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Custom` is never constructed [INFO] [stdout] --> src/validation.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ValidationError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Custom { message: String }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationError` 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] running `Command { std: "docker" "inspect" "20a1129d862462c0cb07a63b0a4743a4490904e22bf95cb0dcf3889757d05899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20a1129d862462c0cb07a63b0a4743a4490904e22bf95cb0dcf3889757d05899", kill_on_drop: false }` [INFO] [stdout] 20a1129d862462c0cb07a63b0a4743a4490904e22bf95cb0dcf3889757d05899