[INFO] cloning repository https://github.com/rajeshkumarrobert/blog_post_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajeshkumarrobert/blog_post_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Fblog_post_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Fblog_post_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d81b5f595b22ab1ba255c44f7a700fcbbb668192
[INFO] linting rajeshkumarrobert/blog_post_api against nightly for clippy-nonminimal_bool-denied
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Fblog_post_api" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rajeshkumarrobert/blog_post_api
[INFO] finished tweaking git repo https://github.com/rajeshkumarrobert/blog_post_api
[INFO] tweaked toml for git repo https://github.com/rajeshkumarrobert/blog_post_api written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rajeshkumarrobert/blog_post_api on toolchain nightly
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rajeshkumarrobert/blog_post_api 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded compression-core v0.4.30
[INFO] [stderr] Downloaded jsonwebtoken v10.2.0
[INFO] [stderr] Downloaded compression-codecs v0.4.32
[INFO] [stderr] Downloaded async-compression v0.4.32
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 443ee77cfb15ce609195a139d48b1201474b5b652ac3ae1f2ea3fe039991797b
[INFO] running `Command { std: "docker" "start" "-a" "443ee77cfb15ce609195a139d48b1201474b5b652ac3ae1f2ea3fe039991797b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "443ee77cfb15ce609195a139d48b1201474b5b652ac3ae1f2ea3fe039991797b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "443ee77cfb15ce609195a139d48b1201474b5b652ac3ae1f2ea3fe039991797b", kill_on_drop: false }`
[INFO] [stdout] 443ee77cfb15ce609195a139d48b1201474b5b652ac3ae1f2ea3fe039991797b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fa6cb1d886d7263b609b159bc44604ded2a301fd5988f5ffad460d5129e7ebe
[INFO] running `Command { std: "docker" "start" "-a" "4fa6cb1d886d7263b609b159bc44604ded2a301fd5988f5ffad460d5129e7ebe", kill_on_drop: false }`
[INFO] [stderr] Compiling quote v1.0.41
[INFO] [stderr] Checking subtle v2.6.1
[INFO] [stderr] Compiling generic-array v0.14.9
[INFO] [stderr] Compiling serde_core v1.0.228
[INFO] [stderr] Compiling libm v0.2.15
[INFO] [stderr] Compiling libc v0.2.177
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Checking getrandom v0.2.16
[INFO] [stderr] Checking base64ct v1.8.0
[INFO] [stderr] Compiling serde_json v1.0.145
[INFO] [stderr] Checking tracing-core v0.1.34
[INFO] [stderr] Compiling zerocopy v0.8.27
[INFO] [stderr] Compiling icu_properties_data v2.1.1
[INFO] [stderr] Compiling bytes v1.10.1
[INFO] [stderr] Checking rand_core v0.6.4
[INFO] [stderr] Checking getrandom v0.3.4
[INFO] [stderr] Compiling itoa v1.0.15
[INFO] [stderr] Checking spin v0.9.8
[INFO] [stderr] Checking pem-rfc7468 v0.7.0
[INFO] [stderr] Compiling ryu v1.0.20
[INFO] [stderr] Checking ff v0.13.1
[INFO] [stderr] Checking rand_chacha v0.3.1
[INFO] [stderr] Checking alloc-no-stdlib v2.0.4
[INFO] [stderr] Compiling hashbrown v0.16.0
[INFO] [stderr] Checking group v0.13.0
[INFO] [stderr] Compiling semver v1.0.27
[INFO] [stderr] Checking futures-util v0.3.31
[INFO] [stderr] Checking der v0.7.10
[INFO] [stderr] Compiling syn v2.0.108
[INFO] [stderr] Checking rand v0.8.5
[INFO] [stderr] Checking alloc-stdlib v0.2.2
[INFO] [stderr] Compiling crc v3.3.0
[INFO] [stderr] Compiling rustc_version v0.4.1
[INFO] [stderr] Compiling block-buffer v0.10.4
[INFO] [stderr] Compiling crypto-common v0.1.6
[INFO] [stderr] Checking ahash v0.8.12
[INFO] [stderr] Checking lazy_static v1.5.0
[INFO] [stderr] Compiling digest v0.10.7
[INFO] [stderr] Compiling rustix v1.1.2
[INFO] [stderr] Compiling indexmap v2.12.0
[INFO] [stderr] Compiling chrono v0.4.42
[INFO] [stderr] Checking crypto-bigint v0.5.5
[INFO] [stderr] Compiling sha2 v0.10.9
[INFO] [stderr] Compiling socket2 v0.6.1
[INFO] [stderr] Compiling parking_lot_core v0.9.12
[INFO] [stderr] Compiling mio v1.1.0
[INFO] [stderr] Compiling parking_lot v0.12.5
[INFO] [stderr] Checking spki v0.7.3
[INFO] [stderr] Compiling hmac v0.12.1
[INFO] [stderr] Checking pkcs8 v0.10.2
[INFO] [stderr] Checking signature v2.2.0
[INFO] [stderr] Checking sec1 v0.7.3
[INFO] [stderr] Checking hkdf v0.12.4
[INFO] [stderr] Compiling futures-intrusive v0.5.0
[INFO] [stderr] Checking rfc6979 v0.4.0
[INFO] [stderr] Checking hashbrown v0.14.5
[INFO] [stderr] Compiling time-macros v0.2.24
[INFO] [stderr] Compiling md-5 v0.10.6
[INFO] [stderr] Compiling curve25519-dalek v4.1.3
[INFO] [stderr] Checking brotli-decompressor v5.0.0
[INFO] [stderr] Compiling num-bigint-dig v0.8.4
[INFO] [stderr] Compiling tokio v1.48.0
[INFO] [stderr] Compiling ppv-lite86 v0.2.21
[INFO] [stderr] Checking hashlink v0.8.4
[INFO] [stderr] Checking elliptic-curve v0.13.8
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Checking regex-syntax v0.8.8
[INFO] [stderr] Checking num-integer v0.1.46
[INFO] [stderr] Checking atoi v2.0.0
[INFO] [stderr] Checking compression-core v0.4.30
[INFO] [stderr] Checking ed25519 v2.2.3
[INFO] [stderr] Checking primeorder v0.13.6
[INFO] [stderr] Checking num-iter v0.1.45
[INFO] [stderr] Checking ecdsa v0.16.9
[INFO] [stderr] Checking deranged v0.5.5
[INFO] [stderr] Checking num-bigint v0.4.6
[INFO] [stderr] Checking pkcs1 v0.7.5
[INFO] [stderr] Checking brotli v8.0.2
[INFO] [stderr] Checking p256 v0.13.2
[INFO] [stderr] Checking p384 v0.13.1
[INFO] [stderr] Checking serde_path_to_error v0.1.20
[INFO] [stderr] Checking regex-automata v0.4.13
[INFO] [stderr] Checking sharded-slab v0.1.7
[INFO] [stderr] Checking tracing-log v0.2.0
[INFO] [stderr] Compiling tempfile v3.23.0
[INFO] [stderr] Checking rsa v0.9.8
[INFO] [stderr] Checking matchit v0.8.4
[INFO] [stderr] Checking dotenv v0.15.0
[INFO] [stderr] Checking matchers v0.2.0
[INFO] [stderr] Compiling synstructure v0.13.2
[INFO] [stderr] Compiling darling_core v0.21.3
[INFO] [stderr] Compiling zerofrom-derive v0.1.6
[INFO] [stderr] Compiling yoke-derive v0.8.1
[INFO] [stderr] Compiling zerovec-derive v0.11.2
[INFO] [stderr] Compiling displaydoc v0.2.5
[INFO] [stderr] Compiling serde_derive v1.0.228
[INFO] [stderr] Compiling tracing-attributes v0.1.30
[INFO] [stderr] Compiling tokio-macros v2.6.0
[INFO] [stderr] Compiling thiserror-impl v1.0.69
[INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr] Compiling thiserror-impl v2.0.17
[INFO] [stderr] Compiling axum-macros v0.5.0
[INFO] [stderr] Compiling derive_more-impl v1.0.0
[INFO] [stderr] Checking compression-codecs v0.4.32
[INFO] [stderr] Compiling tokio-stream v0.1.17
[INFO] [stderr] Compiling zerofrom v0.1.6
[INFO] [stderr] Compiling yoke v0.8.1
[INFO] [stderr] Compiling zerotrie v0.2.3
[INFO] [stderr] Compiling zerovec v0.11.5
[INFO] [stderr] Checking thiserror v2.0.17
[INFO] [stderr] Compiling tinystr v0.8.2
[INFO] [stderr] Compiling potential_utf v0.1.4
[INFO] [stderr] Compiling thiserror v1.0.69
[INFO] [stderr] Compiling icu_collections v2.1.1
[INFO] [stderr] Compiling icu_locale_core v2.1.1
[INFO] [stderr] Checking tracing v0.1.41
[INFO] [stderr] Checking derive_more v1.0.0
[INFO] [stderr] Checking axum-core v0.5.5
[INFO] [stderr] Checking ed25519-dalek v2.2.0
[INFO] [stderr] Compiling darling_macro v0.21.3
[INFO] [stderr] Compiling darling v0.21.3
[INFO] [stderr] Checking icu_provider v2.1.1
[INFO] [stderr] Compiling serde_with_macros v3.16.1
[INFO] [stderr] Checking icu_normalizer v2.1.1
[INFO] [stderr] Checking icu_properties v2.1.1
[INFO] [stderr] Checking serde v1.0.228
[INFO] [stderr] Compiling either v1.15.0
[INFO] [stderr] Checking time v0.3.44
[INFO] [stderr] Checking tracing-serde v0.2.0
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Checking idna_adapter v1.2.1
[INFO] [stderr] Checking idna v1.1.0
[INFO] [stderr] Checking url v2.5.7
[INFO] [stderr] Checking hyper v1.7.0
[INFO] [stderr] Checking tower v0.5.2
[INFO] [stderr] Checking tokio-util v0.7.17
[INFO] [stderr] Checking async-compression v0.4.32
[INFO] [stderr] Checking tracing-subscriber v0.3.20
[INFO] [stderr] Checking tower-http v0.6.6
[INFO] [stderr] Checking sqlx-core v0.7.4
[INFO] [stderr] Checking simple_asn1 v0.6.3
[INFO] [stderr] Checking serde_with v3.16.1
[INFO] [stderr] Checking hyper-util v0.1.17
[INFO] [stderr] Checking jsonwebtoken v10.2.0
[INFO] [stderr] Checking axum v0.8.6
[INFO] [stderr] Checking sqlx-postgres v0.7.4
[INFO] [stderr] Compiling sqlx-macros-core v0.7.4
[INFO] [stderr] Compiling sqlx-macros v0.7.4
[INFO] [stderr] Checking sqlx v0.7.4
[INFO] [stderr] Checking blogging_platform_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variants `Forbidden` and `UnProcessedEntity` are never constructed
[INFO] [stdout] --> src/router/mod.rs:34:5
[INFO] [stdout] |
[INFO] [stdout] 30 | pub enum MyResponseError{
[INFO] [stdout] | --------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 | Forbidden,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 35 | BadRequest,
[INFO] [stdout] 36 | UnProcessedEntity(String),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `MyResponseError` has derived impls for the traits `Debug` and `Clone`, 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: method `get_user_by_id` is never used
[INFO] [stdout] --> src/repository/user.rs:14:18
[INFO] [stdout] |
[INFO] [stdout] 9 | impl UserRepository {
[INFO] [stdout] | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 | pub async fn get_user_by_id(&self, id:i32)->Result