[INFO] cloning repository https://github.com/tejaskini/Portfolio-backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tejaskini/Portfolio-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftejaskini%2FPortfolio-backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftejaskini%2FPortfolio-backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 78ef9865f22f92377e54756f399922ccc04ab248
[INFO] checking tejaskini/Portfolio-backend against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftejaskini%2FPortfolio-backend" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tejaskini/Portfolio-backend
[INFO] finished tweaking git repo https://github.com/tejaskini/Portfolio-backend
[INFO] tweaked toml for git repo https://github.com/tejaskini/Portfolio-backend written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tejaskini/Portfolio-backend on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tejaskini/Portfolio-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" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] dd02c3e380b8db1573db204ce3783f78deecaf218fd2ffbaa3d0b79e07218078
[INFO] running `Command { std: "docker" "start" "dd02c3e380b8db1573db204ce3783f78deecaf218fd2ffbaa3d0b79e07218078", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dd02c3e380b8db1573db204ce3783f78deecaf218fd2ffbaa3d0b79e07218078", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dd02c3e380b8db1573db204ce3783f78deecaf218fd2ffbaa3d0b79e07218078" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dd02c3e380b8db1573db204ce3783f78deecaf218fd2ffbaa3d0b79e07218078", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dd02c3e380b8db1573db204ce3783f78deecaf218fd2ffbaa3d0b79e07218078" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]    Compiling zerocopy v0.8.40
[INFO] [stderr]     Checking litemap v0.8.1
[INFO] [stderr]     Checking writeable v0.6.2
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[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]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]     Checking tinyvec v1.10.0
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking simd-adler32 v0.3.8
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]    Compiling regex-lite v0.1.9
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking brotli v8.0.2
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling rustc_version_runtime v0.2.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]     Checking data-encoding v2.10.0
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling enum-as-inner v0.4.0
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]    Compiling actix-router v0.5.4
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking uuid v1.22.0
[INFO] [stderr]     Checking serde_bytes v0.11.19
[INFO] [stderr]     Checking unicode-properties v0.1.4
[INFO] [stderr]     Checking resolv-conf v0.7.6
[INFO] [stderr]    Compiling parse-size v1.1.0
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking iana-time-zone v0.1.65
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking sha-1 v0.10.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling actix-multipart-derive v0.6.1
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking serde_plain v1.0.2
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking trust-dns-proto v0.21.2
[INFO] [stderr]     Checking tempfile v3.26.0
[INFO] [stderr]     Checking serde_with v1.14.0
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking bson v2.15.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking trust-dns-resolver v0.21.2
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking mongodb v2.8.2
[INFO] [stderr]     Checking actix-http v3.12.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking actix-web v4.13.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking actix-multipart v0.6.2
[INFO] [stderr]     Checking actix-cors v0.6.5
[INFO] [stderr]     Checking portfolio-backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/routes/auth.rs:83:78
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub async fn new_reg_user(db: &mongodb::Database, payload: String) -> Result<(ObjectId), MyError> {
[INFO] [stdout]    |                                                                              ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 83 - pub async fn new_reg_user(db: &mongodb::Database, payload: String) -> Result<(ObjectId), MyError> {
[INFO] [stdout] 83 + pub async fn new_reg_user(db: &mongodb::Database, payload: String) -> Result<ObjectId, MyError> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `READ`
[INFO] [stdout]   --> src/routes/projects.rs:13:30
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::utils::constant::{READ, UPDATE, DELETE, CREATE};
[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 imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/models/project.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/routes/auth.rs:83:78
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub async fn new_reg_user(db: &mongodb::Database, payload: String) -> Result<(ObjectId), MyError> {
[INFO] [stdout]    |                                                                              ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 83 - pub async fn new_reg_user(db: &mongodb::Database, payload: String) -> Result<(ObjectId), MyError> {
[INFO] [stdout] 83 + pub async fn new_reg_user(db: &mongodb::Database, payload: String) -> Result<ObjectId, MyError> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `READ`
[INFO] [stdout]   --> src/routes/projects.rs:13:30
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::utils::constant::{READ, UPDATE, DELETE, CREATE};
[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 imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/models/project.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `error` is never used
[INFO] [stdout]   --> src/utils/response.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ApiResponse {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn error(message: &str) -> HttpResponse {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `READ` is never used
[INFO] [stdout]  --> src/utils/constant.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const READ : &str = "project:read";
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALL_PERMISSIONS` is never used
[INFO] [stdout]  --> src/utils/constant.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const ALL_PERMISSIONS: [&str; 4] = [CREATE, DELETE, UPDATE, READ];
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `block_usr` is never used
[INFO] [stdout]  --> src/utils/constant.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const block_usr : &str = "user:block";
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id` and `role` are never read
[INFO] [stdout]  --> src/models/auth.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct AuthenticatedUser {
[INFO] [stdout]   |            ----------------- fields in this struct
[INFO] [stdout] 5 |     pub user_id: ObjectId,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 6 |     pub role: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `block_usr` should have an upper case name
[INFO] [stdout]  --> src/utils/constant.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const block_usr : &str = "user:block";
[INFO] [stdout]   |           ^^^^^^^^^ help: convert the identifier to upper case: `BLOCK_USR`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `error` is never used
[INFO] [stdout]   --> src/utils/response.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ApiResponse {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn error(message: &str) -> HttpResponse {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `READ` is never used
[INFO] [stdout]  --> src/utils/constant.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const READ : &str = "project:read";
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALL_PERMISSIONS` is never used
[INFO] [stdout]  --> src/utils/constant.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const ALL_PERMISSIONS: [&str; 4] = [CREATE, DELETE, UPDATE, READ];
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `block_usr` is never used
[INFO] [stdout]  --> src/utils/constant.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const block_usr : &str = "user:block";
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `user_id` and `role` are never read
[INFO] [stdout]  --> src/models/auth.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct AuthenticatedUser {
[INFO] [stdout]   |            ----------------- fields in this struct
[INFO] [stdout] 5 |     pub user_id: ObjectId,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 6 |     pub role: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `block_usr` should have an upper case name
[INFO] [stdout]  --> src/utils/constant.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const block_usr : &str = "user:block";
[INFO] [stdout]   |           ^^^^^^^^^ help: convert the identifier to upper case: `BLOCK_USR`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s
[INFO] running `Command { std: "docker" "inspect" "dd02c3e380b8db1573db204ce3783f78deecaf218fd2ffbaa3d0b79e07218078", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd02c3e380b8db1573db204ce3783f78deecaf218fd2ffbaa3d0b79e07218078", kill_on_drop: false }`
[INFO] [stdout] dd02c3e380b8db1573db204ce3783f78deecaf218fd2ffbaa3d0b79e07218078
