[INFO] cloning repository https://github.com/Oliver-Form/papertradeapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Oliver-Form/papertradeapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOliver-Form%2Fpapertradeapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOliver-Form%2Fpapertradeapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eccd72fb624881ba419c7e7c0bc96e7890694e25 [INFO] testing Oliver-Form/papertradeapi against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOliver-Form%2Fpapertradeapi" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Oliver-Form/papertradeapi [INFO] finished tweaking git repo https://github.com/Oliver-Form/papertradeapi [INFO] tweaked toml for git repo https://github.com/Oliver-Form/papertradeapi written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Oliver-Form/papertradeapi 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/Oliver-Form/papertradeapi 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] Downloading crates ... [INFO] [stderr] Downloaded hyper-util v0.1.14 [INFO] [stderr] Downloaded rust_decimal v1.37.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5aa2ffc60688c3b0984c78f00ca625264c27468dc7672a8705010f8f334ce472 [INFO] running `Command { std: "docker" "start" "-a" "5aa2ffc60688c3b0984c78f00ca625264c27468dc7672a8705010f8f334ce472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5aa2ffc60688c3b0984c78f00ca625264c27468dc7672a8705010f8f334ce472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aa2ffc60688c3b0984c78f00ca625264c27468dc7672a8705010f8f334ce472", kill_on_drop: false }` [INFO] [stdout] 5aa2ffc60688c3b0984c78f00ca625264c27468dc7672a8705010f8f334ce472 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b35de37b24ca987c35207de094c5d0a2b3972f6f6a184d5fee8cc57e4f1de0a8 [INFO] running `Command { std: "docker" "start" "-a" "b35de37b24ca987c35207de094c5d0a2b3972f6f6a184d5fee8cc57e4f1de0a8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling axum v0.7.9 [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 papertradeapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RequestPartsExt` and `response::IntoResponse` [INFO] [stdout] --> src/auth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | response::IntoResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | RequestPartsExt, [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: `HeaderValue` [INFO] [stdout] --> src/auth.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | use axum::http::{Request, HeaderMap, HeaderValue}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorResponse` [INFO] [stdout] --> src/auth.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::routes::{ApiError, ErrorResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_data` [INFO] [stdout] --> src/auth.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | let token_data = match decode::( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unauthorized` is never constructed [INFO] [stdout] --> src/routes.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum ApiError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | Unauthorized, [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 `AuthUser` is never constructed [INFO] [stdout] --> src/auth.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct AuthUser { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_auth` is never used [INFO] [stdout] --> src/auth.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | pub async fn require_auth( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: 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" "b35de37b24ca987c35207de094c5d0a2b3972f6f6a184d5fee8cc57e4f1de0a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b35de37b24ca987c35207de094c5d0a2b3972f6f6a184d5fee8cc57e4f1de0a8", kill_on_drop: false }` [INFO] [stdout] b35de37b24ca987c35207de094c5d0a2b3972f6f6a184d5fee8cc57e4f1de0a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b48794b7df50d2d17a5c47bd109dc5074b6a938c0bab04f18689d4f7fd0c6866 [INFO] running `Command { std: "docker" "start" "-a" "b48794b7df50d2d17a5c47bd109dc5074b6a938c0bab04f18689d4f7fd0c6866", kill_on_drop: false }` [INFO] [stderr] Compiling papertradeapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RequestPartsExt` and `response::IntoResponse` [INFO] [stdout] --> src/auth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | response::IntoResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | RequestPartsExt, [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: `HeaderValue` [INFO] [stdout] --> src/auth.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | use axum::http::{Request, HeaderMap, HeaderValue}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorResponse` [INFO] [stdout] --> src/auth.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::routes::{ApiError, ErrorResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_data` [INFO] [stdout] --> src/auth.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | let token_data = match decode::( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unauthorized` is never constructed [INFO] [stdout] --> src/routes.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum ApiError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | Unauthorized, [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 `AuthUser` is never constructed [INFO] [stdout] --> src/auth.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct AuthUser { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_auth` is never used [INFO] [stdout] --> src/auth.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | pub async fn require_auth( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: 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" "b48794b7df50d2d17a5c47bd109dc5074b6a938c0bab04f18689d4f7fd0c6866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b48794b7df50d2d17a5c47bd109dc5074b6a938c0bab04f18689d4f7fd0c6866", kill_on_drop: false }` [INFO] [stdout] b48794b7df50d2d17a5c47bd109dc5074b6a938c0bab04f18689d4f7fd0c6866 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad01c91ff18dfb2f4284e023c5f46493ab90d53374f525ec6078dc1d727ecf06 [INFO] running `Command { std: "docker" "start" "-a" "ad01c91ff18dfb2f4284e023c5f46493ab90d53374f525ec6078dc1d727ecf06", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `RequestPartsExt` and `response::IntoResponse` [INFO] [stderr] --> src/auth.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | response::IntoResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 13 | RequestPartsExt, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `HeaderValue` [INFO] [stderr] --> src/auth.rs:15:38 [INFO] [stderr] | [INFO] [stderr] 15 | use axum::http::{Request, HeaderMap, HeaderValue}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ErrorResponse` [INFO] [stderr] --> src/auth.rs:21:31 [INFO] [stderr] | [INFO] [stderr] 21 | use crate::routes::{ApiError, ErrorResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token_data` [INFO] [stderr] --> src/auth.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 203 | let token_data = match decode::( [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_data` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Unauthorized` is never constructed [INFO] [stderr] --> src/routes.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 31 | pub enum ApiError { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 36 | Unauthorized, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `AuthUser` is never constructed [INFO] [stderr] --> src/auth.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 124 | pub struct AuthUser { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `require_auth` is never used [INFO] [stderr] --> src/auth.rs:177:14 [INFO] [stderr] | [INFO] [stderr] 177 | pub async fn require_auth( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `papertradeapi` (bin "papertradeapi" test) generated 7 warnings (run `cargo fix --bin "papertradeapi" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: 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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/papertradeapi-6ce575dfca0839d9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ad01c91ff18dfb2f4284e023c5f46493ab90d53374f525ec6078dc1d727ecf06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad01c91ff18dfb2f4284e023c5f46493ab90d53374f525ec6078dc1d727ecf06", kill_on_drop: false }` [INFO] [stdout] ad01c91ff18dfb2f4284e023c5f46493ab90d53374f525ec6078dc1d727ecf06