[INFO] cloning repository https://github.com/rjandonirahmana/rustride [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rjandonirahmana/rustride" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjandonirahmana%2Frustride", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjandonirahmana%2Frustride'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d56533a077e9c2efd077539168ebd439b2c9baf7 [INFO] checking rjandonirahmana/rustride/d56533a077e9c2efd077539168ebd439b2c9baf7 against master#bfc05d6b072585dfd0c792ec1b8728c08a3511fe for pr-154149 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjandonirahmana%2Frustride" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rjandonirahmana/rustride [INFO] finished tweaking git repo https://github.com/rjandonirahmana/rustride [INFO] tweaked toml for git repo https://github.com/rjandonirahmana/rustride written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rjandonirahmana/rustride on toolchain bfc05d6b072585dfd0c792ec1b8728c08a3511fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfc05d6b072585dfd0c792ec1b8728c08a3511fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rjandonirahmana/rustride 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" "+bfc05d6b072585dfd0c792ec1b8728c08a3511fe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.113 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.113 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.63 [INFO] [stderr] Downloaded aws-smithy-http v0.63.6 [INFO] [stderr] Downloaded aws-smithy-query v0.60.15 [INFO] [stderr] Downloaded btoi v0.4.3 [INFO] [stderr] Downloaded frunk_proc_macros v0.1.4 [INFO] [stderr] Downloaded keyed_priority_queue v0.4.2 [INFO] [stderr] Downloaded mysql-common-derive v0.31.2 [INFO] [stderr] Downloaded frunk_derives v0.4.4 [INFO] [stderr] Downloaded frunk_core v0.4.4 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.60.20 [INFO] [stderr] Downloaded aws-smithy-checksums v0.64.6 [INFO] [stderr] Downloaded frunk v0.4.4 [INFO] [stderr] Downloaded subprocess v0.2.15 [INFO] [stderr] Downloaded aws-sdk-sso v1.96.0 [INFO] [stderr] Downloaded aws-sigv4 v1.4.2 [INFO] [stderr] Downloaded aws-smithy-runtime v1.10.3 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.98.0 [INFO] [stderr] Downloaded aws-config v1.8.15 [INFO] [stderr] Downloaded aws-sdk-sts v1.100.0 [INFO] [stderr] Downloaded mysql_common v0.32.4 [INFO] [stderr] Downloaded crc-fast v1.9.0 [INFO] [stderr] Downloaded mysql_async v0.34.2 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.11.6 [INFO] [stderr] Downloaded aws-smithy-types v1.4.7 [INFO] [stderr] Downloaded geohash v0.13.1 [INFO] [stderr] Downloaded aws-runtime v1.7.2 [INFO] [stderr] Downloaded aws-smithy-http-client v1.1.12 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.113 [INFO] [stderr] Downloaded aws-smithy-json v0.62.5 [INFO] [stderr] Downloaded aws-smithy-xml v0.60.15 [INFO] [stderr] Downloaded aws-types v1.3.14 [INFO] [stderr] Downloaded js-sys v0.3.90 [INFO] [stderr] Downloaded aws-smithy-observability v0.2.6 [INFO] [stderr] Downloaded aws-credential-types v1.2.14 [INFO] [stderr] Downloaded aws-smithy-async v1.2.14 [INFO] [stderr] Downloaded wasm-bindgen v0.2.113 [INFO] [stderr] Downloaded saturating v0.1.0 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.4 [INFO] [stderr] Downloaded tonic-build v0.13.1 [INFO] [stderr] Downloaded web-sys v0.3.90 [INFO] [stderr] Downloaded libz-sys v1.1.24 [INFO] [stderr] Downloaded aws-sdk-s3 v1.126.0 [INFO] [stderr] Downloaded openssl-src v300.5.5+3.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+bfc05d6b072585dfd0c792ec1b8728c08a3511fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f2a9b2a6ef2216811cb42860d52072af6ed43c44cc6f0f829724a3db4e3ea3b [INFO] running `Command { std: "docker" "start" "-a" "1f2a9b2a6ef2216811cb42860d52072af6ed43c44cc6f0f829724a3db4e3ea3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f2a9b2a6ef2216811cb42860d52072af6ed43c44cc6f0f829724a3db4e3ea3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f2a9b2a6ef2216811cb42860d52072af6ed43c44cc6f0f829724a3db4e3ea3b", kill_on_drop: false }` [INFO] [stdout] 1f2a9b2a6ef2216811cb42860d52072af6ed43c44cc6f0f829724a3db4e3ea3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+bfc05d6b072585dfd0c792ec1b8728c08a3511fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60c66ba7c343e96de6266706b6a5fa2ea121c9eddb6a69081b08d79d8946c2a5 [INFO] running `Command { std: "docker" "start" "-a" "60c66ba7c343e96de6266706b6a5fa2ea121c9eddb6a69081b08d79d8946c2a5", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Compiling aws-lc-rs v1.16.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ring v0.17.14 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling aws-lc-sys v0.38.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking uuid v1.21.0 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Compiling openssl-src v300.5.5+3.5.5 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Compiling aws-types v1.3.14 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Compiling frunk_core v0.4.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling libz-sys v1.1.24 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking aws-smithy-async v1.2.14 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Checking regex-lite v0.1.9 [INFO] [stderr] Checking aws-smithy-types v1.4.7 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.4 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Checking aws-smithy-runtime-api v1.11.6 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking aws-smithy-json v0.62.5 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling subprocess v0.2.15 [INFO] [stderr] Compiling bigdecimal v0.4.10 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking aws-smithy-http v0.63.6 [INFO] [stderr] Checking aws-credential-types v1.2.14 [INFO] [stderr] Checking aws-smithy-observability v0.2.6 [INFO] [stderr] Checking aws-smithy-xml v0.60.15 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Checking aws-sigv4 v1.4.2 [INFO] [stderr] Compiling frunk_proc_macros v0.1.4 [INFO] [stderr] Compiling frunk_derives v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking spin v0.10.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking aws-smithy-query v0.60.15 [INFO] [stderr] Checking crc-fast v1.9.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling mysql-common-derive v0.31.2 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling tonic-build v0.13.1 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking iri-string v0.7.11 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking keyed_priority_queue v0.4.2 [INFO] [stderr] Checking lru v0.16.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling ridehailing v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking geo-types v0.7.18 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking infer v0.16.0 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking geohash v0.13.1 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking ulid v1.2.1 [INFO] [stderr] Checking frunk v0.4.4 [INFO] [stderr] Checking aws-smithy-checksums v0.64.6 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Compiling mysql_common v0.32.4 [INFO] [stderr] Checking tonic v0.13.1 [INFO] [stderr] Checking redis v0.25.4 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking aws-smithy-http-client v1.1.12 [INFO] [stderr] Checking reqwest v0.13.2 [INFO] [stderr] Checking aws-smithy-runtime v1.10.3 [INFO] [stderr] Checking aws-runtime v1.7.2 [INFO] [stderr] Checking aws-sdk-sso v1.96.0 [INFO] [stderr] Checking aws-sdk-sts v1.100.0 [INFO] [stderr] Checking aws-sdk-ssooidc v1.98.0 [INFO] [stderr] Checking aws-sdk-s3 v1.126.0 [INFO] [stderr] Checking aws-config v1.8.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking mysql_async v0.34.2 [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/grpc/trip.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{pin::Pin, time::Duration}; [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: `time::Duration` [INFO] [stdout] --> src/grpc/trip.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{pin::Pin, time::Duration}; [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: `mysql_async::prelude::FromRow` [INFO] [stdout] --> src/repository/poi.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | use mysql_async::prelude::FromRow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grpc::order::is_order_active` [INFO] [stdout] --> src/service/order.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | grpc::order::is_order_active, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mysql_async::prelude::FromRow` [INFO] [stdout] --> src/repository/poi.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | use mysql_async::prelude::FromRow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grpc::order::is_order_active` [INFO] [stdout] --> src/service/order.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | grpc::order::is_order_active, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_repo` [INFO] [stdout] --> src/grpc/trip.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let user_repo = self.user_repo.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_repo` [INFO] [stdout] --> src/grpc/trip.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let user_repo = self.user_repo.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLEANUP_INTERVAL_SECS` is never used [INFO] [stdout] --> src/connections.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const CLEANUP_INTERVAL_SECS: u64 = 30; [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 `FANOUT_CONCURRENCY` is never used [INFO] [stdout] --> src/connections.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const FANOUT_CONCURRENCY: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dropped_events` is never read [INFO] [stdout] --> src/connections.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 122 | struct PubWorkers { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 125 | dropped_events: Arc, // shared dengan ConnectionManager [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `publish` is never used [INFO] [stdout] --> src/connections.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 128 | impl PubWorkers { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | async fn publish(&self, user_id: &str, bytes: ArcBytes, priority: Priority) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/connections.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl ConnectionManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 465 | pub fn send_to_drivers(&self, driver_ids: Vec, event: ArcEvent, priority: Priority) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | pub fn online_drivers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | pub fn online_users(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | pub fn dropped_events(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | pub fn critical_queued(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 543 | pub fn queue_depths(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | pub fn spawn_cleanup(self: &Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chat_svc` and `notif_svc` are never read [INFO] [stdout] --> src/context.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StreamContext [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub chat_svc: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | pub rideshare_svc: Arc>, [INFO] [stdout] 40 | pub notif_svc: Arc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connections` is never read [INFO] [stdout] --> src/grpc/message.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MessageServiceImpl { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub connections: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `estimate_price`, `cleanup_stale_drivers`, `count_active_drivers`, and `count_ready_drivers` are never used [INFO] [stdout] --> src/location.rs:432:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl LocationService { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 432 | pub async fn estimate_price( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 549 | pub async fn cleanup_stale_drivers(&self, service_type: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | pub async fn count_active_drivers(&self, service_type: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 710 | pub async fn count_ready_drivers(&self, service_type: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SERVICE_TYPES` is never used [INFO] [stdout] --> src/location.rs:732:7 [INFO] [stdout] | [INFO] [stdout] 732 | const SERVICE_TYPES: &[&str] = &["motor", "mobil", "food", "send", "nebeng"]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_cleanup_task` is never used [INFO] [stdout] --> src/location.rs:734:8 [INFO] [stdout] | [INFO] [stdout] 734 | pub fn spawn_cleanup_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_cleanup` is never used [INFO] [stdout] --> src/location.rs:757:10 [INFO] [stdout] | [INFO] [stdout] 757 | async fn run_cleanup(svc: &LocationService) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `col_opt` is never used [INFO] [stdout] --> src/repository/db.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn col_opt(row: &Row, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exec_first` is never used [INFO] [stdout] --> src/repository/db.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn exec_first + Send>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `read_at` are never read [INFO] [stdout] --> src/repository/notification.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Notification { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 12 | pub id: i64, // BIGINT AUTO_INCREMENT — tetap i64 [INFO] [stdout] 13 | pub user_id: String, // BINARY(16) → ULID string [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub read_at: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Notification` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unread_count` is never used [INFO] [stdout] --> src/repository/notification.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait NotificationRepositoryTrait: Send + Sync { [INFO] [stdout] | --------------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 50 | async fn unread_count(&self, user_id: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assign_driver`, `find_active_between`, and `get_by_user_id` are never used [INFO] [stdout] --> src/repository/order.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait OrderRepository: Send + Sync { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 30 | async fn assign_driver(&self, order_id: &str, driver_id: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | async fn find_active_between(&self, rider_id: &str, driver_id: &str) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | async fn get_by_user_id(&self, user_id: &str, limit: i64) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/repository/rideshare.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RideshareTrip { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 12 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | pub host_order_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub route_end_lat: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub route_end_lng: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub route_polyline: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub join_deadline: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RideshareTrip` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/repository/rideshare.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct RidesharePassenger { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 30 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 31 | pub trip_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | pub rider_id: String, [INFO] [stdout] 33 | pub pickup_lat: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | pub pickup_lng: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | pub pickup_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub dest_lat: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | pub dest_lng: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | pub dest_address: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | pub fare_estimate: i32, [INFO] [stdout] 40 | pub fare_final: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | pub distance_km: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | pub status: String, [INFO] [stdout] 43 | pub requested_at: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | pub accepted_at: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | pub picked_up_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | pub dropped_off_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub cancelled_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | pub cancel_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RidesharePassenger` 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: fields `host_order_id` and `route_polyline` are never read [INFO] [stdout] --> src/repository/rideshare.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct RideshareOpenItem { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 53 | pub id: String, [INFO] [stdout] 54 | pub host_order_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub route_polyline: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RideshareOpenItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_trip_status` is never used [INFO] [stdout] --> src/repository/rideshare.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 75 | pub trait RideshareRepositoryTrait: Send + Sync { [INFO] [stdout] | ------------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 90 | async fn update_trip_status(&self, trip_id: &str, status: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_drivers_by_ids` is never used [INFO] [stdout] --> src/repository/user.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait UserRepository: Send + Sync { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | async fn find_drivers_by_ids(&self, ids: &[String]) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/service/auth.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl AuthService { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connections` is never read [INFO] [stdout] --> src/service/notification.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct NotificationService { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 11 | pub notif_repo: Arc, [INFO] [stdout] 12 | pub connections: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push` is never used [INFO] [stdout] --> src/service/notification.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl NotificationService { [INFO] [stdout] | ----------------------------------------------------------------------- method in this implementation [INFO] [stdout] 16 | /// Push notif realtime ke user (dan simpan ke DB sekaligus) [INFO] [stdout] 17 | pub async fn push( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `notify_nearby_drivers` and `broadcast_driver_location` are never used [INFO] [stdout] --> src/service/order.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 99 | / impl OrderService [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | OR: OrderRepository + 'static, [INFO] [stdout] 102 | | UR: UserRepository + 'static, [INFO] [stdout] | |_________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 238 | pub async fn notify_nearby_drivers(&self, order: &Order) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | pub async fn broadcast_driver_location( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repo` is never read [INFO] [stdout] --> src/service/rideshare.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct RideshareService< [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub user_repo: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_to_ulid` is never used [INFO] [stdout] --> src/utils/ulid.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn bytes_to_ulid(b: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLEANUP_INTERVAL_SECS` is never used [INFO] [stdout] --> src/connections.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const CLEANUP_INTERVAL_SECS: u64 = 30; [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 `FANOUT_CONCURRENCY` is never used [INFO] [stdout] --> src/connections.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const FANOUT_CONCURRENCY: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dropped_events` is never read [INFO] [stdout] --> src/connections.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 122 | struct PubWorkers { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 125 | dropped_events: Arc, // shared dengan ConnectionManager [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `publish` is never used [INFO] [stdout] --> src/connections.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 128 | impl PubWorkers { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | async fn publish(&self, user_id: &str, bytes: ArcBytes, priority: Priority) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/connections.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl ConnectionManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 465 | pub fn send_to_drivers(&self, driver_ids: Vec, event: ArcEvent, priority: Priority) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | pub fn online_drivers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | pub fn online_users(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | pub fn dropped_events(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | pub fn critical_queued(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 543 | pub fn queue_depths(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | pub fn spawn_cleanup(self: &Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chat_svc` and `notif_svc` are never read [INFO] [stdout] --> src/context.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StreamContext [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub chat_svc: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | pub rideshare_svc: Arc>, [INFO] [stdout] 40 | pub notif_svc: Arc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connections` is never read [INFO] [stdout] --> src/grpc/message.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MessageServiceImpl { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub connections: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `estimate_price`, `calculate_fare`, `cleanup_stale_drivers`, `count_active_drivers`, and `count_ready_drivers` are never used [INFO] [stdout] --> src/location.rs:432:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl LocationService { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 432 | pub async fn estimate_price( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | fn calculate_fare(distance_m: f64, duration_sec: u64, service_type: &str, surge: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 549 | pub async fn cleanup_stale_drivers(&self, service_type: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | pub async fn count_active_drivers(&self, service_type: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 710 | pub async fn count_ready_drivers(&self, service_type: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CleanupReport` is never constructed [INFO] [stdout] --> src/location.rs:725:12 [INFO] [stdout] | [INFO] [stdout] 725 | pub struct CleanupReport { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SERVICE_TYPES` is never used [INFO] [stdout] --> src/location.rs:732:7 [INFO] [stdout] | [INFO] [stdout] 732 | const SERVICE_TYPES: &[&str] = &["motor", "mobil", "food", "send", "nebeng"]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_cleanup_task` is never used [INFO] [stdout] --> src/location.rs:734:8 [INFO] [stdout] | [INFO] [stdout] 734 | pub fn spawn_cleanup_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_cleanup` is never used [INFO] [stdout] --> src/location.rs:757:10 [INFO] [stdout] | [INFO] [stdout] 757 | async fn run_cleanup(svc: &LocationService) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `col_opt` is never used [INFO] [stdout] --> src/repository/db.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn col_opt(row: &Row, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exec_first` is never used [INFO] [stdout] --> src/repository/db.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn exec_first + Send>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `read_at` are never read [INFO] [stdout] --> src/repository/notification.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Notification { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 12 | pub id: i64, // BIGINT AUTO_INCREMENT — tetap i64 [INFO] [stdout] 13 | pub user_id: String, // BINARY(16) → ULID string [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub read_at: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Notification` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unread_count` is never used [INFO] [stdout] --> src/repository/notification.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait NotificationRepositoryTrait: Send + Sync { [INFO] [stdout] | --------------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 50 | async fn unread_count(&self, user_id: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assign_driver`, `find_active_between`, and `get_by_user_id` are never used [INFO] [stdout] --> src/repository/order.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait OrderRepository: Send + Sync { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 30 | async fn assign_driver(&self, order_id: &str, driver_id: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | async fn find_active_between(&self, rider_id: &str, driver_id: &str) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | async fn get_by_user_id(&self, user_id: &str, limit: i64) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/repository/rideshare.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RideshareTrip { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 12 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | pub host_order_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub route_end_lat: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub route_end_lng: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub route_polyline: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub join_deadline: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RideshareTrip` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/repository/rideshare.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct RidesharePassenger { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 30 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 31 | pub trip_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | pub rider_id: String, [INFO] [stdout] 33 | pub pickup_lat: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | pub pickup_lng: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | pub pickup_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub dest_lat: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | pub dest_lng: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | pub dest_address: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | pub fare_estimate: i32, [INFO] [stdout] 40 | pub fare_final: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | pub distance_km: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | pub status: String, [INFO] [stdout] 43 | pub requested_at: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | pub accepted_at: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | pub picked_up_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | pub dropped_off_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub cancelled_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | pub cancel_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RidesharePassenger` 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: fields `host_order_id` and `route_polyline` are never read [INFO] [stdout] --> src/repository/rideshare.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct RideshareOpenItem { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 53 | pub id: String, [INFO] [stdout] 54 | pub host_order_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub route_polyline: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RideshareOpenItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_trip_status` is never used [INFO] [stdout] --> src/repository/rideshare.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 75 | pub trait RideshareRepositoryTrait: Send + Sync { [INFO] [stdout] | ------------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 90 | async fn update_trip_status(&self, trip_id: &str, status: &str) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_drivers_by_ids` is never used [INFO] [stdout] --> src/repository/user.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait UserRepository: Send + Sync { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | async fn find_drivers_by_ids(&self, ids: &[String]) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/service/auth.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl AuthService { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connections` is never read [INFO] [stdout] --> src/service/notification.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct NotificationService { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 11 | pub notif_repo: Arc, [INFO] [stdout] 12 | pub connections: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push` is never used [INFO] [stdout] --> src/service/notification.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl NotificationService { [INFO] [stdout] | ----------------------------------------------------------------------- method in this implementation [INFO] [stdout] 16 | /// Push notif realtime ke user (dan simpan ke DB sekaligus) [INFO] [stdout] 17 | pub async fn push( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `notify_nearby_drivers` and `broadcast_driver_location` are never used [INFO] [stdout] --> src/service/order.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 99 | / impl OrderService [INFO] [stdout] 100 | | where [INFO] [stdout] 101 | | OR: OrderRepository + 'static, [INFO] [stdout] 102 | | UR: UserRepository + 'static, [INFO] [stdout] | |_________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 238 | pub async fn notify_nearby_drivers(&self, order: &Order) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | pub async fn broadcast_driver_location( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repo` is never read [INFO] [stdout] --> src/service/rideshare.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct RideshareService< [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub user_repo: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_to_ulid` is never used [INFO] [stdout] --> src/utils/ulid.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn bytes_to_ulid(b: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.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" "60c66ba7c343e96de6266706b6a5fa2ea121c9eddb6a69081b08d79d8946c2a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60c66ba7c343e96de6266706b6a5fa2ea121c9eddb6a69081b08d79d8946c2a5", kill_on_drop: false }` [INFO] [stdout] 60c66ba7c343e96de6266706b6a5fa2ea121c9eddb6a69081b08d79d8946c2a5