[INFO] cloning repository https://github.com/pfcoder/x-gpu-backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pfcoder/x-gpu-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfcoder%2Fx-gpu-backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfcoder%2Fx-gpu-backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e1050d151ad7105bc6d18d27cf60b8cd7858fd9
[INFO] testing pfcoder/x-gpu-backend against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfcoder%2Fx-gpu-backend" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pfcoder/x-gpu-backend on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/pfcoder/x-gpu-backend
[INFO] finished tweaking git repo https://github.com/pfcoder/x-gpu-backend
[INFO] tweaked toml for git repo https://github.com/pfcoder/x-gpu-backend written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/pfcoder/x-gpu-backend already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded jwt v0.15.0
[INFO] [stderr]   Downloaded blowfish v0.8.0
[INFO] [stderr]   Downloaded bcrypt v0.10.1
[INFO] [stderr]   Downloaded hdrhistogram v7.5.0
[INFO] [stderr]   Downloaded poem-derive v1.3.16
[INFO] [stderr]   Downloaded if_chain v1.0.2
[INFO] [stderr]   Downloaded validator_derive v0.14.0
[INFO] [stderr]   Downloaded poem v1.3.16
[INFO] [stderr]   Downloaded priority-queue v1.2.1
[INFO] [stderr]   Downloaded tracing-bunyan-formatter v0.3.2
[INFO] [stderr]   Downloaded iri-string v0.4.1
[INFO] [stderr]   Downloaded poem-openapi-derive v1.3.16
[INFO] [stderr]   Downloaded poem-openapi v1.3.16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9b2ddbff3014a8771216470807aa43f28a39910f9e3428bb627f13b617f4a32a
[INFO] running `Command { std: "docker" "start" "-a" "9b2ddbff3014a8771216470807aa43f28a39910f9e3428bb627f13b617f4a32a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9b2ddbff3014a8771216470807aa43f28a39910f9e3428bb627f13b617f4a32a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b2ddbff3014a8771216470807aa43f28a39910f9e3428bb627f13b617f4a32a", kill_on_drop: false }`
[INFO] [stdout] 9b2ddbff3014a8771216470807aa43f28a39910f9e3428bb627f13b617f4a32a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1e36807ced2295d509e9ea83ce7c59c0c18f61fd28c5a552aa13a3a19c0b5ece
[INFO] running `Command { std: "docker" "start" "-a" "1e36807ced2295d509e9ea83ce7c59c0c18f61fd28c5a552aa13a3a19c0b5ece", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling parking_lot_core v0.9.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.3
[INFO] [stderr]    Compiling crossbeam-queue v0.3.5
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling crc-catalog v1.1.1
[INFO] [stderr]    Compiling num_threads v0.1.5
[INFO] [stderr]    Compiling time-macros v0.2.3
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling paste v1.0.6
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling whoami v1.2.1
[INFO] [stderr]    Compiling tower-layer v0.3.1
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling spin v0.9.2
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling serde v0.8.23
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]    Compiling rust-ini v0.13.0
[INFO] [stderr]    Compiling zeroize v1.5.4
[INFO] [stderr]    Compiling http-range-header v0.3.0
[INFO] [stderr]    Compiling ipnet v2.4.0
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling tracing-core v0.1.23
[INFO] [stderr]    Compiling sharded-slab v0.1.4
[INFO] [stderr]    Compiling lock_api v0.4.6
[INFO] [stderr]    Compiling thread_local v1.1.4
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling multer v2.0.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.8
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling priority-queue v1.2.1
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling alloc-stdlib v0.2.1
[INFO] [stderr]    Compiling crc v2.1.0
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling brotli-decompressor v2.3.2
[INFO] [stderr]    Compiling tracing-log v0.1.2
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.16
[INFO] [stderr]    Compiling crossbeam-channel v0.5.4
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling getrandom v0.2.5
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling mio v0.8.2
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling gethostname v0.2.3
[INFO] [stderr]    Compiling time v0.3.7
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling brotli v3.3.3
[INFO] [stderr]    Compiling iri-string v0.4.1
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling flate2 v1.0.22
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.11.1
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling crypto-common v0.1.3
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling universal-hash v0.4.1
[INFO] [stderr]    Compiling aead v0.4.3
[INFO] [stderr]    Compiling atoi v0.4.0
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling pem v0.8.3
[INFO] [stderr]    Compiling hdrhistogram v7.5.0
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling futures-intrusive v0.4.0
[INFO] [stderr]    Compiling validator_types v0.14.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling md-5 v0.9.1
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling hmac v0.11.0
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling blowfish v0.8.0
[INFO] [stderr]    Compiling darling_core v0.13.1
[INFO] [stderr]    Compiling polyval v0.5.3
[INFO] [stderr]    Compiling serde-hjson v0.9.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hashlink v0.7.0
[INFO] [stderr]    Compiling bcrypt v0.10.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]    Compiling sha-1 v0.10.0
[INFO] [stderr]    Compiling ghash v0.4.4
[INFO] [stderr]    Compiling tokio-stream v0.1.8
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling aes-gcm v0.9.4
[INFO] [stderr]    Compiling hkdf v0.12.3
[INFO] [stderr]    Compiling headers v0.3.7
[INFO] [stderr]    Compiling rustls v0.19.1
[INFO] [stderr]    Compiling webpki-roots v0.21.1
[INFO] [stderr]    Compiling tokio-rustls v0.22.0
[INFO] [stderr]    Compiling sqlx-rt v0.5.11
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling tracing-attributes v0.1.20
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling async-trait v0.1.52
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling validator_derive v0.14.0
[INFO] [stderr]    Compiling darling_macro v0.13.1
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling darling v0.13.1
[INFO] [stderr]    Compiling futures-executor v0.3.21
[INFO] [stderr]    Compiling futures v0.3.21
[INFO] [stderr]    Compiling tracing v0.1.32
[INFO] [stderr]    Compiling tracing-subscriber v0.3.9
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling tokio-util v0.7.0
[INFO] [stderr]    Compiling async-compression v0.3.12
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.3.12
[INFO] [stderr]    Compiling tower v0.4.12
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling secrecy v0.8.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]    Compiling tracing-bunyan-formatter v0.3.2
[INFO] [stderr]    Compiling jwt v0.15.0
[INFO] [stderr]    Compiling config v0.11.0
[INFO] [stderr]    Compiling validator v0.14.0
[INFO] [stderr]    Compiling typed-headers v0.2.0
[INFO] [stderr]    Compiling simple_asn1 v0.4.1
[INFO] [stderr]    Compiling serde-aux v3.0.1
[INFO] [stderr]    Compiling sqlformat v0.1.8
[INFO] [stderr]    Compiling poem-derive v1.3.16
[INFO] [stderr]    Compiling poem-openapi-derive v1.3.16
[INFO] [stderr]    Compiling jsonwebtoken v7.2.0
[INFO] [stderr]    Compiling sqlx-core v0.5.11
[INFO] [stderr]    Compiling tower-http v0.2.5
[INFO] [stderr]    Compiling hyper v0.14.17
[INFO] [stderr]    Compiling sqlx-macros v0.5.11
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling poem v1.3.16
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling poem-openapi v1.3.16
[INFO] [stderr]    Compiling sqlx v0.5.11
[INFO] [stderr]    Compiling x-gpu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Result`, `post`, `web::Data`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     post,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 14 |     session::{CookieConfig, CookieSession},
[INFO] [stdout] 15 |     web::Data,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 16 |     Endpoint, EndpointExt, Result, Route, Server,
[INFO] [stdout]    |                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApiResponse`, `Json`, `Object`, `OpenApi`, `PlainText`, `param::Path`
[INFO] [stdout]   --> src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     param::Path,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     payload::{Json, PlainText},
[INFO] [stdout]    |               ^^^^  ^^^^^^^^^
[INFO] [stdout] 21 |     ApiResponse, Object, OpenApi, OpenApiService,
[INFO] [stdout]    |     ^^^^^^^^^^^  ^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::configuration::get_configuration`
[INFO] [stdout]  --> src/api.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::configuration::get_configuration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Endpoint`, `Request`, `web::Data`
[INFO] [stdout]  --> src/api.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use poem::{web::Data, Endpoint, Request};
[INFO] [stdout]   |            ^^^^^^^^^  ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApiResponse`, `SecurityScheme`, `auth::ApiKey`, `param::Path`, `payload::Json`
[INFO] [stdout]  --> src/api.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     auth::ApiKey, param::Path, payload::Json, ApiResponse, OpenApi, SecurityScheme,
[INFO] [stdout]   |     ^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::PgPool`
[INFO] [stdout]  --> src/api.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sqlx::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]  --> src/handlers/mod.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | use poem::{handler, http::StatusCode, Result};
[INFO] [stdout]   |                                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Request`, `http::StatusCode`
[INFO] [stdout]  --> src/handlers/user.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 |     error::BadRequest, handler, http::StatusCode, http::Uri, session::Session, web::Data,
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     web::Query, web::Redirect, Request, Result,
[INFO] [stdout]   |                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/handlers/user.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApiResponse`, `Json`, `OpenApiService`, `OpenApi`, `PlainText`, `param::Path`
[INFO] [stdout]   --> src/response.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     param::Path,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 35 |     payload::{Json, PlainText},
[INFO] [stdout]    |               ^^^^  ^^^^^^^^^
[INFO] [stdout] 36 |     ApiResponse, Object, OpenApi, OpenApiService,
[INFO] [stdout]    |     ^^^^^^^^^^^          ^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/service/user.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `LoginInput`, `RegisterInput`, `utils::encryption`
[INFO] [stdout]  --> src/service/user.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |     dto::{LoginInput, RegisterInput},
[INFO] [stdout]   |           ^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 6 |     error::{Error, Result},
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 7 |     model::{CreateUserData, UpdateUserData, User},
[INFO] [stdout] 8 |     utils::encryption,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session`
[INFO] [stdout]   --> src/handlers/user.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     session: &Session,
[INFO] [stdout]    |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `ApiResult`
[INFO] [stdout]   --> src/error.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub type ApiResult<T> = std::result::Result<T, ApiError>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `id_token`
[INFO] [stdout]   --> src/handlers/user.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     id_token: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `token_type`
[INFO] [stdout]   --> src/handlers/user.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     token_type: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `scope`
[INFO] [stdout]   --> src/handlers/user.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     scope: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `iss`
[INFO] [stdout]   --> src/handlers/user.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     iss: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoUserInfoResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `aud`
[INFO] [stdout]   --> src/handlers/user.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     aud: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoUserInfoResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `AuthService`
[INFO] [stdout]   --> src/service/user.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct AuthService;
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `validate_payload`
[INFO] [stdout]  --> src/utils/mod.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn validate_payload<T: Validate>(payload: &T) -> Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `hash_password`
[INFO] [stdout]  --> src/utils/encryption.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn hash_password(password: String) -> Result<String> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `verify_password`
[INFO] [stdout]   --> src/utils/encryption.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub async fn verify_password(password: String, hash: String) -> Result<bool> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `verify`
[INFO] [stdout]   --> src/utils/jwt.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn verify(token: &str) -> Result<Claims> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5m 08s
[INFO] running `Command { std: "docker" "inspect" "1e36807ced2295d509e9ea83ce7c59c0c18f61fd28c5a552aa13a3a19c0b5ece", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e36807ced2295d509e9ea83ce7c59c0c18f61fd28c5a552aa13a3a19c0b5ece", kill_on_drop: false }`
[INFO] [stdout] 1e36807ced2295d509e9ea83ce7c59c0c18f61fd28c5a552aa13a3a19c0b5ece
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96bf895e709b873feabd88302eff6ec9be4d28e50c68b7b45568018c4336669d
[INFO] running `Command { std: "docker" "start" "-a" "96bf895e709b873feabd88302eff6ec9be4d28e50c68b7b45568018c4336669d", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `Result`, `post`, `web::Data`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     post,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 14 |     session::{CookieConfig, CookieSession},
[INFO] [stdout] 15 |     web::Data,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 16 |     Endpoint, EndpointExt, Result, Route, Server,
[INFO] [stdout]    |                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApiResponse`, `Json`, `Object`, `OpenApi`, `PlainText`, `param::Path`
[INFO] [stdout]   --> src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     param::Path,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     payload::{Json, PlainText},
[INFO] [stdout]    |               ^^^^  ^^^^^^^^^
[INFO] [stdout] 21 |     ApiResponse, Object, OpenApi, OpenApiService,
[INFO] [stdout]    |     ^^^^^^^^^^^  ^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::configuration::get_configuration`
[INFO] [stdout]  --> src/api.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::configuration::get_configuration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Endpoint`, `Request`, `web::Data`
[INFO] [stdout]  --> src/api.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use poem::{web::Data, Endpoint, Request};
[INFO] [stdout]   |            ^^^^^^^^^  ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApiResponse`, `SecurityScheme`, `auth::ApiKey`, `param::Path`, `payload::Json`
[INFO] [stdout]  --> src/api.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     auth::ApiKey, param::Path, payload::Json, ApiResponse, OpenApi, SecurityScheme,
[INFO] [stdout]   |     ^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::PgPool`
[INFO] [stdout]  --> src/api.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sqlx::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]  --> src/handlers/mod.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | use poem::{handler, http::StatusCode, Result};
[INFO] [stdout]   |                                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Request`, `http::StatusCode`
[INFO] [stdout]  --> src/handlers/user.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 |     error::BadRequest, handler, http::StatusCode, http::Uri, session::Session, web::Data,
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     web::Query, web::Redirect, Request, Result,
[INFO] [stdout]   |                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/handlers/user.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApiResponse`, `Json`, `OpenApiService`, `OpenApi`, `PlainText`, `param::Path`
[INFO] [stdout]   --> src/response.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     param::Path,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 35 |     payload::{Json, PlainText},
[INFO] [stdout]    |               ^^^^  ^^^^^^^^^
[INFO] [stdout] 36 |     ApiResponse, Object, OpenApi, OpenApiService,
[INFO] [stdout]    |     ^^^^^^^^^^^          ^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/service/user.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `LoginInput`, `RegisterInput`, `utils::encryption`
[INFO] [stdout]  --> src/service/user.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |     dto::{LoginInput, RegisterInput},
[INFO] [stdout]   |           ^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 6 |     error::{Error, Result},
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 7 |     model::{CreateUserData, UpdateUserData, User},
[INFO] [stdout] 8 |     utils::encryption,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session`
[INFO] [stdout]   --> src/handlers/user.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     session: &Session,
[INFO] [stdout]    |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `ApiResult`
[INFO] [stdout]   --> src/error.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub type ApiResult<T> = std::result::Result<T, ApiError>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `id_token`
[INFO] [stdout]   --> src/handlers/user.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     id_token: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `token_type`
[INFO] [stdout]   --> src/handlers/user.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     token_type: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `scope`
[INFO] [stdout]   --> src/handlers/user.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     scope: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `iss`
[INFO] [stdout]   --> src/handlers/user.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     iss: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoUserInfoResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `aud`
[INFO] [stdout]   --> src/handlers/user.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     aud: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoUserInfoResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `AuthService`
[INFO] [stdout]   --> src/service/user.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct AuthService;
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `validate_payload`
[INFO] [stdout]  --> src/utils/mod.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn validate_payload<T: Validate>(payload: &T) -> Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `hash_password`
[INFO] [stdout]  --> src/utils/encryption.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn hash_password(password: String) -> Result<String> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `verify_password`
[INFO] [stdout]   --> src/utils/encryption.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub async fn verify_password(password: String, hash: String) -> Result<bool> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling x-gpu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function is never used: `verify`
[INFO] [stdout]   --> src/utils/jwt.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn verify(token: &str) -> Result<Claims> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `::`, `;`, or `as`, found `-`
[INFO] [stdout]  --> tests/health_check.rs:1:6
[INFO] [stdout]   |
[INFO] [stdout] 1 | use x-gpu::configuration::get_configuration;
[INFO] [stdout]   |      ^ expected one of `::`, `;`, or `as`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `x-gpu` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused imports: `Result`, `post`, `web::Data`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     post,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 14 |     session::{CookieConfig, CookieSession},
[INFO] [stdout] 15 |     web::Data,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 16 |     Endpoint, EndpointExt, Result, Route, Server,
[INFO] [stdout]    |                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApiResponse`, `Json`, `Object`, `OpenApi`, `PlainText`, `param::Path`
[INFO] [stdout]   --> src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     param::Path,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     payload::{Json, PlainText},
[INFO] [stdout]    |               ^^^^  ^^^^^^^^^
[INFO] [stdout] 21 |     ApiResponse, Object, OpenApi, OpenApiService,
[INFO] [stdout]    |     ^^^^^^^^^^^  ^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::configuration::get_configuration`
[INFO] [stdout]  --> src/api.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::configuration::get_configuration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Endpoint`, `Request`, `web::Data`
[INFO] [stdout]  --> src/api.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use poem::{web::Data, Endpoint, Request};
[INFO] [stdout]   |            ^^^^^^^^^  ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApiResponse`, `SecurityScheme`, `auth::ApiKey`, `param::Path`, `payload::Json`
[INFO] [stdout]  --> src/api.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     auth::ApiKey, param::Path, payload::Json, ApiResponse, OpenApi, SecurityScheme,
[INFO] [stdout]   |     ^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::PgPool`
[INFO] [stdout]  --> src/api.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sqlx::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]  --> src/handlers/mod.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | use poem::{handler, http::StatusCode, Result};
[INFO] [stdout]   |                                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Request`, `http::StatusCode`
[INFO] [stdout]  --> src/handlers/user.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 |     error::BadRequest, handler, http::StatusCode, http::Uri, session::Session, web::Data,
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     web::Query, web::Redirect, Request, Result,
[INFO] [stdout]   |                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/handlers/user.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ApiResponse`, `Json`, `OpenApiService`, `OpenApi`, `PlainText`, `param::Path`
[INFO] [stdout]   --> src/response.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     param::Path,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 35 |     payload::{Json, PlainText},
[INFO] [stdout]    |               ^^^^  ^^^^^^^^^
[INFO] [stdout] 36 |     ApiResponse, Object, OpenApi, OpenApiService,
[INFO] [stdout]    |     ^^^^^^^^^^^          ^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/service/user.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `LoginInput`, `RegisterInput`, `utils::encryption`
[INFO] [stdout]  --> src/service/user.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |     dto::{LoginInput, RegisterInput},
[INFO] [stdout]   |           ^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 6 |     error::{Error, Result},
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 7 |     model::{CreateUserData, UpdateUserData, User},
[INFO] [stdout] 8 |     utils::encryption,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session`
[INFO] [stdout]   --> src/handlers/user.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     session: &Session,
[INFO] [stdout]    |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `ApiResult`
[INFO] [stdout]   --> src/error.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub type ApiResult<T> = std::result::Result<T, ApiError>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `id_token`
[INFO] [stdout]   --> src/handlers/user.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     id_token: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `token_type`
[INFO] [stdout]   --> src/handlers/user.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     token_type: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `scope`
[INFO] [stdout]   --> src/handlers/user.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     scope: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `iss`
[INFO] [stdout]   --> src/handlers/user.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     iss: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoUserInfoResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `aud`
[INFO] [stdout]   --> src/handlers/user.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     aud: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `SsoUserInfoResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/handlers/user.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `AuthService`
[INFO] [stdout]   --> src/service/user.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct AuthService;
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `validate_payload`
[INFO] [stdout]  --> src/utils/mod.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn validate_payload<T: Validate>(payload: &T) -> Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `hash_password`
[INFO] [stdout]  --> src/utils/encryption.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn hash_password(password: String) -> Result<String> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `verify_password`
[INFO] [stdout]   --> src/utils/encryption.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub async fn verify_password(password: String, hash: String) -> Result<bool> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `verify`
[INFO] [stdout]   --> src/utils/jwt.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn verify(token: &str) -> Result<Claims> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "96bf895e709b873feabd88302eff6ec9be4d28e50c68b7b45568018c4336669d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96bf895e709b873feabd88302eff6ec9be4d28e50c68b7b45568018c4336669d", kill_on_drop: false }`
[INFO] [stdout] 96bf895e709b873feabd88302eff6ec9be4d28e50c68b7b45568018c4336669d
