[INFO] cloning repository https://github.com/c0st1nus/wazzup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/c0st1nus/wazzup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0st1nus%2Fwazzup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0st1nus%2Fwazzup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f69f562ed65d34590d022790f109ebec6dc1ea4 [INFO] checking c0st1nus/wazzup against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fc0st1nus%2Fwazzup" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/c0st1nus/wazzup [INFO] finished tweaking git repo https://github.com/c0st1nus/wazzup [INFO] tweaked toml for git repo https://github.com/c0st1nus/wazzup written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/c0st1nus/wazzup on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/c0st1nus/wazzup 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytestring v1.5.0 [INFO] [stderr] Downloaded windows-core v0.62.1 [INFO] [stderr] Downloaded blowfish v0.9.1 [INFO] [stderr] Downloaded pest_derive v2.8.2 [INFO] [stderr] Downloaded actix-files v0.6.8 [INFO] [stderr] Downloaded pest_meta v2.8.2 [INFO] [stderr] Downloaded config v0.15.17 [INFO] [stderr] Downloaded cc v1.2.39 [INFO] [stderr] Downloaded zip v3.0.0 [INFO] [stderr] Downloaded utoipa-swagger-ui v9.0.2 [INFO] [stderr] Downloaded pest v2.8.2 [INFO] [stderr] Downloaded utoipa-gen v5.4.0 [INFO] [stderr] Downloaded find-msvc-tools v0.1.2 [INFO] [stderr] Downloaded bcrypt v0.17.1 [INFO] [stderr] Downloaded pest_generator v2.8.2 [INFO] [stderr] Downloaded utoipa v5.4.0 [INFO] [stderr] Downloaded utoipa-swagger-ui-vendored v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7f5f6cfe46c64f91f91e31ba02df2835d6eca7818961c03d7aff0a6d1e7d4a8 [INFO] running `Command { std: "docker" "start" "-a" "b7f5f6cfe46c64f91f91e31ba02df2835d6eca7818961c03d7aff0a6d1e7d4a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7f5f6cfe46c64f91f91e31ba02df2835d6eca7818961c03d7aff0a6d1e7d4a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7f5f6cfe46c64f91f91e31ba02df2835d6eca7818961c03d7aff0a6d1e7d4a8", kill_on_drop: false }` [INFO] [stdout] b7f5f6cfe46c64f91f91e31ba02df2835d6eca7818961c03d7aff0a6d1e7d4a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cacb670e33418606c6bc71ed1e552881e40125562e0857118eb234de561ebaf [INFO] running `Command { std: "docker" "start" "-a" "8cacb670e33418606c6bc71ed1e552881e40125562e0857118eb234de561ebaf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling rust_decimal v1.38.0 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Compiling zlib-rs v0.5.2 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Compiling zopfli v0.8.2 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rust-embed-utils v8.7.2 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling utoipa-swagger-ui-vendored v0.1.2 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking serde_spanned v1.0.2 [INFO] [stderr] Checking toml_datetime v0.7.2 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking rust-ini v0.21.3 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking yaml-rust2 v0.10.4 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking serde-untagged v0.1.9 [INFO] [stderr] Compiling libz-rs-sys v0.5.2 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking bcrypt v0.17.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling zip v3.0.0 [INFO] [stderr] Checking toml_parser v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling inherent v1.0.13 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling utoipa-gen v5.4.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling rust-embed-impl v8.7.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking rustls-webpki v0.103.6 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling sea-orm-macros v1.1.16 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking rust-embed v8.7.2 [INFO] [stderr] Checking toml v0.9.7 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking thiserror v2.0.16 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking ouroboros v0.18.5 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking rsa v0.9.8 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking chrono-tz v0.10.4 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking sea-query v0.32.7 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking config v0.15.17 [INFO] [stderr] Checking utoipa v5.4.0 [INFO] [stderr] Compiling utoipa-swagger-ui v9.0.2 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking sqlx-mysql v0.8.6 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking actix-http v3.11.1 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking sea-query-binder v0.7.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking sea-orm v1.1.16 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking actix-files v0.6.8 [INFO] [stderr] Checking actix-cors v0.7.1 [INFO] [stderr] Checking wazzup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ColumnTrait` and `QueryFilter` [INFO] [stdout] --> src/api/channels/functions.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | ActiveModelTrait, ColumnTrait, DatabaseConnection, EntityTrait, IntoActiveModel, QueryFilter, [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: `HttpRequest` [INFO] [stdout] --> src/api/chats/handlers.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{HttpRequest, HttpResponse, get, post, web}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinType` and `RelationTrait` [INFO] [stdout] --> src/api/chats/handlers.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | ColumnTrait, EntityTrait, FromQueryResult, JoinType, QueryFilter, QueryOrder, QuerySelect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | RelationTrait, sea_query::Expr, sea_query::extension::postgres::PgExpr, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColumnTrait` and `QueryFilter` [INFO] [stdout] --> src/api/channels/functions.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | ActiveModelTrait, ColumnTrait, DatabaseConnection, EntityTrait, IntoActiveModel, QueryFilter, [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: `HttpRequest` [INFO] [stdout] --> src/api/chats/handlers.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{HttpRequest, HttpResponse, get, post, web}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinType` and `RelationTrait` [INFO] [stdout] --> src/api/chats/handlers.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | ColumnTrait, EntityTrait, FromQueryResult, JoinType, QueryFilter, QueryOrder, QuerySelect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | RelationTrait, sea_query::Expr, sea_query::extension::postgres::PgExpr, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl EmployeeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | employee: EmployeeContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | impl Deref for AdminContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | impl AdminContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | Ok(EmployeeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:173:37 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn ensure_employee_access(ctx: &EmployeeContext) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn ensure_admin_access(ctx: &EmployeeContext) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `api::context::resolve_employee_context`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | let employee = resolve_employee_context(req, app_state).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `api::context::ensure_employee_access`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | ensure_employee_access(&employee)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `api::context::ensure_admin_access`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | ensure_admin_access(&employee)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | Ok(AdminContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | type Target = EmployeeContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn employee(&self) -> &EmployeeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl EmployeeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | employee: EmployeeContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | impl Deref for AdminContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | impl AdminContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | Ok(EmployeeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:173:37 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn ensure_employee_access(ctx: &EmployeeContext) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn ensure_admin_access(ctx: &EmployeeContext) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `api::context::resolve_employee_context`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | let employee = resolve_employee_context(req, app_state).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `api::context::ensure_employee_access`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | ensure_employee_access(&employee)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `api::context::ensure_admin_access`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | ensure_admin_access(&employee)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | Ok(AdminContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | type Target = EmployeeContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn employee(&self) -> &EmployeeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | company_uuid, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | user_uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | company, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | user, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::membership_role`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | membership_role: membership.role.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | company_id_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | user_id_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::company_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | company_uuid: employee.company_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | company_uuid: employee.company_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::user_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | user_uuid: employee.user_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | user_uuid: employee.user_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::company_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | company_id_bytes: employee.company_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 210 | company_id_bytes: employee.company_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | user_id_bytes: employee.user_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | user_id_bytes: employee.user_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::api_key`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | api_key, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::employee`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | employee, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | company_uuid, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | user_uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | company, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | user, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::membership_role`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | membership_role: membership.role.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | company_id_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | user_id_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::company_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | company_uuid: employee.company_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | company_uuid: employee.company_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::user_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | user_uuid: employee.user_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | user_uuid: employee.user_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::company_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | company_id_bytes: employee.company_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 210 | company_id_bytes: employee.company_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | user_id_bytes: employee.user_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | user_id_bytes: employee.user_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::api_key`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | api_key, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::employee`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | employee, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::membership_role`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | self.membership_role [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | .or(self.user.role.as_deref()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | self.user_id_bytes == other [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | self.company [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::employee`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | &self.employee [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::employee`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | &self.employee [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::membership_role`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | self.membership_role [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | .or(self.user.role.as_deref()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | self.user_id_bytes == other [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | self.company [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::employee`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | &self.employee [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::employee`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | &self.employee [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uuid_to_vec` is never used [INFO] [stdout] --> src/api/chats/handlers.rs:757:4 [INFO] [stdout] | [INFO] [stdout] 757 | fn uuid_to_vec(id: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uuid_to_vec` is never used [INFO] [stdout] --> src/api/chats/handlers.rs:757:4 [INFO] [stdout] | [INFO] [stdout] 757 | fn uuid_to_vec(id: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColumnTrait` and `QueryFilter` [INFO] [stdout] --> src/api/channels/functions.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | ActiveModelTrait, ColumnTrait, DatabaseConnection, EntityTrait, IntoActiveModel, QueryFilter, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::context::bytes_to_uuid` [INFO] [stdout] --> src/api/channels/functions.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use crate::api::context::bytes_to_uuid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete_channel`, `generate_wrapped_iframe_link`, `get_channels`, `handle_channel_added`, and `reinitialize_channel` [INFO] [stdout] --> src/api/channels/mod.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | __path_handle_channel_added, __path_reinitialize_channel, delete_channel, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | generate_wrapped_iframe_link, get_channels, handle_channel_added, init_routes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | reinitialize_channel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelDeletionResponse` and `DeleteChannelQuery` [INFO] [stdout] --> src/api/channels/mod.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | ChannelAddedNotification, ChannelDeletionResponse, ChannelView, ChannelsResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | DeleteChannelQuery, WrappedIframeLinkResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/api/chats/handlers.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{HttpRequest, HttpResponse, get, post, web}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinType` and `RelationTrait` [INFO] [stdout] --> src/api/chats/handlers.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | ColumnTrait, EntityTrait, FromQueryResult, JoinType, QueryFilter, QueryOrder, QuerySelect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | RelationTrait, sea_query::Expr, sea_query::extension::postgres::PgExpr, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_chat_messages`, `get_chat_previews`, `get_chat`, and `send_chat_message` [INFO] [stdout] --> src/api/chats/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | get_chat, get_chat_messages, get_chat_previews, init_routes, send_chat_message, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssigneeSummary`, `ChannelSummary`, `ChatInfoSummary`, and `ClientSummary` [INFO] [stdout] --> src/api/chats/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | AssigneeSummary, ChannelSummary, ChatDetails, ChatInfoSummary, ChatMessagesResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ChatPreview, ChatPreviewList, ChatPreviewsQuery, ClientSummary, MessageContentItem, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::helpers::uuid_to_bytes` [INFO] [stdout] --> src/api/context.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | pub use crate::api::helpers::uuid_to_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connect_webhooks`, `handle_webhook`, `test_webhook`, and `validate_webhook` [INFO] [stdout] --> src/api/webhooks/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | connect_webhooks, handle_webhook, init_routes, test_webhook, validate_webhook, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TestWebhookResponse`, `WebhookStatusResponse`, and `WebhookValidationResponse` [INFO] [stdout] --> src/api/webhooks/mod.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | ConnectWebhooksResponse, TestWebhookResponse, WebhookStatusResponse, WebhookValidationResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `build_webhook_uri`, `default_webhook_subscriptions`, `get_company_api_key_by_uuid`, and `parse_company_id` [INFO] [stdout] --> src/api/webhooks/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | build_webhook_uri, default_webhook_subscriptions, get_company_api_key_by_uuid, parse_company_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColumnTrait` and `QueryFilter` [INFO] [stdout] --> src/api/channels/functions.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | ActiveModelTrait, ColumnTrait, DatabaseConnection, EntityTrait, IntoActiveModel, QueryFilter, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::context::bytes_to_uuid` [INFO] [stdout] --> src/api/channels/functions.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use crate::api::context::bytes_to_uuid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete_channel`, `generate_wrapped_iframe_link`, `get_channels`, `handle_channel_added`, and `reinitialize_channel` [INFO] [stdout] --> src/api/channels/mod.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | __path_handle_channel_added, __path_reinitialize_channel, delete_channel, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | generate_wrapped_iframe_link, get_channels, handle_channel_added, init_routes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | reinitialize_channel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelDeletionResponse` and `DeleteChannelQuery` [INFO] [stdout] --> src/api/channels/mod.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | ChannelAddedNotification, ChannelDeletionResponse, ChannelView, ChannelsResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | DeleteChannelQuery, WrappedIframeLinkResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/api/chats/handlers.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{HttpRequest, HttpResponse, get, post, web}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinType` and `RelationTrait` [INFO] [stdout] --> src/api/chats/handlers.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | ColumnTrait, EntityTrait, FromQueryResult, JoinType, QueryFilter, QueryOrder, QuerySelect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | RelationTrait, sea_query::Expr, sea_query::extension::postgres::PgExpr, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_chat_messages`, `get_chat_previews`, `get_chat`, and `send_chat_message` [INFO] [stdout] --> src/api/chats/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | get_chat, get_chat_messages, get_chat_previews, init_routes, send_chat_message, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssigneeSummary`, `ChannelSummary`, `ChatInfoSummary`, and `ClientSummary` [INFO] [stdout] --> src/api/chats/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | AssigneeSummary, ChannelSummary, ChatDetails, ChatInfoSummary, ChatMessagesResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ChatPreview, ChatPreviewList, ChatPreviewsQuery, ClientSummary, MessageContentItem, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::helpers::uuid_to_bytes` [INFO] [stdout] --> src/api/context.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | pub use crate::api::helpers::uuid_to_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connect_webhooks`, `handle_webhook`, `test_webhook`, and `validate_webhook` [INFO] [stdout] --> src/api/webhooks/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | connect_webhooks, handle_webhook, init_routes, test_webhook, validate_webhook, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TestWebhookResponse`, `WebhookStatusResponse`, and `WebhookValidationResponse` [INFO] [stdout] --> src/api/webhooks/mod.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | ConnectWebhooksResponse, TestWebhookResponse, WebhookStatusResponse, WebhookValidationResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `build_webhook_uri`, `default_webhook_subscriptions`, `get_company_api_key_by_uuid`, and `parse_company_id` [INFO] [stdout] --> src/api/webhooks/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | build_webhook_uri, default_webhook_subscriptions, get_company_api_key_by_uuid, parse_company_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl EmployeeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | employee: EmployeeContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | impl Deref for AdminContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | impl AdminContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | Ok(EmployeeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:173:37 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn ensure_employee_access(ctx: &EmployeeContext) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn ensure_admin_access(ctx: &EmployeeContext) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `api::context::resolve_employee_context`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | let employee = resolve_employee_context(req, app_state).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `api::context::ensure_employee_access`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | ensure_employee_access(&employee)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `api::context::ensure_admin_access`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | ensure_admin_access(&employee)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | Ok(AdminContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | type Target = EmployeeContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn employee(&self) -> &EmployeeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl EmployeeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | employee: EmployeeContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | impl Deref for AdminContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:96:6 [INFO] [stdout] | [INFO] [stdout] 96 | impl AdminContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | Ok(EmployeeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:173:37 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn ensure_employee_access(ctx: &EmployeeContext) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn ensure_admin_access(ctx: &EmployeeContext) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `api::context::resolve_employee_context`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | let employee = resolve_employee_context(req, app_state).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `api::context::ensure_employee_access`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | ensure_employee_access(&employee)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `api::context::ensure_admin_access`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | ensure_admin_access(&employee)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::AdminContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | Ok(AdminContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | type Target = EmployeeContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `api::context::EmployeeContext`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn employee(&self) -> &EmployeeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | company_uuid, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | user_uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | company, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | user, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::membership_role`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | membership_role: membership.role.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | company_id_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | user_id_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::company_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | company_uuid: employee.company_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | company_uuid: employee.company_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::user_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | user_uuid: employee.user_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | user_uuid: employee.user_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::company_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | company_id_bytes: employee.company_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 210 | company_id_bytes: employee.company_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | user_id_bytes: employee.user_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | user_id_bytes: employee.user_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::api_key`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | api_key, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::employee`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | employee, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | company_uuid, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | user_uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | company, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | user, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::membership_role`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | membership_role: membership.role.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | company_id_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | user_id_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::company_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | company_uuid: employee.company_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | company_uuid: employee.company_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::user_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | user_uuid: employee.user_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_uuid`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | user_uuid: employee.user_uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::company_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | company_id_bytes: employee.company_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 210 | company_id_bytes: employee.company_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | user_id_bytes: employee.user_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | user_id_bytes: employee.user_id_bytes.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::api_key`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | api_key, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::employee`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | employee, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::membership_role`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | self.membership_role [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | .or(self.user.role.as_deref()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | self.user_id_bytes == other [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | self.company [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::employee`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | &self.employee [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::employee`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | &self.employee [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::membership_role`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | self.membership_role [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | .or(self.user.role.as_deref()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::user_id_bytes`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | self.user_id_bytes == other [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::EmployeeContext::company`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | self.company [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::employee`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | &self.employee [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `api::context::AdminContext::employee`: Service is now internal - authentication is no longer required [INFO] [stdout] --> src/api/context.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | &self.employee [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uuid_to_vec` is never used [INFO] [stdout] --> src/api/chats/handlers.rs:757:4 [INFO] [stdout] | [INFO] [stdout] 757 | fn uuid_to_vec(id: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmployeeContext` is never constructed [INFO] [stdout] --> src/api/context.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct EmployeeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `role`, `role_lowercase`, `is_admin`, `is_employee_role`, `is_same_user`, and `require_company_api_key` are never used [INFO] [stdout] --> src/api/context.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl EmployeeContext { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 28 | pub fn role(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn role_lowercase(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_admin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn is_employee_role(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_same_user(&self, other: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn require_company_api_key(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdminContext` is never constructed [INFO] [stdout] --> src/api/context.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct AdminContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `employee` is never used [INFO] [stdout] --> src/api/context.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl AdminContext { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 97 | pub fn employee(&self) -> &EmployeeContext { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_uuid_cookie` is never used [INFO] [stdout] --> src/api/context.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn parse_uuid_cookie(req: &HttpRequest, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_employee_context` is never used [INFO] [stdout] --> src/api/context.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | pub async fn resolve_employee_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_employee_access` is never used [INFO] [stdout] --> src/api/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn ensure_employee_access(ctx: &EmployeeContext) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_admin_access` is never used [INFO] [stdout] --> src/api/context.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn ensure_admin_access(ctx: &EmployeeContext) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_admin_context` is never used [INFO] [stdout] --> src/api/context.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | pub async fn resolve_admin_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uuid_from_bytes` is never used [INFO] [stdout] --> src/api/helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn uuid_from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_timezone` is never used [INFO] [stdout] --> src/config.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_timezone(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/database/models/deals.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Relation` is never used [INFO] [stdout] --> src/database/models/deals.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Relation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Forbidden` is never constructed [INFO] [stdout] --> src/errors.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum AppError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | Forbidden(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BotHookRequest` is never constructed [INFO] [stdout] --> src/services/bot_service.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BotHookRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BotHookResponse` is never constructed [INFO] [stdout] --> src/services/bot_service.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BotHookResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/services/bot_service.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct BotService { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 23 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_hook_request`, `select_random_manager`, and `get_bot_hook_url` are never used [INFO] [stdout] --> src/services/bot_service.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl BotService { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub async fn send_hook_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn select_random_manager( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn get_bot_hook_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_user_settings`, `update_user_settings`, `create_contacts`, `get_messages`, and `get_unread_count` are never used [INFO] [stdout] --> src/services/wazzup_api.rs:335:18 [INFO] [stdout] | [INFO] [stdout] 279 | impl WazzupApiService { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 335 | pub async fn get_user_settings(&self, api_key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub async fn update_user_settings( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub async fn create_contacts( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | pub async fn get_messages( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub async fn get_unread_count(&self, api_key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PairingCodeRequest` is never constructed [INFO] [stdout] --> src/services/wazzup_api.rs:509:12 [INFO] [stdout] | [INFO] [stdout] 509 | pub struct PairingCodeRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PairingCodeResponse` is never constructed [INFO] [stdout] --> src/services/wazzup_api.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | pub struct PairingCodeResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateWazzupContactsRequest` is never constructed [INFO] [stdout] --> src/services/wazzup_api.rs:571:12 [INFO] [stdout] | [INFO] [stdout] 571 | pub struct CreateWazzupContactsRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebhookSubscriptionResponse` is never constructed [INFO] [stdout] --> src/services/wazzup_api.rs:654:12 [INFO] [stdout] | [INFO] [stdout] 654 | pub struct WebhookSubscriptionResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uuid_to_vec` is never used [INFO] [stdout] --> src/api/chats/handlers.rs:757:4 [INFO] [stdout] | [INFO] [stdout] 757 | fn uuid_to_vec(id: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmployeeContext` is never constructed [INFO] [stdout] --> src/api/context.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct EmployeeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `role`, `role_lowercase`, `is_admin`, `is_employee_role`, `is_same_user`, and `require_company_api_key` are never used [INFO] [stdout] --> src/api/context.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl EmployeeContext { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 28 | pub fn role(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn role_lowercase(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_admin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn is_employee_role(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_same_user(&self, other: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn require_company_api_key(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdminContext` is never constructed [INFO] [stdout] --> src/api/context.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct AdminContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `employee` is never used [INFO] [stdout] --> src/api/context.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl AdminContext { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 97 | pub fn employee(&self) -> &EmployeeContext { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_uuid_cookie` is never used [INFO] [stdout] --> src/api/context.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn parse_uuid_cookie(req: &HttpRequest, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_employee_context` is never used [INFO] [stdout] --> src/api/context.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | pub async fn resolve_employee_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_employee_access` is never used [INFO] [stdout] --> src/api/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn ensure_employee_access(ctx: &EmployeeContext) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_admin_access` is never used [INFO] [stdout] --> src/api/context.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn ensure_admin_access(ctx: &EmployeeContext) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_admin_context` is never used [INFO] [stdout] --> src/api/context.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | pub async fn resolve_admin_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uuid_from_bytes` is never used [INFO] [stdout] --> src/api/helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn uuid_from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_timezone` is never used [INFO] [stdout] --> src/config.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_timezone(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/database/models/deals.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Relation` is never used [INFO] [stdout] --> src/database/models/deals.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Relation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Forbidden` is never constructed [INFO] [stdout] --> src/errors.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum AppError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | Forbidden(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BotHookRequest` is never constructed [INFO] [stdout] --> src/services/bot_service.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BotHookRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BotHookResponse` is never constructed [INFO] [stdout] --> src/services/bot_service.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BotHookResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/services/bot_service.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct BotService { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 23 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_hook_request`, `select_random_manager`, and `get_bot_hook_url` are never used [INFO] [stdout] --> src/services/bot_service.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl BotService { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub async fn send_hook_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn select_random_manager( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn get_bot_hook_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_user_settings`, `update_user_settings`, `create_contacts`, `get_messages`, and `get_unread_count` are never used [INFO] [stdout] --> src/services/wazzup_api.rs:335:18 [INFO] [stdout] | [INFO] [stdout] 279 | impl WazzupApiService { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 335 | pub async fn get_user_settings(&self, api_key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub async fn update_user_settings( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub async fn create_contacts( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | pub async fn get_messages( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub async fn get_unread_count(&self, api_key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PairingCodeRequest` is never constructed [INFO] [stdout] --> src/services/wazzup_api.rs:509:12 [INFO] [stdout] | [INFO] [stdout] 509 | pub struct PairingCodeRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PairingCodeResponse` is never constructed [INFO] [stdout] --> src/services/wazzup_api.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | pub struct PairingCodeResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateWazzupContactsRequest` is never constructed [INFO] [stdout] --> src/services/wazzup_api.rs:571:12 [INFO] [stdout] | [INFO] [stdout] 571 | pub struct CreateWazzupContactsRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebhookSubscriptionResponse` is never constructed [INFO] [stdout] --> src/services/wazzup_api.rs:654:12 [INFO] [stdout] | [INFO] [stdout] 654 | pub struct WebhookSubscriptionResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "8cacb670e33418606c6bc71ed1e552881e40125562e0857118eb234de561ebaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cacb670e33418606c6bc71ed1e552881e40125562e0857118eb234de561ebaf", kill_on_drop: false }` [INFO] [stdout] 8cacb670e33418606c6bc71ed1e552881e40125562e0857118eb234de561ebaf