[INFO] cloning repository https://github.com/Revanthshalon/Blog-API-Axum-Sqlx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Revanthshalon/Blog-API-Axum-Sqlx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRevanthshalon%2FBlog-API-Axum-Sqlx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRevanthshalon%2FBlog-API-Axum-Sqlx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17d6e2b6ff3fd814387479ba30a7ed7169a91f8f [INFO] checking Revanthshalon/Blog-API-Axum-Sqlx/17d6e2b6ff3fd814387479ba30a7ed7169a91f8f against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRevanthshalon%2FBlog-API-Axum-Sqlx" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Revanthshalon/Blog-API-Axum-Sqlx on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Revanthshalon/Blog-API-Axum-Sqlx [INFO] finished tweaking git repo https://github.com/Revanthshalon/Blog-API-Axum-Sqlx [INFO] tweaked toml for git repo https://github.com/Revanthshalon/Blog-API-Axum-Sqlx written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Revanthshalon/Blog-API-Axum-Sqlx 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-postgres v0.8.0 [INFO] [stderr] Downloaded sqlx-macros v0.8.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.0 [INFO] [stderr] Downloaded sqlx-mysql v0.8.0 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.0 [INFO] [stderr] Downloaded sqlx-core v0.8.0 [INFO] [stderr] Downloaded sqlx v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 675c434db3e5d56d6ae7c880fb9323e2c7b60d33f2e3bbb7e2d2703425cff1bf [INFO] running `Command { std: "docker" "start" "-a" "675c434db3e5d56d6ae7c880fb9323e2c7b60d33f2e3bbb7e2d2703425cff1bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "675c434db3e5d56d6ae7c880fb9323e2c7b60d33f2e3bbb7e2d2703425cff1bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "675c434db3e5d56d6ae7c880fb9323e2c7b60d33f2e3bbb7e2d2703425cff1bf", kill_on_drop: false }` [INFO] [stdout] 675c434db3e5d56d6ae7c880fb9323e2c7b60d33f2e3bbb7e2d2703425cff1bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc249e22839c64f871f0e415347f95b00ebcfa5db5abcfa5e6b5be70761951ca [INFO] running `Command { std: "docker" "start" "-a" "bc249e22839c64f871f0e415347f95b00ebcfa5db5abcfa5e6b5be70761951ca", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Compiling sqlx-core v0.8.0 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking sqlx-mysql v0.8.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Compiling sqlx-macros-core v0.8.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Compiling sqlx-macros v0.8.0 [INFO] [stderr] Checking sqlx v0.8.0 [INFO] [stderr] Checking blog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `blog_id` [INFO] [stdout] --> src/repositories/blog.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | async fn get_blog_by_id(&self, blog_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blog_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/repositories/blog.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | async fn get_blog_by_user_id(&self, user_id: i64) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/repositories/user.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | async fn get_user_by_id(&self, user_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blog_id` [INFO] [stdout] --> src/repositories/blog.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | async fn get_blog_by_id(&self, blog_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blog_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/repositories/blog.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | async fn get_blog_by_user_id(&self, user_id: i64) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/repositories/user.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | async fn get_user_by_id(&self, user_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rust_log` is never read [INFO] [stdout] --> src/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub rust_log: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound`, `BadRequest`, and `InternalServerError` are never constructed [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | InternalServerError [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blog_repository` is never read [INFO] [stdout] --> src/repositories/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct RepositoryContainer { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 10 | pub blog_repository: BlogRepository, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepositoryContainer` 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 `create_blog`, `get_blogs`, `get_blog_by_id`, and `get_blog_by_user_id` are never used [INFO] [stdout] --> src/repositories/blog.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait BlogRepositoryTrait: Send + Sync { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] 6 | async fn create_blog(&self, blog: &CreateBlog) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | async fn get_blogs(&self) -> Result, AppError>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | async fn get_blog_by_id(&self, blog_id: i64) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | async fn get_blog_by_user_id(&self, user_id: i64) -> Result, AppError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_user_by_id` is never used [INFO] [stdout] --> src/repositories/user.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait UserRepositoryTrait { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] 6 | async fn create_user(&self, user: &CreateUser) -> Result; [INFO] [stdout] 7 | async fn get_user_by_id(&self, user_id: i64) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_user` is never used [INFO] [stdout] --> src/services/user.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl UserServices { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn get_user(&self, user_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rust_log` is never read [INFO] [stdout] --> src/config.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub rust_log: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound`, `BadRequest`, and `InternalServerError` are never constructed [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | InternalServerError [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blog_repository` is never read [INFO] [stdout] --> src/repositories/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct RepositoryContainer { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 10 | pub blog_repository: BlogRepository, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepositoryContainer` 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 `create_blog`, `get_blogs`, `get_blog_by_id`, and `get_blog_by_user_id` are never used [INFO] [stdout] --> src/repositories/blog.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait BlogRepositoryTrait: Send + Sync { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] 6 | async fn create_blog(&self, blog: &CreateBlog) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | async fn get_blogs(&self) -> Result, AppError>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | async fn get_blog_by_id(&self, blog_id: i64) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | async fn get_blog_by_user_id(&self, user_id: i64) -> Result, AppError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_user_by_id` is never used [INFO] [stdout] --> src/repositories/user.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait UserRepositoryTrait { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] 6 | async fn create_user(&self, user: &CreateUser) -> Result; [INFO] [stdout] 7 | async fn get_user_by_id(&self, user_id: i64) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_user` is never used [INFO] [stdout] --> src/services/user.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl UserServices { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn get_user(&self, user_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "bc249e22839c64f871f0e415347f95b00ebcfa5db5abcfa5e6b5be70761951ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc249e22839c64f871f0e415347f95b00ebcfa5db5abcfa5e6b5be70761951ca", kill_on_drop: false }` [INFO] [stdout] bc249e22839c64f871f0e415347f95b00ebcfa5db5abcfa5e6b5be70761951ca