[INFO] cloning repository https://github.com/hjklchan/aksumer-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hjklchan/aksumer-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjklchan%2Faksumer-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjklchan%2Faksumer-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f3a3a1dcde5b92fa3efa733712014667e0619dd [INFO] building hjklchan/aksumer-api against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjklchan%2Faksumer-api" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hjklchan/aksumer-api [INFO] finished tweaking git repo https://github.com/hjklchan/aksumer-api [INFO] tweaked toml for git repo https://github.com/hjklchan/aksumer-api written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hjklchan/aksumer-api on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hjklchan/aksumer-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator_derive v0.18.1 [INFO] [stderr] Downloaded darling v0.20.8 [INFO] [stderr] Downloaded darling_macro v0.20.8 [INFO] [stderr] Downloaded validator v0.18.1 [INFO] [stderr] Downloaded serde v1.0.202 [INFO] [stderr] Downloaded stringprep v0.1.4 [INFO] [stderr] Downloaded darling_core v0.20.8 [INFO] [stderr] Downloaded axum-extra v0.9.3 [INFO] [stderr] Downloaded cc v1.0.97 [INFO] [stderr] Downloaded parking_lot v0.12.2 [INFO] [stderr] Downloaded serde_derive v1.0.202 [INFO] [stderr] Downloaded proc-macro2 v1.0.82 [INFO] [stderr] Downloaded syn v2.0.64 [INFO] [stderr] Downloaded finl_unicode v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34287a141d5902300e05490d5c6716ba68e86409a8956b8bab5c294cb4178c4c [INFO] running `Command { std: "docker" "start" "-a" "34287a141d5902300e05490d5c6716ba68e86409a8956b8bab5c294cb4178c4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34287a141d5902300e05490d5c6716ba68e86409a8956b8bab5c294cb4178c4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34287a141d5902300e05490d5c6716ba68e86409a8956b8bab5c294cb4178c4c", kill_on_drop: false }` [INFO] [stdout] 34287a141d5902300e05490d5c6716ba68e86409a8956b8bab5c294cb4178c4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e89b5c52c70574c4a2bd12e184f959035ab0f0da6f33234e7a5784d4eb0ee1c3 [INFO] running `Command { std: "docker" "start" "-a" "e89b5c52c70574c4a2bd12e184f959035ab0f0da6f33234e7a5784d4eb0ee1c3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling validator_derive v0.18.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling axum-extra v0.9.3 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling aksum-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dotenvy::dotenv` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dotenvy::dotenv; [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: `std::env` [INFO] [stdout] --> src/db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth` is never read [INFO] [stdout] --> src/config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Env { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub auth: Auth, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Env` has derived impls for the traits `Clone` and `Debug`, 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: fields `secret` and `expire` are never read [INFO] [stdout] --> src/config.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Auth { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 44 | pub secret: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | pub expire: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Auth` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/db.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Internal`, `UnsupportedHTTPMethod`, `InvalidParameter`, `MissingParameter`, and `Forbidden` are never constructed [INFO] [stdout] --> src/error/api_error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ApiError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Internal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | UnsupportedHTTPMethod, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | InvalidParameter(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | MissingParameter(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | Forbidden(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Locked` is never constructed [INFO] [stdout] --> src/error/api_error.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub enum AuthenticateError { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 112 | Locked, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthenticateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UserNotFound` is never constructed [INFO] [stdout] --> src/error/api_error.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub enum UserError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 119 | #[error("User not found")] [INFO] [stdout] 120 | UserNotFound, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/utils/jwt.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn decode(token: &str, secret: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "e89b5c52c70574c4a2bd12e184f959035ab0f0da6f33234e7a5784d4eb0ee1c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e89b5c52c70574c4a2bd12e184f959035ab0f0da6f33234e7a5784d4eb0ee1c3", kill_on_drop: false }` [INFO] [stdout] e89b5c52c70574c4a2bd12e184f959035ab0f0da6f33234e7a5784d4eb0ee1c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53403504cc1b57c656b5cc40e0bbf7a3626c2d121e8165b338e400dfbfd52b8e [INFO] running `Command { std: "docker" "start" "-a" "53403504cc1b57c656b5cc40e0bbf7a3626c2d121e8165b338e400dfbfd52b8e", kill_on_drop: false }` [INFO] [stderr] Compiling aksum-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dotenvy::dotenv` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dotenvy::dotenv; [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: `std::env` [INFO] [stdout] --> src/db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth` is never read [INFO] [stdout] --> src/config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Env { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub auth: Auth, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Env` has derived impls for the traits `Clone` and `Debug`, 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: fields `secret` and `expire` are never read [INFO] [stdout] --> src/config.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Auth { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 44 | pub secret: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | pub expire: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Auth` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/db.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Internal`, `UnsupportedHTTPMethod`, `InvalidParameter`, `MissingParameter`, and `Forbidden` are never constructed [INFO] [stdout] --> src/error/api_error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ApiError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Internal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | UnsupportedHTTPMethod, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | InvalidParameter(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | MissingParameter(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | Forbidden(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Locked` is never constructed [INFO] [stdout] --> src/error/api_error.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub enum AuthenticateError { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 112 | Locked, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthenticateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UserNotFound` is never constructed [INFO] [stdout] --> src/error/api_error.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub enum UserError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 119 | #[error("User not found")] [INFO] [stdout] 120 | UserNotFound, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/utils/jwt.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn decode(token: &str, secret: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "53403504cc1b57c656b5cc40e0bbf7a3626c2d121e8165b338e400dfbfd52b8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53403504cc1b57c656b5cc40e0bbf7a3626c2d121e8165b338e400dfbfd52b8e", kill_on_drop: false }` [INFO] [stdout] 53403504cc1b57c656b5cc40e0bbf7a3626c2d121e8165b338e400dfbfd52b8e