[INFO] cloning repository https://github.com/kaushik-backend/rust-rbac
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaushik-backend/rust-rbac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaushik-backend%2Frust-rbac", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaushik-backend%2Frust-rbac'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ccf3e1a4708b38dc07f87deace63e3872eb5dbe2
[INFO] checking kaushik-backend/rust-rbac/ccf3e1a4708b38dc07f87deace63e3872eb5dbe2 against master#31a9463c6e2794a59ce57a8f37abc6966afc2a58 for pr-156807
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaushik-backend%2Frust-rbac" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kaushik-backend/rust-rbac
[INFO] finished tweaking git repo https://github.com/kaushik-backend/rust-rbac
[INFO] tweaked toml for git repo https://github.com/kaushik-backend/rust-rbac written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kaushik-backend/rust-rbac on toolchain 31a9463c6e2794a59ce57a8f37abc6966afc2a58
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kaushik-backend/rust-rbac 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" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded typed-builder v0.10.0
[INFO] [stderr]   Downloaded enum-as-inner v0.4.0
[INFO] [stderr]   Downloaded rustc_version_runtime v0.2.1
[INFO] [stderr]   Downloaded resolv-conf v0.7.5
[INFO] [stderr]   Downloaded trust-dns-resolver v0.21.2
[INFO] [stderr]   Downloaded trust-dns-proto v0.21.2
[INFO] [stderr]   Downloaded bson v2.15.0
[INFO] [stderr]   Downloaded axum-extra v0.9.6
[INFO] [stderr]   Downloaded bcrypt v0.15.1
[INFO] [stderr]   Downloaded mongodb v2.8.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 716b324e86b01cc1e3a5a6febf1e781400eeb7d1090e2636084819fee06049c3
[INFO] running `Command { std: "docker" "start" "-a" "716b324e86b01cc1e3a5a6febf1e781400eeb7d1090e2636084819fee06049c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "716b324e86b01cc1e3a5a6febf1e781400eeb7d1090e2636084819fee06049c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "716b324e86b01cc1e3a5a6febf1e781400eeb7d1090e2636084819fee06049c3", kill_on_drop: false }`
[INFO] [stdout] 716b324e86b01cc1e3a5a6febf1e781400eeb7d1090e2636084819fee06049c3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 86f74f5e4d5b73e4b219d531503b5c744314205e81cc043bc82409ae537c20a9
[INFO] running `Command { std: "docker" "start" "-a" "86f74f5e4d5b73e4b219d531503b5c744314205e81cc043bc82409ae537c20a9", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]    Compiling cc v1.2.43
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking indexmap v2.12.0
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking semver-parser v0.7.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling rustc_version_runtime v0.2.1
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking data-encoding v2.9.0
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rustc_version v0.2.3
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]     Checking serde_bytes v0.11.19
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking resolv-conf v0.7.5
[INFO] [stderr]     Checking unicode-properties v0.1.4
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking headers v0.4.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking sha-1 v0.10.1
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking bcrypt v0.15.1
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling enum-as-inner v0.4.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_macro v0.13.4
[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 tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking zerovec v0.11.5
[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 icu_provider v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking serde_with v1.14.0
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking bson v2.15.0
[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 trust-dns-proto v0.21.2
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking trust-dns-resolver v0.21.2
[INFO] [stderr]     Checking mongodb v2.8.2
[INFO] [stderr]     Checking axum-extra v0.9.6
[INFO] [stderr]     Checking async_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `delete`, `get`, and `put`
[INFO] [stdout]  --> src/routes/user_routes.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 |     routing::{delete, get, post, put},
[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: `post`
[INFO] [stdout]  --> src/routes/project_routes.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{Router, routing::{get, post}};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `State`
[INFO] [stdout]  --> src/middlewares/auth.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 |     extract::{FromRequestParts, State},
[INFO] [stdout]   |                                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Authorization` and `authorization::Bearer`
[INFO] [stdout]  --> src/middlewares/auth.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use headers::{authorization::Bearer, Authorization};
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db`
[INFO] [stdout]   --> src/middlewares/auth.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::db;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `delete`, `get`, and `put`
[INFO] [stdout]  --> src/routes/user_routes.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 |     routing::{delete, get, post, put},
[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: `post`
[INFO] [stdout]  --> src/routes/project_routes.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{Router, routing::{get, post}};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `State`
[INFO] [stdout]  --> src/middlewares/auth.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 |     extract::{FromRequestParts, State},
[INFO] [stdout]   |                                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Authorization` and `authorization::Bearer`
[INFO] [stdout]  --> src/middlewares/auth.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use headers::{authorization::Bearer, Authorization};
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db`
[INFO] [stdout]   --> src/middlewares/auth.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::db;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_user_by_id` is never used
[INFO] [stdout]   --> src/services/user_service.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<'a> UserService<'a> {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub async fn get_user_by_id(&self, id: &str) -> mongodb::error::Result<Option<User>> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[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/services/user_service.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<'a> UserService<'a> {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub async fn get_user_by_id(&self, id: &str) -> mongodb::error::Result<Option<User>> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]   --> src/middlewares/auth.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Claims {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]   --> src/middlewares/auth.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Claims {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthUser` is never constructed
[INFO] [stdout]   --> src/middlewares/auth.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct AuthUser {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthUser` is never constructed
[INFO] [stdout]   --> src/middlewares/auth.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct AuthUser {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `user_has_permission` is never used
[INFO] [stdout]  --> src/middlewares/permission.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn user_has_permission(
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `user_has_permission` is never used
[INFO] [stdout]  --> src/middlewares/permission.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn user_has_permission(
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s
[INFO] running `Command { std: "docker" "inspect" "86f74f5e4d5b73e4b219d531503b5c744314205e81cc043bc82409ae537c20a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86f74f5e4d5b73e4b219d531503b5c744314205e81cc043bc82409ae537c20a9", kill_on_drop: false }`
[INFO] [stdout] 86f74f5e4d5b73e4b219d531503b5c744314205e81cc043bc82409ae537c20a9
