[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] checking rajeshkumarrobert/blog_post_api against master#a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb for pr-151109
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Fblog_post_api" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rajeshkumarrobert/blog_post_api on toolchain a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "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" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded async-compression v0.4.32
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c4ae58e9c01a81c927f4789825bfe787855ceefdd36796b1d2b46dbc030f31d1
[INFO] running `Command { std: "docker" "start" "-a" "c4ae58e9c01a81c927f4789825bfe787855ceefdd36796b1d2b46dbc030f31d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4ae58e9c01a81c927f4789825bfe787855ceefdd36796b1d2b46dbc030f31d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4ae58e9c01a81c927f4789825bfe787855ceefdd36796b1d2b46dbc030f31d1", kill_on_drop: false }`
[INFO] [stdout] c4ae58e9c01a81c927f4789825bfe787855ceefdd36796b1d2b46dbc030f31d1
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e46010ec2a4328e6e0b5fbc88662c57f99b4d970a4b58e1d07986a489acbf9d1
[INFO] running `Command { std: "docker" "start" "-a" "e46010ec2a4328e6e0b5fbc88662c57f99b4d970a4b58e1d07986a489acbf9d1", kill_on_drop: false }`
[INFO] [stderr] Compiling quote v1.0.41
[INFO] [stderr] Compiling generic-array v0.14.9
[INFO] [stderr] Checking getrandom v0.2.16
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Checking base64ct v1.8.0
[INFO] [stderr] Checking parking_lot_core v0.9.12
[INFO] [stderr] Compiling serde_json v1.0.145
[INFO] [stderr] Compiling writeable v0.6.2
[INFO] [stderr] Compiling crossbeam-utils v0.8.21
[INFO] [stderr] Compiling litemap v0.8.1
[INFO] [stderr] Compiling zerocopy v0.8.27
[INFO] [stderr] Compiling serde_core v1.0.228
[INFO] [stderr] Compiling getrandom v0.3.4
[INFO] [stderr] Compiling icu_normalizer_data v2.1.1
[INFO] [stderr] Compiling icu_properties_data v2.1.1
[INFO] [stderr] Compiling syn v2.0.108
[INFO] [stderr] Checking rand_core v0.6.4
[INFO] [stderr] Checking pem-rfc7468 v0.7.0
[INFO] [stderr] Compiling futures-core v0.3.31
[INFO] [stderr] Compiling scopeguard v1.2.0
[INFO] [stderr] Checking parking_lot v0.12.5
[INFO] [stderr] Checking der v0.7.10
[INFO] [stderr] Compiling lock_api v0.4.14
[INFO] [stderr] Compiling socket2 v0.6.1
[INFO] [stderr] Compiling mio v1.1.0
[INFO] [stderr] Compiling bytes v1.10.1
[INFO] [stderr] Checking ff v0.13.1
[INFO] [stderr] Checking crypto-common v0.1.6
[INFO] [stderr] Checking block-buffer v0.10.4
[INFO] [stderr] Compiling futures-sink v0.3.31
[INFO] [stderr] Compiling utf8_iter v1.0.4
[INFO] [stderr] Compiling percent-encoding v2.3.2
[INFO] [stderr] Checking group v0.13.0
[INFO] [stderr] Checking digest v0.10.7
[INFO] [stderr] Compiling form_urlencoded v1.2.2
[INFO] [stderr] Compiling nom v7.1.3
[INFO] [stderr] Checking crypto-bigint v0.5.5
[INFO] [stderr] Checking hmac v0.12.1
[INFO] [stderr] Checking signature v2.2.0
[INFO] [stderr] Checking sha2 v0.10.9
[INFO] [stderr] Checking hkdf v0.12.4
[INFO] [stderr] Compiling tokio v1.48.0
[INFO] [stderr] Checking rand_chacha v0.3.1
[INFO] [stderr] Compiling tinyvec v1.10.0
[INFO] [stderr] Compiling tracing-core v0.1.34
[INFO] [stderr] Compiling slab v0.4.11
[INFO] [stderr] Checking spki v0.7.3
[INFO] [stderr] Checking num-integer v0.1.46
[INFO] [stderr] Compiling futures-io v0.3.31
[INFO] [stderr] Compiling hashbrown v0.16.0
[INFO] [stderr] Compiling crc-catalog v2.4.0
[INFO] [stderr] Checking pkcs8 v0.10.2
[INFO] [stderr] Compiling unicode_categories v0.1.1
[INFO] [stderr] Compiling pin-utils v0.1.0
[INFO] [stderr] Compiling futures-task v0.3.31
[INFO] [stderr] Checking sec1 v0.7.3
[INFO] [stderr] Compiling crossbeam-queue v0.3.12
[INFO] [stderr] Compiling unicode-normalization v0.1.25
[INFO] [stderr] Compiling crc v3.3.0
[INFO] [stderr] Checking futures-util v0.3.31
[INFO] [stderr] Compiling rustix v1.1.2
[INFO] [stderr] Compiling chrono v0.4.42
[INFO] [stderr] Checking rand v0.8.5
[INFO] [stderr] Compiling atoi v2.0.0
[INFO] [stderr] Compiling futures-intrusive v0.5.0
[INFO] [stderr] Compiling futures-channel v0.3.31
[INFO] [stderr] Checking elliptic-curve v0.13.8
[INFO] [stderr] Compiling indexmap v2.12.0
[INFO] [stderr] Compiling linux-raw-sys v0.11.0
[INFO] [stderr] Compiling byteorder v1.5.0
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Compiling unicode-bidi v0.3.18
[INFO] [stderr] Compiling event-listener v2.5.3
[INFO] [stderr] Compiling ahash v0.8.12
[INFO] [stderr] Compiling ppv-lite86 v0.2.21
[INFO] [stderr] Compiling unicode-properties v0.1.4
[INFO] [stderr] Compiling time-macros v0.2.24
[INFO] [stderr] Compiling sqlformat v0.2.6
[INFO] [stderr] Compiling hashbrown v0.14.5
[INFO] [stderr] Checking deranged v0.5.5
[INFO] [stderr] Compiling stringprep v0.1.5
[INFO] [stderr] Compiling curve25519-dalek v4.1.3
[INFO] [stderr] Compiling md-5 v0.10.6
[INFO] [stderr] Compiling hashlink v0.8.4
[INFO] [stderr] Checking rfc6979 v0.4.0
[INFO] [stderr] Compiling dotenvy v0.15.7
[INFO] [stderr] Compiling base64 v0.21.7
[INFO] [stderr] Compiling home v0.5.12
[INFO] [stderr] Compiling fastrand v2.3.0
[INFO] [stderr] Compiling whoami v1.6.1
[INFO] [stderr] Compiling num-bigint-dig v0.8.4
[INFO] [stderr] Compiling heck v0.4.1
[INFO] [stderr] Checking ecdsa v0.16.9
[INFO] [stderr] Checking primeorder v0.13.6
[INFO] [stderr] Checking num-iter v0.1.45
[INFO] [stderr] Checking bitflags v2.10.0
[INFO] [stderr] Checking compression-codecs v0.4.32
[INFO] [stderr] Checking regex-automata v0.4.13
[INFO] [stderr] Checking pkcs1 v0.7.5
[INFO] [stderr] Compiling tempfile v3.23.0
[INFO] [stderr] Checking ed25519 v2.2.3
[INFO] [stderr] Checking num-bigint v0.4.6
[INFO] [stderr] Checking p384 v0.13.1
[INFO] [stderr] Checking p256 v0.13.2
[INFO] [stderr] Checking pem v3.0.6
[INFO] [stderr] Checking sharded-slab v0.1.7
[INFO] [stderr] Checking thread_local v1.1.9
[INFO] [stderr] Checking rsa v0.9.8
[INFO] [stderr] Compiling tokio-stream v0.1.17
[INFO] [stderr] Compiling synstructure v0.13.2
[INFO] [stderr] Compiling darling_core v0.21.3
[INFO] [stderr] Checking matchers v0.2.0
[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 derive_more-impl v1.0.0
[INFO] [stderr] Compiling axum-macros v0.5.0
[INFO] [stderr] Compiling thiserror v1.0.69
[INFO] [stderr] Checking tracing v0.1.41
[INFO] [stderr] Checking axum-core v0.5.5
[INFO] [stderr] Compiling zerofrom v0.1.6
[INFO] [stderr] Checking thiserror v2.0.17
[INFO] [stderr] Compiling darling_macro v0.21.3
[INFO] [stderr] Checking yoke v0.8.1
[INFO] [stderr] Checking derive_more v1.0.0
[INFO] [stderr] Compiling zerovec v0.11.5
[INFO] [stderr] Compiling zerotrie v0.2.3
[INFO] [stderr] Compiling darling v0.21.3
[INFO] [stderr] Compiling serde_with_macros v3.16.1
[INFO] [stderr] Checking ed25519-dalek v2.2.0
[INFO] [stderr] Checking tinystr v0.8.2
[INFO] [stderr] Checking potential_utf v0.1.4
[INFO] [stderr] Checking icu_collections v2.1.1
[INFO] [stderr] Checking icu_locale_core v2.1.1
[INFO] [stderr] Checking serde v1.0.228
[INFO] [stderr] Checking time v0.3.44
[INFO] [stderr] Checking either v1.15.0
[INFO] [stderr] Checking tracing-serde v0.2.0
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Checking icu_provider v2.1.1
[INFO] [stderr] Checking icu_properties v2.1.1
[INFO] [stderr] Checking icu_normalizer v2.1.1
[INFO] [stderr] Checking tracing-subscriber v0.3.20
[INFO] [stderr] Checking simple_asn1 v0.6.3
[INFO] [stderr] Checking serde_with v3.16.1
[INFO] [stderr] Checking idna_adapter v1.2.1
[INFO] [stderr] Checking idna v1.1.0
[INFO] [stderr] Checking jsonwebtoken v10.2.0
[INFO] [stderr] Checking url v2.5.7
[INFO] [stderr] Checking hyper v1.7.0
[INFO] [stderr] Checking tokio-util v0.7.17
[INFO] [stderr] Checking tower v0.5.2
[INFO] [stderr] Checking async-compression v0.4.32
[INFO] [stderr] Checking tower-http v0.6.6
[INFO] [stderr] Checking sqlx-core v0.7.4
[INFO] [stderr] Checking hyper-util v0.1.17
[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