[INFO] cloning repository https://github.com/ShubhamSinghnew/onoc_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShubhamSinghnew/onoc_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShubhamSinghnew%2Fonoc_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShubhamSinghnew%2Fonoc_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 127fa9e7ad7859fa4b896e5c450e0e47680d0ae4
[INFO] building ShubhamSinghnew/onoc_rust against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShubhamSinghnew%2Fonoc_rust" "/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/ShubhamSinghnew/onoc_rust
[INFO] finished tweaking git repo https://github.com/ShubhamSinghnew/onoc_rust
[INFO] tweaked toml for git repo https://github.com/ShubhamSinghnew/onoc_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ShubhamSinghnew/onoc_rust on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ShubhamSinghnew/onoc_rust 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded utoipa v3.5.0
[INFO] [stderr]   Downloaded quoted_printable v0.5.1
[INFO] [stderr]   Downloaded amqp_serde v0.4.1
[INFO] [stderr]   Downloaded whoami v1.5.2
[INFO] [stderr]   Downloaded tokio-tungstenite v0.21.0
[INFO] [stderr]   Downloaded serde_bytes_ng v0.1.2
[INFO] [stderr]   Downloaded pem v3.0.5
[INFO] [stderr]   Downloaded time-macros v0.2.21
[INFO] [stderr]   Downloaded tungstenite v0.21.0
[INFO] [stderr]   Downloaded email-encoding v0.4.0
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.23
[INFO] [stderr]   Downloaded amqprs v1.8.0
[INFO] [stderr]   Downloaded chumsky v0.9.3
[INFO] [stderr]   Downloaded time v0.3.40
[INFO] [stderr]   Downloaded utoipa-gen v3.5.0
[INFO] [stderr]   Downloaded redis v0.23.3
[INFO] [stderr]   Downloaded lettre v0.11.15
[INFO] [stderr]   Downloaded rustls-webpki v0.103.0
[INFO] [stderr]   Downloaded zerocopy v0.8.23
[INFO] [stderr]   Downloaded webpki-roots v0.26.8
[INFO] [stderr]   Downloaded rustls v0.23.25
[INFO] [stderr]   Downloaded rustix v1.0.3
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f03793452dcb5594c0337a34074d59fd19e33ff25096af0c5bdf306ea2dadece
[INFO] running `Command { std: "docker" "start" "-a" "f03793452dcb5594c0337a34074d59fd19e33ff25096af0c5bdf306ea2dadece", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f03793452dcb5594c0337a34074d59fd19e33ff25096af0c5bdf306ea2dadece", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f03793452dcb5594c0337a34074d59fd19e33ff25096af0c5bdf306ea2dadece", kill_on_drop: false }`
[INFO] [stdout] f03793452dcb5594c0337a34074d59fd19e33ff25096af0c5bdf306ea2dadece
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3d5e62694fbbf47ba3b69b98582e71073ad1eefb2a9711ac88b83455c38bf4b9
[INFO] running `Command { std: "docker" "start" "-a" "3d5e62694fbbf47ba3b69b98582e71073ad1eefb2a9711ac88b83455c38bf4b9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling zerocopy v0.8.23
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling tokio v1.44.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling rustix v1.0.3
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling psm v0.1.25
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling stacker v0.1.20
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rustls v0.23.25
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling time-macros v0.2.21
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling data-encoding v2.8.0
[INFO] [stderr]    Compiling chumsky v0.9.3
[INFO] [stderr]    Compiling email-encoding v0.4.0
[INFO] [stderr]    Compiling pem v3.0.5
[INFO] [stderr]    Compiling webpki-roots v0.26.8
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling email_address v0.2.9
[INFO] [stderr]    Compiling time v0.3.40
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling quoted_printable v0.5.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling rustls-webpki v0.103.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling utoipa-gen v3.5.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_bytes_ng v0.1.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling amqp_serde v0.4.1
[INFO] [stderr]    Compiling tokio-util v0.7.14
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-rustls v0.26.2
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling utoipa v3.5.0
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling amqprs v1.8.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling lettre v0.11.15
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling redis v0.23.3
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling axum_project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `sqlx::postgres::PgPoolOptions`
[INFO] [stdout]  --> src/api/users.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::postgres::PgPoolOptions;
[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: `sqlx::PgPool`
[INFO] [stdout]  --> src/api/users.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::StatusCode`
[INFO] [stdout]  --> src/api/auth.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     http::StatusCode,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Admin_Users` should have an upper camel case name
[INFO] [stdout]   --> src/api/auth.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Admin_Users {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `AdminUsers`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::postgres::PgPoolOptions`
[INFO] [stdout]  --> src/config.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::postgres::PgPoolOptions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::PgPool`
[INFO] [stdout]  --> src/config.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/db/users.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error as SqlxError`
[INFO] [stdout]  --> src/db/users.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{PgPool, FromRow, Error as SqlxError};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::types::Json`
[INFO] [stdout]  --> src/db/users.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sqlx::types::Json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Admin_Users` should have an upper camel case name
[INFO] [stdout]   --> src/db/users.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Admin_Users {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `AdminUsers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `username`
[INFO] [stdout]   --> src/api/auth.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         username,
[INFO] [stdout]    |         ^^^^^^^^ help: try ignoring the field: `username: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `truncated_du_no` is never read
[INFO] [stdout]    --> src/db/users.rs:130:35
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let mut truncated_du_no = String::new();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_user` is never used
[INFO] [stdout]  --> src/api/users.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_user(Path(id): Path<i32>) -> Json<serde_json::Value> {
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `regocde` are never read
[INFO] [stdout]   --> src/api/auth.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Admin {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 29 |     pub id: Option<i32>,  // Or whatever type you're using
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub regocde: Option<String>,  // Assuming this is optional based on your code
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `regcode` are never read
[INFO] [stdout]   --> src/api/auth.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Admin_Users {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 39 |     pub id : Option<i32>,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 40 |     pub admin_id : i32,
[INFO] [stdout] 41 |     pub regcode: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `jwt_auth` is never used
[INFO] [stdout]  --> src/middleware/auth.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn jwt_auth(req: Request<Body>, next: Next)-> Result<Response, StatusCode> {
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.23.3, sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "3d5e62694fbbf47ba3b69b98582e71073ad1eefb2a9711ac88b83455c38bf4b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d5e62694fbbf47ba3b69b98582e71073ad1eefb2a9711ac88b83455c38bf4b9", kill_on_drop: false }`
[INFO] [stdout] 3d5e62694fbbf47ba3b69b98582e71073ad1eefb2a9711ac88b83455c38bf4b9
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 069d5a593dc1d131e6c0a5316cea86710ddc2fd747fc94440e469fb0010cb310
[INFO] running `Command { std: "docker" "start" "-a" "069d5a593dc1d131e6c0a5316cea86710ddc2fd747fc94440e469fb0010cb310", kill_on_drop: false }`
[INFO] [stderr]    Compiling axum_project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `sqlx::postgres::PgPoolOptions`
[INFO] [stdout]  --> src/api/users.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::postgres::PgPoolOptions;
[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: `sqlx::PgPool`
[INFO] [stdout]  --> src/api/users.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::StatusCode`
[INFO] [stdout]  --> src/api/auth.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     http::StatusCode,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Admin_Users` should have an upper camel case name
[INFO] [stdout]   --> src/api/auth.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Admin_Users {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `AdminUsers`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::postgres::PgPoolOptions`
[INFO] [stdout]  --> src/config.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::postgres::PgPoolOptions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::PgPool`
[INFO] [stdout]  --> src/config.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/db/users.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error as SqlxError`
[INFO] [stdout]  --> src/db/users.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{PgPool, FromRow, Error as SqlxError};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::types::Json`
[INFO] [stdout]  --> src/db/users.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sqlx::types::Json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Admin_Users` should have an upper camel case name
[INFO] [stdout]   --> src/db/users.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Admin_Users {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `AdminUsers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `username`
[INFO] [stdout]   --> src/api/auth.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         username,
[INFO] [stdout]    |         ^^^^^^^^ help: try ignoring the field: `username: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `truncated_du_no` is never read
[INFO] [stdout]    --> src/db/users.rs:130:35
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let mut truncated_du_no = String::new();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_user` is never used
[INFO] [stdout]  --> src/api/users.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_user(Path(id): Path<i32>) -> Json<serde_json::Value> {
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `regocde` are never read
[INFO] [stdout]   --> src/api/auth.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Admin {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 29 |     pub id: Option<i32>,  // Or whatever type you're using
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub regocde: Option<String>,  // Assuming this is optional based on your code
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `regcode` are never read
[INFO] [stdout]   --> src/api/auth.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Admin_Users {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 39 |     pub id : Option<i32>,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 40 |     pub admin_id : i32,
[INFO] [stdout] 41 |     pub regcode: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `jwt_auth` is never used
[INFO] [stdout]  --> src/middleware/auth.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn jwt_auth(req: Request<Body>, next: Next)-> Result<Response, StatusCode> {
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.76s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.23.3, sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "069d5a593dc1d131e6c0a5316cea86710ddc2fd747fc94440e469fb0010cb310", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "069d5a593dc1d131e6c0a5316cea86710ddc2fd747fc94440e469fb0010cb310", kill_on_drop: false }`
[INFO] [stdout] 069d5a593dc1d131e6c0a5316cea86710ddc2fd747fc94440e469fb0010cb310
