[INFO] cloning repository https://github.com/Backcounty/backcounty_backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Backcounty/backcounty_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBackcounty%2Fbackcounty_backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBackcounty%2Fbackcounty_backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 045265710595022f5b368636889fff3bde5d28cd
[INFO] testing Backcounty/backcounty_backend against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBackcounty%2Fbackcounty_backend" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Backcounty/backcounty_backend
[INFO] finished tweaking git repo https://github.com/Backcounty/backcounty_backend
[INFO] tweaked toml for git repo https://github.com/Backcounty/backcounty_backend written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Backcounty/backcounty_backend 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/Backcounty/backcounty_backend 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7afb85870b5c5944d1754c06bfc27e0f628377fdfd2dd3e538e8060da6672052
[INFO] running `Command { std: "docker" "start" "-a" "7afb85870b5c5944d1754c06bfc27e0f628377fdfd2dd3e538e8060da6672052", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7afb85870b5c5944d1754c06bfc27e0f628377fdfd2dd3e538e8060da6672052", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7afb85870b5c5944d1754c06bfc27e0f628377fdfd2dd3e538e8060da6672052", kill_on_drop: false }`
[INFO] [stdout] 7afb85870b5c5944d1754c06bfc27e0f628377fdfd2dd3e538e8060da6672052
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9c65dc9ea3cd31156cde5470b34734d15896d2abd8970ea93a6596ba5f293598
[INFO] running `Command { std: "docker" "start" "-a" "9c65dc9ea3cd31156cde5470b34734d15896d2abd8970ea93a6596ba5f293598", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling cc v1.2.29
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling bigdecimal v0.4.8
[INFO] [stderr]    Compiling rust_decimal v1.37.2
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling ordered-float v4.6.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling clap_builder v4.5.41
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling inherent v1.0.12
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling sea-query-derive v0.4.3
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling ouroboros_macro v0.18.5
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling sea-bae v0.2.1
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling aliasable v0.1.3
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling sea-orm-macros v1.1.14
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling clap v4.5.41
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling ouroboros v0.18.5
[INFO] [stderr]    Compiling sea-schema-derive v0.3.0
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling h2 v0.4.11
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling sea-query v0.32.6
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling axum-core v0.5.2
[INFO] [stderr]    Compiling sea-orm-cli v1.1.14
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling sea-schema v0.16.2
[INFO] [stderr]    Compiling pem v3.0.5
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling model v0.1.0 (/opt/rustwide/workdir/model)
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling axum-macros v0.5.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling headers-core v0.3.0
[INFO] [stderr]    Compiling cookie-rs v0.4.1
[INFO] [stderr]    Compiling headers v0.4.1
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling axum-cookie v0.2.4
[INFO] [stderr]    Compiling hyper-util v0.1.14
[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 auth-service v0.1.0 (/opt/rustwide/workdir/services/auth-service)
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]  --> services/auth-service/src/jwt_service.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Deserializer, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `session_id` is never read
[INFO] [stdout]   --> services/auth-service/src/jwt_service.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct UserInfo {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 21 |     pub user_id: uuid::Uuid,
[INFO] [stdout] 22 |     session_id:uuid::Uuid,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserInfo` has derived impls for the traits `Clone` and `Debug`, but these are 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: fields `encoding_secret` and `decoding_secret` are never read
[INFO] [stdout]   --> services/auth-service/src/jwt_service.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct JwtService {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 35 |     encoding_key: EncodingKey,
[INFO] [stdout] 36 |     encoding_secret: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     decoding_key: DecodingKey,
[INFO] [stdout] 38 |     decoding_secret: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `JwtService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling axum-extra v0.10.1
[INFO] [stderr]    Compiling sea-orm-migration v1.1.14
[INFO] [stderr]    Compiling migration v0.1.0 (/opt/rustwide/workdir/migration)
[INFO] [stderr]    Compiling db v0.1.0 (/opt/rustwide/workdir/db)
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]   --> db/src/entities/auth/refresh_token.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn def(&self) -> RelationDef {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 23 |         Relation::Empty.def()
[INFO] [stdout]    |         --------------------- recursive call site
[INFO] [stdout]    |
[INFO] [stdout]    = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]    = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blog_id`
[INFO] [stdout]   --> db/src/repo/blog_repo.rs:50:45
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub async fn get_blog_by_blog_id(&self, blog_id: &Uuid) -> Result<BlogModel> {
[INFO] [stdout]    |                                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blog_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling routes v0.1.0 (/opt/rustwide/workdir/routes)
[INFO] [stdout] warning: unused import: `UnauthenticatedSharedState`
[INFO] [stdout]  --> routes/src/handlers/blog.rs:2:47
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{AuthenticatedSharedState, Result, UnauthenticatedSharedState};
[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: `Result`
[INFO] [stdout]  --> routes/src/middleware/auth.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{AuthenticatedSharedState, Result};
[INFO] [stdout]   |                                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JwtService`
[INFO] [stdout]  --> routes/src/middleware/auth.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use auth_service::{JwtService, UserInfo};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `State`
[INFO] [stdout]  --> routes/src/middleware/auth.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::extract::{Request, State};
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `db::Db`
[INFO] [stdout]  --> routes/src/middleware/auth.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use db::Db;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Authorization`, `Header`, and `authorization::Bearer`
[INFO] [stdout]  --> routes/src/middleware/auth.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use headers::{self, authorization::Bearer, Authorization, Header};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::header::AUTHORIZATION`
[INFO] [stdout]  --> routes/src/middleware/auth.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use http::header::AUTHORIZATION;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderValue`
[INFO] [stdout]  --> routes/src/middleware/auth.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use http::{HeaderValue, StatusCode};
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::Extension`
[INFO] [stdout]   --> routes/src/middleware/auth.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use axum::Extension;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CookieManager`
[INFO] [stdout]   --> routes/src/lib.rs:14:32
[INFO] [stdout]    |
[INFO] [stdout] 14 | use axum_cookie::{CookieLayer, CookieManager};
[INFO] [stdout]    |                                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderName`
[INFO] [stdout]   --> routes/src/lib.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | use http::{HeaderName, Method};
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AllowHeaders`
[INFO] [stdout]   --> routes/src/lib.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tower_http::cors::{AllowHeaders, AllowOrigin, CorsLayer};
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> routes/src/middleware/auth.rs:51:20
[INFO] [stdout]    |
[INFO] [stdout] 51 |         if let Err(e)= authorization_str {
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `AuthenticatedSharedState` is more private than the item `auth::AuthLayer::new`
[INFO] [stdout]   --> routes/src/middleware/auth.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn new(auth_state: AuthenticatedSharedState) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `auth::AuthLayer::new` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `AuthenticatedSharedState` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> routes/src/lib.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct AuthenticatedSharedState {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling backcounty v0.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 04s
[INFO] running `Command { std: "docker" "inspect" "9c65dc9ea3cd31156cde5470b34734d15896d2abd8970ea93a6596ba5f293598", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c65dc9ea3cd31156cde5470b34734d15896d2abd8970ea93a6596ba5f293598", kill_on_drop: false }`
[INFO] [stdout] 9c65dc9ea3cd31156cde5470b34734d15896d2abd8970ea93a6596ba5f293598
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8d9e4c5e6ff2ddae1b6ca6e630938bc6d173d871f5e1b90d5cb6f0abcd00dfb8
[INFO] running `Command { std: "docker" "start" "-a" "8d9e4c5e6ff2ddae1b6ca6e630938bc6d173d871f5e1b90d5cb6f0abcd00dfb8", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]  --> services/auth-service/src/jwt_service.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Deserializer, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `session_id` is never read
[INFO] [stdout]   --> services/auth-service/src/jwt_service.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct UserInfo {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 21 |     pub user_id: uuid::Uuid,
[INFO] [stdout] 22 |     session_id:uuid::Uuid,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserInfo` has derived impls for the traits `Clone` and `Debug`, but these are 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: fields `encoding_secret` and `decoding_secret` are never read
[INFO] [stdout]   --> services/auth-service/src/jwt_service.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct JwtService {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 35 |     encoding_key: EncodingKey,
[INFO] [stdout] 36 |     encoding_secret: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     decoding_key: DecodingKey,
[INFO] [stdout] 38 |     decoding_secret: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `JwtService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]   --> db/src/entities/auth/refresh_token.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn def(&self) -> RelationDef {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 23 |         Relation::Empty.def()
[INFO] [stdout]    |         --------------------- recursive call site
[INFO] [stdout]    |
[INFO] [stdout]    = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]    = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blog_id`
[INFO] [stdout]   --> db/src/repo/blog_repo.rs:50:45
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub async fn get_blog_by_blog_id(&self, blog_id: &Uuid) -> Result<BlogModel> {
[INFO] [stdout]    |                                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blog_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UnauthenticatedSharedState`
[INFO] [stdout]  --> routes/src/handlers/blog.rs:2:47
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{AuthenticatedSharedState, Result, UnauthenticatedSharedState};
[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: `Result`
[INFO] [stdout]  --> routes/src/middleware/auth.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{AuthenticatedSharedState, Result};
[INFO] [stdout]   |                                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JwtService`
[INFO] [stdout]  --> routes/src/middleware/auth.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use auth_service::{JwtService, UserInfo};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `State`
[INFO] [stdout]  --> routes/src/middleware/auth.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::extract::{Request, State};
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling backcounty v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `db::Db`
[INFO] [stdout]  --> routes/src/middleware/auth.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use db::Db;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Authorization`, `Header`, and `authorization::Bearer`
[INFO] [stdout]  --> routes/src/middleware/auth.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use headers::{self, authorization::Bearer, Authorization, Header};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::header::AUTHORIZATION`
[INFO] [stdout]  --> routes/src/middleware/auth.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use http::header::AUTHORIZATION;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderValue`
[INFO] [stdout]  --> routes/src/middleware/auth.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use http::{HeaderValue, StatusCode};
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::Extension`
[INFO] [stdout]   --> routes/src/middleware/auth.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use axum::Extension;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CookieManager`
[INFO] [stdout]   --> routes/src/lib.rs:14:32
[INFO] [stdout]    |
[INFO] [stdout] 14 | use axum_cookie::{CookieLayer, CookieManager};
[INFO] [stdout]    |                                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderName`
[INFO] [stdout]   --> routes/src/lib.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | use http::{HeaderName, Method};
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AllowHeaders`
[INFO] [stdout]   --> routes/src/lib.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tower_http::cors::{AllowHeaders, AllowOrigin, CorsLayer};
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> routes/src/middleware/auth.rs:51:20
[INFO] [stdout]    |
[INFO] [stdout] 51 |         if let Err(e)= authorization_str {
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `AuthenticatedSharedState` is more private than the item `auth::AuthLayer::new`
[INFO] [stdout]   --> routes/src/middleware/auth.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn new(auth_state: AuthenticatedSharedState) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `auth::AuthLayer::new` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `AuthenticatedSharedState` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> routes/src/lib.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct AuthenticatedSharedState {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.08s
[INFO] running `Command { std: "docker" "inspect" "8d9e4c5e6ff2ddae1b6ca6e630938bc6d173d871f5e1b90d5cb6f0abcd00dfb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d9e4c5e6ff2ddae1b6ca6e630938bc6d173d871f5e1b90d5cb6f0abcd00dfb8", kill_on_drop: false }`
[INFO] [stdout] 8d9e4c5e6ff2ddae1b6ca6e630938bc6d173d871f5e1b90d5cb6f0abcd00dfb8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6a717b41f7a2491c64bbafea9e3d891a3282cfa97ca98dd7e503f55d0c1bcbb7
[INFO] running `Command { std: "docker" "start" "-a" "6a717b41f7a2491c64bbafea9e3d891a3282cfa97ca98dd7e503f55d0c1bcbb7", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Deserializer`
[INFO] [stderr]  --> services/auth-service/src/jwt_service.rs:4:26
[INFO] [stderr]   |
[INFO] [stderr] 4 | use serde::{Deserialize, Deserializer, Serialize};
[INFO] [stderr]   |                          ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `session_id` is never read
[INFO] [stderr]   --> services/auth-service/src/jwt_service.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct UserInfo {
[INFO] [stderr]    |            -------- field in this struct
[INFO] [stderr] 21 |     pub user_id: uuid::Uuid,
[INFO] [stderr] 22 |     session_id:uuid::Uuid,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `UserInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `encoding_secret` and `decoding_secret` are never read
[INFO] [stderr]   --> services/auth-service/src/jwt_service.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub struct JwtService {
[INFO] [stderr]    |            ---------- fields in this struct
[INFO] [stderr] 35 |     encoding_key: EncodingKey,
[INFO] [stderr] 36 |     encoding_secret: String,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 37 |     decoding_key: DecodingKey,
[INFO] [stderr] 38 |     decoding_secret: String,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `JwtService` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `auth-service` (lib) generated 3 warnings (run `cargo fix --lib -p auth-service` to apply 1 suggestion)
[INFO] [stderr] warning: function cannot return without recursing
[INFO] [stderr]   --> db/src/entities/auth/refresh_token.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 |     fn def(&self) -> RelationDef {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stderr] 23 |         Relation::Empty.def()
[INFO] [stderr]    |         --------------------- recursive call site
[INFO] [stderr]    |
[INFO] [stderr]    = help: a `loop` may express intention better if this is on purpose
[INFO] [stderr]    = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `blog_id`
[INFO] [stderr]   --> db/src/repo/blog_repo.rs:50:45
[INFO] [stderr]    |
[INFO] [stderr] 50 |     pub async fn get_blog_by_blog_id(&self, blog_id: &Uuid) -> Result<BlogModel> {
[INFO] [stderr]    |                                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blog_id`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `db` (lib) generated 2 warnings (run `cargo fix --lib -p db` to apply 1 suggestion)
[INFO] [stderr] warning: unused import: `UnauthenticatedSharedState`
[INFO] [stderr]  --> routes/src/handlers/blog.rs:2:47
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::{AuthenticatedSharedState, Result, UnauthenticatedSharedState};
[INFO] [stderr]   |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Result`
[INFO] [stderr]  --> routes/src/middleware/auth.rs:2:39
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::{AuthenticatedSharedState, Result};
[INFO] [stderr]   |                                       ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `JwtService`
[INFO] [stderr]  --> routes/src/middleware/auth.rs:3:20
[INFO] [stderr]   |
[INFO] [stderr] 3 | use auth_service::{JwtService, UserInfo};
[INFO] [stderr]   |                    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `State`
[INFO] [stderr]  --> routes/src/middleware/auth.rs:4:30
[INFO] [stderr]   |
[INFO] [stderr] 4 | use axum::extract::{Request, State};
[INFO] [stderr]   |                              ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `db::Db`
[INFO] [stderr]  --> routes/src/middleware/auth.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use db::Db;
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Authorization`, `Header`, and `authorization::Bearer`
[INFO] [stderr]  --> routes/src/middleware/auth.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 | use headers::{self, authorization::Bearer, Authorization, Header};
[INFO] [stderr]   |                     ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `http::header::AUTHORIZATION`
[INFO] [stderr]  --> routes/src/middleware/auth.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use http::header::AUTHORIZATION;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HeaderValue`
[INFO] [stderr]  --> routes/src/middleware/auth.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 | use http::{HeaderValue, StatusCode};
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `axum::Extension`
[INFO] [stderr]   --> routes/src/middleware/auth.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use axum::Extension;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `CookieManager`
[INFO] [stderr]   --> routes/src/lib.rs:14:32
[INFO] [stderr]    |
[INFO] [stderr] 14 | use axum_cookie::{CookieLayer, CookieManager};
[INFO] [stderr]    |                                ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HeaderName`
[INFO] [stderr]   --> routes/src/lib.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | use http::{HeaderName, Method};
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `AllowHeaders`
[INFO] [stderr]   --> routes/src/lib.rs:18:24
[INFO] [stderr]    |
[INFO] [stderr] 18 | use tower_http::cors::{AllowHeaders, AllowOrigin, CorsLayer};
[INFO] [stderr]    |                        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> routes/src/middleware/auth.rs:51:20
[INFO] [stderr]    |
[INFO] [stderr] 51 |         if let Err(e)= authorization_str {
[INFO] [stderr]    |                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `AuthenticatedSharedState` is more private than the item `auth::AuthLayer::new`
[INFO] [stderr]   --> routes/src/middleware/auth.rs:85:5
[INFO] [stderr]    |
[INFO] [stderr] 85 |     pub fn new(auth_state: AuthenticatedSharedState) -> Self {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `auth::AuthLayer::new` is reachable at visibility `pub`
[INFO] [stderr]    |
[INFO] [stderr] note: but type `AuthenticatedSharedState` is only usable at visibility `pub(crate)`
[INFO] [stderr]   --> routes/src/lib.rs:30:1
[INFO] [stderr]    |
[INFO] [stderr] 30 | struct AuthenticatedSharedState {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `routes` (lib) generated 14 warnings (run `cargo fix --lib -p routes` to apply 13 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/backcounty-1087aaffbad9a25a)
[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" "6a717b41f7a2491c64bbafea9e3d891a3282cfa97ca98dd7e503f55d0c1bcbb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a717b41f7a2491c64bbafea9e3d891a3282cfa97ca98dd7e503f55d0c1bcbb7", kill_on_drop: false }`
[INFO] [stdout] 6a717b41f7a2491c64bbafea9e3d891a3282cfa97ca98dd7e503f55d0c1bcbb7
