[INFO] cloning repository https://github.com/weigo2002/axum-web-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weigo2002/axum-web-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweigo2002%2Faxum-web-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweigo2002%2Faxum-web-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71183a4f0d400f246555a8df16754fe5b1eb39d8 [INFO] building weigo2002/axum-web-demo against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweigo2002%2Faxum-web-demo" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/weigo2002/axum-web-demo [INFO] finished tweaking git repo https://github.com/weigo2002/axum-web-demo [INFO] tweaked toml for git repo https://github.com/weigo2002/axum-web-demo written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/weigo2002/axum-web-demo 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/weigo2002/axum-web-demo 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] Downloading crates ... [INFO] [stderr] Downloaded chacha20 v0.7.1 [INFO] [stderr] Downloaded paseto v2.0.2+1.0.3 [INFO] [stderr] Downloaded chacha20poly1305 v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb7a63f7ec9b20874b01afd5caaca3e5849cf8e5e9424eb01c37dab61b8e5e55 [INFO] running `Command { std: "docker" "start" "-a" "cb7a63f7ec9b20874b01afd5caaca3e5849cf8e5e9424eb01c37dab61b8e5e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb7a63f7ec9b20874b01afd5caaca3e5849cf8e5e9424eb01c37dab61b8e5e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb7a63f7ec9b20874b01afd5caaca3e5849cf8e5e9424eb01c37dab61b8e5e55", kill_on_drop: false }` [INFO] [stdout] cb7a63f7ec9b20874b01afd5caaca3e5849cf8e5e9424eb01c37dab61b8e5e55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b68f797662614f238eb27afebc8b06465deb8f0bfbe58e7603a1bd5023aa1380 [INFO] running `Command { std: "docker" "start" "-a" "b68f797662614f238eb27afebc8b06465deb8f0bfbe58e7603a1bd5023aa1380", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling chacha20 v0.7.1 [INFO] [stderr] Compiling poly1305 v0.7.2 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling rustls-pki-types v1.4.1 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling chacha20poly1305 v0.8.0 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling http-range-header v0.4.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling rust-argon2 v2.1.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.37 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling paseto v2.0.2+1.0.3 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling hyper v1.2.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.3 [INFO] [stderr] Compiling sqlx-postgres 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 axum-web-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::write` [INFO] [stdout] --> src/common/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::write; [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: `paseto::v2::local_paseto` [INFO] [stdout] --> src/handlers/account.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use paseto::v2::local_paseto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/handlers/account.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | models::account::{self, Account, AccountId, Session}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request` and `response::IntoResponse` [INFO] [stdout] --> src/handlers/question.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, Query, Request, State}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | response::IntoResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Json` [INFO] [stdout] --> src/repositories/store.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::Json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/routers/mod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | routing::{get, post}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/common/error.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | Self::ParseError(ref err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/error.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | DatabaseQueryError(sqlx::Error), [INFO] [stdout] | ------------------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - DatabaseQueryError(sqlx::Error), [INFO] [stdout] 13 + DatabaseQueryError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/error.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | ArgonLibraryError(ArgonError), [INFO] [stdout] | ----------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - ArgonLibraryError(ArgonError), [INFO] [stdout] 17 + ArgonLibraryError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ParseError`, `MissingParameters`, `QuestionNotFound`, and `ExternalAPIError` are never constructed [INFO] [stdout] --> src/common/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 10 | ParseError(std::num::ParseIntError), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | MissingParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | QuestionNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | DatabaseQueryError(sqlx::Error), [INFO] [stdout] 14 | ExternalAPIError(ReqwestError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [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 7` [INFO] running `Command { std: "docker" "inspect" "b68f797662614f238eb27afebc8b06465deb8f0bfbe58e7603a1bd5023aa1380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68f797662614f238eb27afebc8b06465deb8f0bfbe58e7603a1bd5023aa1380", kill_on_drop: false }` [INFO] [stdout] b68f797662614f238eb27afebc8b06465deb8f0bfbe58e7603a1bd5023aa1380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ae1eae333e90949aecabe208b57374d49968be1faacb77b65f13fc6e9a3944b [INFO] running `Command { std: "docker" "start" "-a" "6ae1eae333e90949aecabe208b57374d49968be1faacb77b65f13fc6e9a3944b", kill_on_drop: false }` [INFO] [stderr] Compiling axum-web-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::write` [INFO] [stdout] --> src/common/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::write; [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: `paseto::v2::local_paseto` [INFO] [stdout] --> src/handlers/account.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use paseto::v2::local_paseto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/handlers/account.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | models::account::{self, Account, AccountId, Session}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request` and `response::IntoResponse` [INFO] [stdout] --> src/handlers/question.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, Query, Request, State}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | response::IntoResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Json` [INFO] [stdout] --> src/repositories/store.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::Json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/routers/mod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | routing::{get, post}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/common/error.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | Self::ParseError(ref err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/error.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | DatabaseQueryError(sqlx::Error), [INFO] [stdout] | ------------------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - DatabaseQueryError(sqlx::Error), [INFO] [stdout] 13 + DatabaseQueryError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/error.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | ArgonLibraryError(ArgonError), [INFO] [stdout] | ----------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - ArgonLibraryError(ArgonError), [INFO] [stdout] 17 + ArgonLibraryError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ParseError`, `MissingParameters`, `QuestionNotFound`, and `ExternalAPIError` are never constructed [INFO] [stdout] --> src/common/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 10 | ParseError(std::num::ParseIntError), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | MissingParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | QuestionNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | DatabaseQueryError(sqlx::Error), [INFO] [stdout] 14 | ExternalAPIError(ReqwestError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.77s [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 7` [INFO] running `Command { std: "docker" "inspect" "6ae1eae333e90949aecabe208b57374d49968be1faacb77b65f13fc6e9a3944b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ae1eae333e90949aecabe208b57374d49968be1faacb77b65f13fc6e9a3944b", kill_on_drop: false }` [INFO] [stdout] 6ae1eae333e90949aecabe208b57374d49968be1faacb77b65f13fc6e9a3944b