[INFO] cloning repository https://github.com/mmontiel0904/freshapi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmontiel0904/freshapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmontiel0904%2Ffreshapi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmontiel0904%2Ffreshapi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1d2f92da70fd494de279a7b3a735b06c7ed128cb
[INFO] testing mmontiel0904/freshapi against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmontiel0904%2Ffreshapi" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mmontiel0904/freshapi
[INFO] finished tweaking git repo https://github.com/mmontiel0904/freshapi
[INFO] tweaked toml for git repo https://github.com/mmontiel0904/freshapi written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mmontiel0904/freshapi on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mmontiel0904/freshapi 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a9e27fc678c8c2786d4afa84d3cd5fe91b492eefb3edaef6c24ef0418fefd760
[INFO] running `Command { std: "docker" "start" "-a" "a9e27fc678c8c2786d4afa84d3cd5fe91b492eefb3edaef6c24ef0418fefd760", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a9e27fc678c8c2786d4afa84d3cd5fe91b492eefb3edaef6c24ef0418fefd760", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9e27fc678c8c2786d4afa84d3cd5fe91b492eefb3edaef6c24ef0418fefd760", kill_on_drop: false }`
[INFO] [stdout] a9e27fc678c8c2786d4afa84d3cd5fe91b492eefb3edaef6c24ef0418fefd760
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f934c118e2f8afb1a00fef8bec4288f6813650cdc5fa41410fe8e992d672905
[INFO] running `Command { std: "docker" "start" "-a" "3f934c118e2f8afb1a00fef8bec4288f6813650cdc5fa41410fe8e992d672905", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling bigdecimal v0.4.8
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling rust_decimal v1.37.2
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling rustls v0.23.29
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling webpki-roots v1.0.2
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling ordered-float v4.6.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling clap_builder v4.5.41
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling raw-cpuid v11.5.0
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling aliasable v0.1.3
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling ascii_utils v0.9.3
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling fast_chemail v0.9.6
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling spinning_top v0.3.0
[INFO] [stderr]    Compiling web-time v1.1.0
[INFO] [stderr]    Compiling nonzero_ext v0.3.0
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling static_assertions_next v1.1.2
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling pem v3.0.5
[INFO] [stderr]    Compiling bcrypt v0.17.0
[INFO] [stderr]    Compiling quanta v0.12.6
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling inherent v1.0.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]    Compiling sea-bae v0.2.1
[INFO] [stderr]    Compiling ouroboros_macro v0.18.5
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling rustls-webpki v0.103.4
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling sea-orm-macros v1.1.14
[INFO] [stderr]    Compiling sea-schema-derive v0.3.0
[INFO] [stderr]    Compiling maybe-async v0.2.10
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling sea-query-derive v0.4.3
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]    Compiling ouroboros v0.18.5
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling clap v4.5.41
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling ecow v0.2.5
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling dashmap v6.1.0
[INFO] [stderr]    Compiling handlebars v5.1.2
[INFO] [stderr]    Compiling tokio v1.47.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling async-graphql-value v7.0.17
[INFO] [stderr]    Compiling async-graphql-parser v7.0.17
[INFO] [stderr]    Compiling governor v0.10.0
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling tungstenite v0.26.2
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling sea-query v0.32.6
[INFO] [stderr]    Compiling axum-core v0.5.2
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling sea-orm-cli v1.1.14
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling async-graphql-derive v7.0.17
[INFO] [stderr]    Compiling sea-schema v0.16.2
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-tungstenite v0.26.2
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling h2 v0.4.11
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling async-graphql v7.0.17
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling sea-query-binder v0.7.0
[INFO] [stderr]    Compiling sea-orm v1.1.14
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling axum v0.8.4
[INFO] [stderr]    Compiling reqwest v0.12.22
[INFO] [stderr]    Compiling resend-rs v0.15.0
[INFO] [stderr]    Compiling async-graphql-axum v7.0.17
[INFO] [stderr]    Compiling sea-orm-migration v1.1.14
[INFO] [stderr]    Compiling freshapi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `admin_guard` and `permission_guard`
[INFO] [stdout]   --> src/auth/guards.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub use crate::{permission_guard, admin_guard};
[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: `middleware::*`
[INFO] [stdout]  --> src/auth/mod.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use middleware::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::activity_comment::Entity as ActivityComment`
[INFO] [stdout]  --> src/entities/prelude.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use super::activity_comment::Entity as ActivityComment;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::email_attachment::Entity as EmailAttachment`
[INFO] [stdout]  --> src/entities/prelude.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use super::email_attachment::Entity as EmailAttachment;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `types::*`
[INFO] [stdout]  --> src/graphql/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use types::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `jwt_service` is never read
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct AppState {
[INFO] [stdout]    |        -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 |     jwt_service: JwtService,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `require_system_admin` is never used
[INFO] [stdout]   --> src/auth/guards.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub async fn require_system_admin<'ctx>(ctx: &'ctx Context<'_>, resource: &str) -> Result<&'ctx AuthenticatedUser> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `require_user_can_manage` is never used
[INFO] [stdout]   --> src/auth/guards.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub async fn require_user_can_manage<'ctx>(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generate_token` is never used
[INFO] [stdout]   --> src/auth/jwt.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl JwtService {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn generate_token(&self, user_id: Uuid, email: &str) -> Result<String, jsonwebtoken::errors::Error> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auth_middleware` is never used
[INFO] [stdout]   --> src/auth/middleware.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn auth_middleware(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `user_is_admin`, `user_is_system_admin`, `get_user_role_level`, `user_can_manage_user`, `grant_user_permission`, and `revoke_user_permission` are never used
[INFO] [stdout]    --> src/auth/permissions.rs:156:18
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl PermissionService {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub async fn user_is_admin(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub async fn user_is_system_admin(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     pub async fn get_user_role_level(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 190 |     pub async fn user_can_manage_user(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub async fn grant_user_permission(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub async fn revoke_user_permission(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `email` is never read
[INFO] [stdout]   --> src/auth/types.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct AuthenticatedUser {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 14 |     pub id: Uuid,
[INFO] [stdout] 15 |     pub email: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthenticatedUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `confidence_score` and `extracted_entities` are never read
[INFO] [stdout]     --> src/graphql/types.rs:1195:9
[INFO] [stdout]      |
[INFO] [stdout] 1180 | pub struct EmailContext {
[INFO] [stdout]      |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 1195 |     pub confidence_score: Option<rust_decimal::Decimal>,
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 1196 |     #[graphql(skip)]
[INFO] [stdout] 1197 |     pub extracted_entities: Option<serde_json::Value>,
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContextCategoryConnection` is never constructed
[INFO] [stdout]     --> src/graphql/types.rs:1446:12
[INFO] [stdout]      |
[INFO] [stdout] 1446 | pub struct ContextCategoryConnection {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `invite_users_loader`, `user_management_loader`, `admin_loader`, and `system_admin_loader` are never read
[INFO] [stdout]   --> src/graphql/dataloader.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct DataLoaderContext {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 96 |     pub invite_users_loader: Arc<DataLoader<PermissionCheckLoader>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 97 |     pub user_management_loader: Arc<DataLoader<PermissionCheckLoader>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 98 |     pub admin_loader: Arc<DataLoader<PermissionCheckLoader>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 99 |     pub system_admin_loader: Arc<DataLoader<PermissionCheckLoader>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataLoaderContext` 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 `can_invite_users`, `can_manage_users`, `is_admin`, `is_system_admin`, and `clear_all` are never used
[INFO] [stdout]    --> src/graphql/dataloader.rs:161:18
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl DataLoaderContext {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub async fn can_invite_users(&self, user_id: Uuid) -> Result<bool, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub async fn can_manage_users(&self, user_id: Uuid) -> Result<bool, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub async fn is_admin(&self, user_id: Uuid) -> Result<bool, String> {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub async fn is_system_admin(&self, user_id: Uuid) -> Result<bool, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn clear_all(&self) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/services/activity.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl EntityType {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn from_str(s: &str) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_db`, `log_task_status_change`, `log_task_deletion`, and `get_user_recent_activities` are never used
[INFO] [stdout]    --> src/services/activity.rs:49:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl ActivityService {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  49 |     pub fn get_db(&self) -> &DatabaseConnection {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub async fn log_task_status_change(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 262 |     pub async fn log_task_deletion(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 297 |     pub async fn get_user_recent_activities(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_db`, `get_context_by_id`, and `get_project_context_stats` are never used
[INFO] [stdout]    --> src/services/context.rs:25:12
[INFO] [stdout]     |
[INFO] [stdout]  20 | impl ContextService {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  25 |     pub fn get_db(&self) -> &DatabaseConnection {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 251 |     pub async fn get_context_by_id(&self, context_id: Uuid) -> Result<Option<project_context::Model>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 285 |     pub async fn get_project_context_stats(&self, project_id: Uuid) -> Result<ContextStats> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContextStats` is never constructed
[INFO] [stdout]    --> src/services/context.rs:327:12
[INFO] [stdout]     |
[INFO] [stdout] 327 | pub struct ContextStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send_verification_email` is never used
[INFO] [stdout]   --> src/services/email.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl EmailService {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub async fn send_verification_email(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_db`, `get_email_stats_by_process`, and `find_potential_duplicates` are never used
[INFO] [stdout]    --> src/services/email_context.rs:28:12
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl EmailContextService {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  28 |     pub fn get_db(&self) -> &DatabaseConnection {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 297 |     pub async fn get_email_stats_by_process(&self, project_id: Uuid) -> Result<std::collections::HashMap<AccountingProcess, u32>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 376 |     pub async fn find_potential_duplicates(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `use_invitation` is never used
[INFO] [stdout]    --> src/services/invitation.rs:124:18
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl InvitationService {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub async fn use_invitation(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_task_context` is never used
[INFO] [stdout]    --> src/services/task.rs:708:18
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl TaskService {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 708 |     pub async fn update_task_context(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `register_user`, `get_user_permissions`, and `get_user_role` are never used
[INFO] [stdout]    --> src/services/user.rs:113:18
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl UserService {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub async fn register_user(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 369 |     pub async fn get_user_permissions(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 419 |     pub async fn get_user_role(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 50s
[INFO] running `Command { std: "docker" "inspect" "3f934c118e2f8afb1a00fef8bec4288f6813650cdc5fa41410fe8e992d672905", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f934c118e2f8afb1a00fef8bec4288f6813650cdc5fa41410fe8e992d672905", kill_on_drop: false }`
[INFO] [stdout] 3f934c118e2f8afb1a00fef8bec4288f6813650cdc5fa41410fe8e992d672905
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6e69d9953ce3a3bdd5c1cb0d6f9996f8875480a7990972d266c5a0f75fd80b28
[INFO] running `Command { std: "docker" "start" "-a" "6e69d9953ce3a3bdd5c1cb0d6f9996f8875480a7990972d266c5a0f75fd80b28", kill_on_drop: false }`
[INFO] [stderr]    Compiling freshapi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `admin_guard` and `permission_guard`
[INFO] [stdout]   --> src/auth/guards.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub use crate::{permission_guard, admin_guard};
[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: `middleware::*`
[INFO] [stdout]  --> src/auth/mod.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use middleware::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::activity_comment::Entity as ActivityComment`
[INFO] [stdout]  --> src/entities/prelude.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use super::activity_comment::Entity as ActivityComment;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::email_attachment::Entity as EmailAttachment`
[INFO] [stdout]  --> src/entities/prelude.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use super::email_attachment::Entity as EmailAttachment;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `types::*`
[INFO] [stdout]  --> src/graphql/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use types::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `jwt_service` is never read
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct AppState {
[INFO] [stdout]    |        -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 |     jwt_service: JwtService,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `require_system_admin` is never used
[INFO] [stdout]   --> src/auth/guards.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub async fn require_system_admin<'ctx>(ctx: &'ctx Context<'_>, resource: &str) -> Result<&'ctx AuthenticatedUser> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `require_user_can_manage` is never used
[INFO] [stdout]   --> src/auth/guards.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub async fn require_user_can_manage<'ctx>(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generate_token` is never used
[INFO] [stdout]   --> src/auth/jwt.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl JwtService {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn generate_token(&self, user_id: Uuid, email: &str) -> Result<String, jsonwebtoken::errors::Error> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auth_middleware` is never used
[INFO] [stdout]   --> src/auth/middleware.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn auth_middleware(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `user_is_admin`, `user_is_system_admin`, `get_user_role_level`, `user_can_manage_user`, `grant_user_permission`, and `revoke_user_permission` are never used
[INFO] [stdout]    --> src/auth/permissions.rs:156:18
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl PermissionService {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub async fn user_is_admin(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub async fn user_is_system_admin(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     pub async fn get_user_role_level(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 190 |     pub async fn user_can_manage_user(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub async fn grant_user_permission(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub async fn revoke_user_permission(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `email` is never read
[INFO] [stdout]   --> src/auth/types.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct AuthenticatedUser {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 14 |     pub id: Uuid,
[INFO] [stdout] 15 |     pub email: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthenticatedUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `confidence_score` and `extracted_entities` are never read
[INFO] [stdout]     --> src/graphql/types.rs:1195:9
[INFO] [stdout]      |
[INFO] [stdout] 1180 | pub struct EmailContext {
[INFO] [stdout]      |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 1195 |     pub confidence_score: Option<rust_decimal::Decimal>,
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 1196 |     #[graphql(skip)]
[INFO] [stdout] 1197 |     pub extracted_entities: Option<serde_json::Value>,
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContextCategoryConnection` is never constructed
[INFO] [stdout]     --> src/graphql/types.rs:1446:12
[INFO] [stdout]      |
[INFO] [stdout] 1446 | pub struct ContextCategoryConnection {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `invite_users_loader`, `user_management_loader`, `admin_loader`, and `system_admin_loader` are never read
[INFO] [stdout]   --> src/graphql/dataloader.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct DataLoaderContext {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 96 |     pub invite_users_loader: Arc<DataLoader<PermissionCheckLoader>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 97 |     pub user_management_loader: Arc<DataLoader<PermissionCheckLoader>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 98 |     pub admin_loader: Arc<DataLoader<PermissionCheckLoader>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 99 |     pub system_admin_loader: Arc<DataLoader<PermissionCheckLoader>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataLoaderContext` 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 `can_invite_users`, `can_manage_users`, `is_admin`, `is_system_admin`, and `clear_all` are never used
[INFO] [stdout]    --> src/graphql/dataloader.rs:161:18
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl DataLoaderContext {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub async fn can_invite_users(&self, user_id: Uuid) -> Result<bool, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub async fn can_manage_users(&self, user_id: Uuid) -> Result<bool, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub async fn is_admin(&self, user_id: Uuid) -> Result<bool, String> {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub async fn is_system_admin(&self, user_id: Uuid) -> Result<bool, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn clear_all(&self) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]   --> src/services/activity.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl EntityType {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn from_str(s: &str) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_db`, `log_task_status_change`, `log_task_deletion`, and `get_user_recent_activities` are never used
[INFO] [stdout]    --> src/services/activity.rs:49:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl ActivityService {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  49 |     pub fn get_db(&self) -> &DatabaseConnection {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub async fn log_task_status_change(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 262 |     pub async fn log_task_deletion(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 297 |     pub async fn get_user_recent_activities(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_db`, `get_context_by_id`, and `get_project_context_stats` are never used
[INFO] [stdout]    --> src/services/context.rs:25:12
[INFO] [stdout]     |
[INFO] [stdout]  20 | impl ContextService {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  25 |     pub fn get_db(&self) -> &DatabaseConnection {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 251 |     pub async fn get_context_by_id(&self, context_id: Uuid) -> Result<Option<project_context::Model>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 285 |     pub async fn get_project_context_stats(&self, project_id: Uuid) -> Result<ContextStats> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ContextStats` is never constructed
[INFO] [stdout]    --> src/services/context.rs:327:12
[INFO] [stdout]     |
[INFO] [stdout] 327 | pub struct ContextStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send_verification_email` is never used
[INFO] [stdout]   --> src/services/email.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl EmailService {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub async fn send_verification_email(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_db`, `get_email_stats_by_process`, and `find_potential_duplicates` are never used
[INFO] [stdout]    --> src/services/email_context.rs:28:12
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl EmailContextService {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  28 |     pub fn get_db(&self) -> &DatabaseConnection {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 297 |     pub async fn get_email_stats_by_process(&self, project_id: Uuid) -> Result<std::collections::HashMap<AccountingProcess, u32>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 376 |     pub async fn find_potential_duplicates(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `use_invitation` is never used
[INFO] [stdout]    --> src/services/invitation.rs:124:18
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl InvitationService {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub async fn use_invitation(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_task_context` is never used
[INFO] [stdout]    --> src/services/task.rs:708:18
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl TaskService {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 708 |     pub async fn update_task_context(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `register_user`, `get_user_permissions`, and `get_user_role` are never used
[INFO] [stdout]    --> src/services/user.rs:113:18
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl UserService {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub async fn register_user(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 369 |     pub async fn get_user_permissions(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 419 |     pub async fn get_user_role(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 15.39s
[INFO] running `Command { std: "docker" "inspect" "6e69d9953ce3a3bdd5c1cb0d6f9996f8875480a7990972d266c5a0f75fd80b28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e69d9953ce3a3bdd5c1cb0d6f9996f8875480a7990972d266c5a0f75fd80b28", kill_on_drop: false }`
[INFO] [stdout] 6e69d9953ce3a3bdd5c1cb0d6f9996f8875480a7990972d266c5a0f75fd80b28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 42193828f66c3f4e23c9991c144f6489731e0c348d0ce7c1b7a5c7059fbc566b
[INFO] running `Command { std: "docker" "start" "-a" "42193828f66c3f4e23c9991c144f6489731e0c348d0ce7c1b7a5c7059fbc566b", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `admin_guard` and `permission_guard`
[INFO] [stderr]   --> src/auth/guards.rs:89:17
[INFO] [stderr]    |
[INFO] [stderr] 89 | pub use crate::{permission_guard, admin_guard};
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `middleware::*`
[INFO] [stderr]  --> src/auth/mod.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub use middleware::*;
[INFO] [stderr]   |         ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::activity_comment::Entity as ActivityComment`
[INFO] [stderr]  --> src/entities/prelude.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub use super::activity_comment::Entity as ActivityComment;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::email_attachment::Entity as EmailAttachment`
[INFO] [stderr]  --> src/entities/prelude.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub use super::email_attachment::Entity as EmailAttachment;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `types::*`
[INFO] [stderr]  --> src/graphql/mod.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub use types::*;
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `jwt_service` is never read
[INFO] [stderr]   --> src/main.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 30 | struct AppState {
[INFO] [stderr]    |        -------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 33 |     jwt_service: JwtService,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `require_system_admin` is never used
[INFO] [stderr]   --> src/auth/guards.rs:40:14
[INFO] [stderr]    |
[INFO] [stderr] 40 | pub async fn require_system_admin<'ctx>(ctx: &'ctx Context<'_>, resource: &str) -> Result<&'ctx AuthenticatedUser> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `require_user_can_manage` is never used
[INFO] [stderr]   --> src/auth/guards.rs:50:14
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub async fn require_user_can_manage<'ctx>(
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `generate_token` is never used
[INFO] [stderr]   --> src/auth/jwt.rs:53:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl JwtService {
[INFO] [stderr]    | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 53 |     pub fn generate_token(&self, user_id: Uuid, email: &str) -> Result<String, jsonwebtoken::errors::Error> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `auth_middleware` is never used
[INFO] [stderr]   --> src/auth/middleware.rs:10:14
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub async fn auth_middleware(
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `user_is_admin`, `user_is_system_admin`, `get_user_role_level`, `user_can_manage_user`, `grant_user_permission`, and `revoke_user_permission` are never used
[INFO] [stderr]    --> src/auth/permissions.rs:156:18
[INFO] [stderr]     |
[INFO] [stderr]  12 | impl PermissionService {
[INFO] [stderr]     | ---------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 156 |     pub async fn user_is_admin(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 165 |     pub async fn user_is_system_admin(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 174 |     pub async fn get_user_role_level(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 190 |     pub async fn user_can_manage_user(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 203 |     pub async fn grant_user_permission(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 240 |     pub async fn revoke_user_permission(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `email` is never read
[INFO] [stderr]   --> src/auth/types.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct AuthenticatedUser {
[INFO] [stderr]    |            ----------------- field in this struct
[INFO] [stderr] 14 |     pub id: Uuid,
[INFO] [stderr] 15 |     pub email: String,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AuthenticatedUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `confidence_score` and `extracted_entities` are never read
[INFO] [stderr]     --> src/graphql/types.rs:1195:9
[INFO] [stderr]      |
[INFO] [stderr] 1180 | pub struct EmailContext {
[INFO] [stderr]      |            ------------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 1195 |     pub confidence_score: Option<rust_decimal::Decimal>,
[INFO] [stderr]      |         ^^^^^^^^^^^^^^^^
[INFO] [stderr] 1196 |     #[graphql(skip)]
[INFO] [stderr] 1197 |     pub extracted_entities: Option<serde_json::Value>,
[INFO] [stderr]      |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ContextCategoryConnection` is never constructed
[INFO] [stderr]     --> src/graphql/types.rs:1446:12
[INFO] [stderr]      |
[INFO] [stderr] 1446 | pub struct ContextCategoryConnection {
[INFO] [stderr]      |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `invite_users_loader`, `user_management_loader`, `admin_loader`, and `system_admin_loader` are never read
[INFO] [stderr]   --> src/graphql/dataloader.rs:96:9
[INFO] [stderr]    |
[INFO] [stderr] 93 | pub struct DataLoaderContext {
[INFO] [stderr]    |            ----------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 96 |     pub invite_users_loader: Arc<DataLoader<PermissionCheckLoader>>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 97 |     pub user_management_loader: Arc<DataLoader<PermissionCheckLoader>>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 98 |     pub admin_loader: Arc<DataLoader<PermissionCheckLoader>>,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr] 99 |     pub system_admin_loader: Arc<DataLoader<PermissionCheckLoader>>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `DataLoaderContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `can_invite_users`, `can_manage_users`, `is_admin`, `is_system_admin`, and `clear_all` are never used
[INFO] [stderr]    --> src/graphql/dataloader.rs:161:18
[INFO] [stderr]     |
[INFO] [stderr] 102 | impl DataLoaderContext {
[INFO] [stderr]     | ---------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 161 |     pub async fn can_invite_users(&self, user_id: Uuid) -> Result<bool, String> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 166 |     pub async fn can_manage_users(&self, user_id: Uuid) -> Result<bool, String> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 171 |     pub async fn is_admin(&self, user_id: Uuid) -> Result<bool, String> {
[INFO] [stderr]     |                  ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 176 |     pub async fn is_system_admin(&self, user_id: Uuid) -> Result<bool, String> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 181 |     pub fn clear_all(&self) {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_str` is never used
[INFO] [stderr]   --> src/services/activity.rs:33:12
[INFO] [stderr]    |
[INFO] [stderr] 23 | impl EntityType {
[INFO] [stderr]    | --------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 33 |     pub fn from_str(s: &str) -> Option<Self> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_db`, `log_task_status_change`, `log_task_deletion`, and `get_user_recent_activities` are never used
[INFO] [stderr]    --> src/services/activity.rs:49:12
[INFO] [stderr]     |
[INFO] [stderr]  44 | impl ActivityService {
[INFO] [stderr]     | -------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  49 |     pub fn get_db(&self) -> &DatabaseConnection {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 131 |     pub async fn log_task_status_change(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 262 |     pub async fn log_task_deletion(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 297 |     pub async fn get_user_recent_activities(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_db`, `get_context_by_id`, and `get_project_context_stats` are never used
[INFO] [stderr]    --> src/services/context.rs:25:12
[INFO] [stderr]     |
[INFO] [stderr]  20 | impl ContextService {
[INFO] [stderr]     | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  25 |     pub fn get_db(&self) -> &DatabaseConnection {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 251 |     pub async fn get_context_by_id(&self, context_id: Uuid) -> Result<Option<project_context::Model>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 285 |     pub async fn get_project_context_stats(&self, project_id: Uuid) -> Result<ContextStats> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ContextStats` is never constructed
[INFO] [stderr]    --> src/services/context.rs:327:12
[INFO] [stderr]     |
[INFO] [stderr] 327 | pub struct ContextStats {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `send_verification_email` is never used
[INFO] [stderr]   --> src/services/email.rs:18:18
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl EmailService {
[INFO] [stderr]    | ----------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 18 |     pub async fn send_verification_email(
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_db`, `get_email_stats_by_process`, and `find_potential_duplicates` are never used
[INFO] [stderr]    --> src/services/email_context.rs:28:12
[INFO] [stderr]     |
[INFO] [stderr]  22 | impl EmailContextService {
[INFO] [stderr]     | ------------------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  28 |     pub fn get_db(&self) -> &DatabaseConnection {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 297 |     pub async fn get_email_stats_by_process(&self, project_id: Uuid) -> Result<std::collections::HashMap<AccountingProcess, u32>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 376 |     pub async fn find_potential_duplicates(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `use_invitation` is never used
[INFO] [stderr]    --> src/services/invitation.rs:124:18
[INFO] [stderr]     |
[INFO] [stderr]  14 | impl InvitationService {
[INFO] [stderr]     | ---------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 124 |     pub async fn use_invitation(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `update_task_context` is never used
[INFO] [stderr]    --> src/services/task.rs:708:18
[INFO] [stderr]     |
[INFO] [stderr]  19 | impl TaskService {
[INFO] [stderr]     | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 708 |     pub async fn update_task_context(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `register_user`, `get_user_permissions`, and `get_user_role` are never used
[INFO] [stderr]    --> src/services/user.rs:113:18
[INFO] [stderr]     |
[INFO] [stderr]  15 | impl UserService {
[INFO] [stderr]     | ---------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 113 |     pub async fn register_user(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 369 |     pub async fn get_user_permissions(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 419 |     pub async fn get_user_role(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `freshapi` (bin "freshapi" test) generated 25 warnings (run `cargo fix --bin "freshapi" -p freshapi --tests` to apply 5 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/freshapi-68a6d8ce5133a89d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/freshapi-aa8017efd1b60277)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests freshapi
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "42193828f66c3f4e23c9991c144f6489731e0c348d0ce7c1b7a5c7059fbc566b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42193828f66c3f4e23c9991c144f6489731e0c348d0ce7c1b7a5c7059fbc566b", kill_on_drop: false }`
[INFO] [stdout] 42193828f66c3f4e23c9991c144f6489731e0c348d0ce7c1b7a5c7059fbc566b
