[INFO] cloning repository https://github.com/alflotsu/sparrow-realtime
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alflotsu/sparrow-realtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falflotsu%2Fsparrow-realtime", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falflotsu%2Fsparrow-realtime'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aaaec94b75c199bd014916d6d37087f13d5e6f62
[INFO] checking alflotsu/sparrow-realtime against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falflotsu%2Fsparrow-realtime" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/alflotsu/sparrow-realtime
[INFO] finished tweaking git repo https://github.com/alflotsu/sparrow-realtime
[INFO] tweaked toml for git repo https://github.com/alflotsu/sparrow-realtime written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alflotsu/sparrow-realtime on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/alflotsu/sparrow-realtime 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" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded fcm v0.9.2
[INFO] [stderr] Downloaded firebase-rs v2.2.1
[INFO] [stderr] Downloaded redis v0.23.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 574abe9f06c108c356b9980fef917390f5ca981eb14e33002e5aa7f9a8210f2c
[INFO] running `Command { std: "docker" "start" "-a" "574abe9f06c108c356b9980fef917390f5ca981eb14e33002e5aa7f9a8210f2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "574abe9f06c108c356b9980fef917390f5ca981eb14e33002e5aa7f9a8210f2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "574abe9f06c108c356b9980fef917390f5ca981eb14e33002e5aa7f9a8210f2c", kill_on_drop: false }`
[INFO] [stdout] 574abe9f06c108c356b9980fef917390f5ca981eb14e33002e5aa7f9a8210f2c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] efbb04ac4551fe1044b691823c45a6199a9cabfd45d72b0f7418325055ff6dbf
[INFO] running `Command { std: "docker" "start" "-a" "efbb04ac4551fe1044b691823c45a6199a9cabfd45d72b0f7418325055ff6dbf", kill_on_drop: false }`
[INFO] [stderr] Checking parking_lot_core v0.9.11
[INFO] [stderr] Compiling tracing-attributes v0.1.30
[INFO] [stderr] Checking futures-util v0.3.31
[INFO] [stderr] Compiling openssl-sys v0.9.109
[INFO] [stderr] Checking serde v1.0.219
[INFO] [stderr] Checking bitflags v2.9.3
[INFO] [stderr] Compiling ring v0.17.14
[INFO] [stderr] Compiling openssl v0.10.73
[INFO] [stderr] Compiling openssl-macros v0.1.1
[INFO] [stderr] Compiling serde_json v1.0.143
[INFO] [stderr] Checking icu_normalizer v2.0.0
[INFO] [stderr] Compiling rustls v0.21.12
[INFO] [stderr] Checking rand_chacha v0.3.1
[INFO] [stderr] Checking rustls-native-certs v0.6.3
[INFO] [stderr] Compiling pin-project-internal v1.1.10
[INFO] [stderr] Checking iri-string v0.7.8
[INFO] [stderr] Checking parking_lot v0.12.4
[INFO] [stderr] Checking rustls-pki-types v1.12.0
[INFO] [stderr] Checking rand_core v0.9.3
[INFO] [stderr] Checking tracing-log v0.2.0
[INFO] [stderr] Checking rand v0.8.5
[INFO] [stderr] Checking tokio v1.47.1
[INFO] [stderr] Checking thread_local v1.1.9
[INFO] [stderr] Checking socket2 v0.4.10
[INFO] [stderr] Compiling thiserror-impl v1.0.69
[INFO] [stderr] Checking idna_adapter v1.2.1
[INFO] [stderr] Checking sha1_smol v1.0.1
[INFO] [stderr] Compiling native-tls v0.2.14
[INFO] [stderr] Checking tracing-subscriber v0.3.19
[INFO] [stderr] Checking tower-http v0.5.2
[INFO] [stderr] Checking uuid v1.18.0
[INFO] [stderr] Checking idna v1.1.0
[INFO] [stderr] Checking rand_chacha v0.9.0
[INFO] [stderr] Checking rand v0.9.2
[INFO] [stderr] Checking nanoid v0.4.0
[INFO] [stderr] Checking pin-project v1.1.10
[INFO] [stderr] Checking thiserror v1.0.69
[INFO] [stderr] Checking tracing v0.1.41
[INFO] [stderr] Checking futures-executor v0.3.31
[INFO] [stderr] Checking axum-core v0.4.5
[INFO] [stderr] Checking futures v0.3.31
[INFO] [stderr] Checking rustls-webpki v0.101.7
[INFO] [stderr] Checking sct v0.7.1
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Checking url v2.5.7
[INFO] [stderr] Checking chrono v0.4.41
[INFO] [stderr] Checking serde_path_to_error v0.1.17
[INFO] [stderr] Checking erased-serde v0.3.31
[INFO] [stderr] Checking tokio-util v0.7.16
[INFO] [stderr] Checking tower v0.5.2
[INFO] [stderr] Checking tokio-io-timeout v1.2.1
[INFO] [stderr] Checking h2 v0.3.27
[INFO] [stderr] Checking h2 v0.4.12
[INFO] [stderr] Checking combine v4.6.7
[INFO] [stderr] Checking tower-http v0.6.6
[INFO] [stderr] Checking tokio-rustls v0.24.1
[INFO] [stderr] Checking tokio-native-tls v0.3.1
[INFO] [stderr] Checking hyper v0.14.32
[INFO] [stderr] Checking hyper v1.7.0
[INFO] [stderr] Checking redis v0.23.3
[INFO] [stderr] Checking hyper-util v0.1.16
[INFO] [stderr] Checking hyper-tls v0.6.0
[INFO] [stderr] Checking axum v0.7.9
[INFO] [stderr] Checking hyper-timeout v0.4.1
[INFO] [stderr] Checking hyper-tls v0.5.0
[INFO] [stderr] Checking hyper-rustls v0.24.2
[INFO] [stderr] Checking reqwest v0.12.23
[INFO] [stderr] Checking reqwest v0.11.27
[INFO] [stderr] Checking eventsource-client v0.13.0
[INFO] [stderr] Checking firebase-rs v2.2.1
[INFO] [stderr] Checking fcm v0.9.2
[INFO] [stderr] Checking sparrow-realtime v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::services::cache_service::CacheService`
[INFO] [stdout] --> src/state.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | cache_service::CacheService,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CacheService` in `services::cache_service`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved imports `crate::services::cache_service::CacheService`, `crate::services::cache_service::CacheKeys`
[INFO] [stdout] --> src/services/driver_service.rs:14:31
[INFO] [stdout] |
[INFO] [stdout] 14 | services::cache_service::{CacheService, CacheKeys},
[INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ no `CacheKeys` in `services::cache_service`
[INFO] [stdout] | |
[INFO] [stdout] | no `CacheService` in `services::cache_service`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved imports `crate::services::cache_service::CacheKey`, `crate::services::cache_service::CacheKeys`, `crate::services::cache_service::CacheService`
[INFO] [stdout] --> src/services/job_service.rs:12:32
[INFO] [stdout] |
[INFO] [stdout] 12 | services::{cache_service::{CacheKey, CacheKeys, CacheService}, driver_service::{DriverOperations, DriverService}, messaging_serv...
[INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ no `CacheService` in `services::cache_service`
[INFO] [stdout] | | |
[INFO] [stdout] | | no `CacheKeys` in `services::cache_service`
[INFO] [stdout] | no `CacheKey` in `services::cache_service`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved imports `crate::services::cache_service::CacheKey`, `crate::services::cache_service::CacheService`
[INFO] [stdout] --> src/services/user_service.rs:12:32
[INFO] [stdout] |
[INFO] [stdout] 12 | services::{cache_service::{CacheKey, CacheService}, messaging_service::{self, NotificationService}},
[INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ no `CacheService` in `services::cache_service`
[INFO] [stdout] | |
[INFO] [stdout] | no `CacheKey` in `services::cache_service`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved imports `crate::services::cache_service::CacheService`, `crate::services::cache_service::CacheKeys`
[INFO] [stdout] --> src/services/messaging_service.rs:12:31
[INFO] [stdout] |
[INFO] [stdout] 12 | services::cache_service::{CacheService, CacheKeys},
[INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ no `CacheKeys` in `services::cache_service`
[INFO] [stdout] | |
[INFO] [stdout] | no `CacheService` in `services::cache_service`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `crate::services::cache_service::CacheService`
[INFO] [stdout] --> src/state.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | cache_service::CacheService,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CacheService` in `services::cache_service`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved imports `crate::services::cache_service::CacheService`, `crate::services::cache_service::CacheKeys`
[INFO] [stdout] --> src/services/driver_service.rs:14:31
[INFO] [stdout] |
[INFO] [stdout] 14 | services::cache_service::{CacheService, CacheKeys},
[INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ no `CacheKeys` in `services::cache_service`
[INFO] [stdout] | |
[INFO] [stdout] | no `CacheService` in `services::cache_service`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved imports `crate::services::cache_service::CacheKey`, `crate::services::cache_service::CacheKeys`, `crate::services::cache_service::CacheService`
[INFO] [stdout] --> src/services/job_service.rs:12:32
[INFO] [stdout] |
[INFO] [stdout] 12 | services::{cache_service::{CacheKey, CacheKeys, CacheService}, driver_service::{DriverOperations, DriverService}, messaging_serv...
[INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ no `CacheService` in `services::cache_service`
[INFO] [stdout] | | |
[INFO] [stdout] | | no `CacheKeys` in `services::cache_service`
[INFO] [stdout] | no `CacheKey` in `services::cache_service`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved imports `crate::services::cache_service::CacheKey`, `crate::services::cache_service::CacheService`
[INFO] [stdout] --> src/services/user_service.rs:12:32
[INFO] [stdout] |
[INFO] [stdout] 12 | services::{cache_service::{CacheKey, CacheService}, messaging_service::{self, NotificationService}},
[INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ no `CacheService` in `services::cache_service`
[INFO] [stdout] | |
[INFO] [stdout] | no `CacheKey` in `services::cache_service`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved imports `crate::services::cache_service::CacheService`, `crate::services::cache_service::CacheKeys`
[INFO] [stdout] --> src/services/messaging_service.rs:12:31
[INFO] [stdout] |
[INFO] [stdout] 12 | services::cache_service::{CacheService, CacheKeys},
[INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ no `CacheKeys` in `services::cache_service`
[INFO] [stdout] | |
[INFO] [stdout] | no `CacheService` in `services::cache_service`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `DateTime`
[INFO] [stdout] --> src/services/driver_service.rs:3:14
[INFO] [stdout] |
[INFO] [stdout] 3 | use chrono::{DateTime, Utc};
[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: `user::User`
[INFO] [stdout] --> src/services/messaging_service.rs:11:14
[INFO] [stdout] |
[INFO] [stdout] 11 | models::{user::User, driver::Driver, job::Job},
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `DateTime`
[INFO] [stdout] --> src/services/driver_service.rs:3:14
[INFO] [stdout] |
[INFO] [stdout] 3 | use chrono::{DateTime, Utc};
[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: `user::User`
[INFO] [stdout] --> src/services/messaging_service.rs:11:14
[INFO] [stdout] |
[INFO] [stdout] 11 | models::{user::User, driver::Driver, job::Job},
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout] --> src/utils/id_generator.rs:97:29
[INFO] [stdout] |
[INFO] [stdout] 97 | let mut rng = rand::thread_rng();
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout] --> src/utils/id_generator.rs:97:29
[INFO] [stdout] |
[INFO] [stdout] 97 | let mut rng = rand::thread_rng();
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/job_service.rs:241:13
[INFO] [stdout] |
[INFO] [stdout] 241 | for job_id in job_ids {
[INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] = note: all local variables must have a statically known size
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/job_service.rs:241:9
[INFO] [stdout] |
[INFO] [stdout] 241 | / for job_id in job_ids {
[INFO] [stdout] 242 | | if let Some(job) = self.get_job(&job_id).await? {
[INFO] [stdout] 243 | | jobs.push(job);
[INFO] [stdout] 244 | | }
[INFO] [stdout] 245 | | }
[INFO] [stdout] | |_________^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `std::option::Option`
[INFO] [stdout] --> /rustc/54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47/library/core/src/option.rs:600:0
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/job_service.rs:267:13
[INFO] [stdout] |
[INFO] [stdout] 267 | for job_id in job_ids {
[INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] = note: all local variables must have a statically known size
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/job_service.rs:267:9
[INFO] [stdout] |
[INFO] [stdout] 267 | / for job_id in job_ids {
[INFO] [stdout] 268 | | if let Some(job) = self.get_job(&job_id).await? {
[INFO] [stdout] 269 | | jobs.push(job);
[INFO] [stdout] 270 | | }
[INFO] [stdout] 271 | | }
[INFO] [stdout] | |_________^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `std::option::Option`
[INFO] [stdout] --> /rustc/54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47/library/core/src/option.rs:600:0
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/job_service.rs:241:13
[INFO] [stdout] |
[INFO] [stdout] 241 | for job_id in job_ids {
[INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] = note: all local variables must have a statically known size
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/job_service.rs:241:9
[INFO] [stdout] |
[INFO] [stdout] 241 | / for job_id in job_ids {
[INFO] [stdout] 242 | | if let Some(job) = self.get_job(&job_id).await? {
[INFO] [stdout] 243 | | jobs.push(job);
[INFO] [stdout] 244 | | }
[INFO] [stdout] 245 | | }
[INFO] [stdout] | |_________^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `std::option::Option`
[INFO] [stdout] --> /rustc/54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47/library/core/src/option.rs:600:0
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/job_service.rs:267:13
[INFO] [stdout] |
[INFO] [stdout] 267 | for job_id in job_ids {
[INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] = note: all local variables must have a statically known size
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/job_service.rs:267:9
[INFO] [stdout] |
[INFO] [stdout] 267 | / for job_id in job_ids {
[INFO] [stdout] 268 | | if let Some(job) = self.get_job(&job_id).await? {
[INFO] [stdout] 269 | | jobs.push(job);
[INFO] [stdout] 270 | | }
[INFO] [stdout] 271 | | }
[INFO] [stdout] | |_________^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `std::option::Option`
[INFO] [stdout] --> /rustc/54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47/library/core/src/option.rs:600:0
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/user_service.rs:223:21
[INFO] [stdout] |
[INFO] [stdout] 223 | if let Some(user_id) = self.cache_service.get_user_id_by_email(email).await? {
[INFO] [stdout] | ^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] = note: all local variables must have a statically known size
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/user_service.rs:223:21
[INFO] [stdout] |
[INFO] [stdout] 223 | if let Some(user_id) = self.cache_service.get_user_id_by_email(email).await? {
[INFO] [stdout] | ^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] = note: all local variables must have a statically known size
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/user_service.rs:223:16
[INFO] [stdout] |
[INFO] [stdout] 223 | if let Some(user_id) = self.cache_service.get_user_id_by_email(email).await? {
[INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Some`
[INFO] [stdout] --> /rustc/54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47/library/core/src/option.rs:608:4
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/user_service.rs:223:16
[INFO] [stdout] |
[INFO] [stdout] 223 | if let Some(user_id) = self.cache_service.get_user_id_by_email(email).await? {
[INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Some`
[INFO] [stdout] --> /rustc/54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47/library/core/src/option.rs:608:4
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/user_service.rs:223:32
[INFO] [stdout] |
[INFO] [stdout] 223 | if let Some(user_id) = self.cache_service.get_user_id_by_email(email).await? {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `std::option::Option`
[INFO] [stdout] --> /rustc/54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47/library/core/src/option.rs:600:0
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/user_service.rs:223:32
[INFO] [stdout] |
[INFO] [stdout] 223 | if let Some(user_id) = self.cache_service.get_user_id_by_email(email).await? {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `std::option::Option`
[INFO] [stdout] --> /rustc/54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47/library/core/src/option.rs:600:0
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/user_service.rs:233:21
[INFO] [stdout] |
[INFO] [stdout] 233 | if let Some(user_id) = self.cache_service.get_user_id_by_phone(phone).await? {
[INFO] [stdout] | ^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] = note: all local variables must have a statically known size
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/user_service.rs:233:16
[INFO] [stdout] |
[INFO] [stdout] 233 | if let Some(user_id) = self.cache_service.get_user_id_by_phone(phone).await? {
[INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Some`
[INFO] [stdout] --> /rustc/54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47/library/core/src/option.rs:608:4
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/user_service.rs:233:32
[INFO] [stdout] |
[INFO] [stdout] 233 | if let Some(user_id) = self.cache_service.get_user_id_by_phone(phone).await? {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `std::option::Option`
[INFO] [stdout] --> /rustc/54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47/library/core/src/option.rs:600:0
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/user_service.rs:233:21
[INFO] [stdout] |
[INFO] [stdout] 233 | if let Some(user_id) = self.cache_service.get_user_id_by_phone(phone).await? {
[INFO] [stdout] | ^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] = note: all local variables must have a statically known size
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/user_service.rs:233:16
[INFO] [stdout] |
[INFO] [stdout] 233 | if let Some(user_id) = self.cache_service.get_user_id_by_phone(phone).await? {
[INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Some`
[INFO] [stdout] --> /rustc/54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47/library/core/src/option.rs:608:4
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout] --> src/services/user_service.rs:233:32
[INFO] [stdout] |
[INFO] [stdout] 233 | if let Some(user_id) = self.cache_service.get_user_id_by_phone(phone).await? {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `std::option::Option`
[INFO] [stdout] --> /rustc/54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47/library/core/src/option.rs:600:0
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout] --> src/utils/id_generator.rs:100:31
[INFO] [stdout] |
[INFO] [stdout] 100 | let idx = rng.gen_range(0..charset.len());
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout] --> src/utils/id_generator.rs:100:31
[INFO] [stdout] |
[INFO] [stdout] 100 | let idx = rng.gen_range(0..charset.len());
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout] --> src/errors.rs:190:54
[INFO] [stdout] |
[INFO] [stdout] 190 | SparrowError::InvalidFieldValue { field, value, reason } => {
[INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout] --> src/errors.rs:190:54
[INFO] [stdout] |
[INFO] [stdout] 190 | SparrowError::InvalidFieldValue { field, value, reason } => {
[INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _`
[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_id`
[INFO] [stdout] --> src/services/driver_service.rs:133:43
[INFO] [stdout] |
[INFO] [stdout] 133 | async fn get_driver_by_user_id(&self, user_id: &str) -> Result