[INFO] cloning repository https://github.com/The127/vaulton [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/The127/vaulton" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThe127%2Fvaulton", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThe127%2Fvaulton'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10f2b41fe6ea6dd5ca968135c3aebdf3b39f6b23 [INFO] building The127/vaulton against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThe127%2Fvaulton" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/The127/vaulton [INFO] finished tweaking git repo https://github.com/The127/vaulton [INFO] tweaked toml for git repo https://github.com/The127/vaulton written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/The127/vaulton 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/The127/vaulton 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shaku v0.6.2 [INFO] [stderr] Downloaded envy v0.4.2 [INFO] [stderr] Downloaded shaku_derive v0.6.1 [INFO] [stderr] Downloaded clap_builder v4.5.36 [INFO] [stderr] Downloaded clap v4.5.36 [INFO] [stderr] Downloaded anymap2 v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] de87ec47502fa5e2c7b27198ec5c24517958ca26a221115d2486bd1bd651788d [INFO] running `Command { std: "docker" "start" "-a" "de87ec47502fa5e2c7b27198ec5c24517958ca26a221115d2486bd1bd651788d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de87ec47502fa5e2c7b27198ec5c24517958ca26a221115d2486bd1bd651788d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de87ec47502fa5e2c7b27198ec5c24517958ca26a221115d2486bd1bd651788d", kill_on_drop: false }` [INFO] [stdout] de87ec47502fa5e2c7b27198ec5c24517958ca26a221115d2486bd1bd651788d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0677a96416430143707cee05344cac87a9c23557d5db27c64d0434219e81527b [INFO] running `Command { std: "docker" "start" "-a" "0677a96416430143707cee05344cac87a9c23557d5db27c64d0434219e81527b", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling clap_builder v4.5.36 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling shaku_derive v0.6.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling vaulton-derive v0.1.0 (/opt/rustwide/workdir/vaulton-derive) [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling shaku v0.6.2 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.36 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [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 serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.7.4 [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 vaulton v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/config/yaml_config_source.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/server/api/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Config` [INFO] [stdout] --> src/oidc/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Config` [INFO] [stdout] --> src/oidc/discovery.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::OIDCConfig` [INFO] [stdout] --> src/oidc/discovery.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config::OIDCConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router` and `routing::get` [INFO] [stdout] --> src/oidc/discovery.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::{response::Json, routing::get, Router}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserRole` [INFO] [stdout] --> src/repository/roles_repository.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::domain::role::{Role, UserRole}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> src/di/mod.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use shaku::{Component}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/server/api/client.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub async fn create_client( [INFO] [stdout] 14 | | State(state): State, [INFO] [stdout] 15 | | Json(dto): Json, [INFO] [stdout] 16 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: IntoResponse` will fail [INFO] [stdout] --> src/server/api/client.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | ) -> impl IntoResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 17 | | unimplemented!() [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/server/api/client.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dto` [INFO] [stdout] --> src/server/api/client.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | Json(dto): Json, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_id` and `is_optional` are never read [INFO] [stdout] --> src/config/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ConfigPath<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | type_id: TypeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | /// Whether the field is optional [INFO] [stdout] 23 | is_optional: bool, [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 `CreateClientRequestDto` is never constructed [INFO] [stdout] --> src/server/api/client.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CreateClientRequestDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_client` is never used [INFO] [stdout] --> src/server/api/client.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn create_client( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repository/client_repository.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl PostgresClientRepository { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 28 | fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repository/auth_request_repository.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl InMemoryAuthRequestRepository { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 22 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repository/user_repository.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl PostgresUserRepository { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 28 | fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repository/roles_repository.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl PostgresRoleRepository { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 27 | fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserRole` is never constructed [INFO] [stdout] --> src/domain/role.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UserRole { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/repository/user_repository.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | username_or_email.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [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, vaulton v0.1.0 (/opt/rustwide/workdir) [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" "0677a96416430143707cee05344cac87a9c23557d5db27c64d0434219e81527b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0677a96416430143707cee05344cac87a9c23557d5db27c64d0434219e81527b", kill_on_drop: false }` [INFO] [stdout] 0677a96416430143707cee05344cac87a9c23557d5db27c64d0434219e81527b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8a93884225bb1116ded0f8ec867f0ec4046009584051c5e605c0d265fa828405 [INFO] running `Command { std: "docker" "start" "-a" "8a93884225bb1116ded0f8ec867f0ec4046009584051c5e605c0d265fa828405", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling tempfile v3.19.1 [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 vaulton v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/config/yaml_config_source.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/server/api/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Config` [INFO] [stdout] --> src/oidc/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Config` [INFO] [stdout] --> src/oidc/discovery.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::OIDCConfig` [INFO] [stdout] --> src/oidc/discovery.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config::OIDCConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router` and `routing::get` [INFO] [stdout] --> src/oidc/discovery.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::{response::Json, routing::get, Router}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserRole` [INFO] [stdout] --> src/repository/roles_repository.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::domain::role::{Role, UserRole}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> src/di/mod.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use shaku::{Component}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/server/api/client.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub async fn create_client( [INFO] [stdout] 14 | | State(state): State, [INFO] [stdout] 15 | | Json(dto): Json, [INFO] [stdout] 16 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: IntoResponse` will fail [INFO] [stdout] --> src/server/api/client.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | ) -> impl IntoResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 17 | | unimplemented!() [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/server/api/client.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dto` [INFO] [stdout] --> src/server/api/client.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | Json(dto): Json, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/config/yaml_config_source.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/server/api/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Config` [INFO] [stdout] --> src/oidc/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Config` [INFO] [stdout] --> src/oidc/discovery.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::OIDCConfig` [INFO] [stdout] --> src/oidc/discovery.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config::OIDCConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router` and `routing::get` [INFO] [stdout] --> src/oidc/discovery.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::{response::Json, routing::get, Router}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserRole` [INFO] [stdout] --> src/repository/roles_repository.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::domain::role::{Role, UserRole}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> src/di/mod.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use shaku::{Component}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/server/api/client.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / pub async fn create_client( [INFO] [stdout] 14 | | State(state): State, [INFO] [stdout] 15 | | Json(dto): Json, [INFO] [stdout] 16 | | ) -> impl IntoResponse { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: IntoResponse` will fail [INFO] [stdout] --> src/server/api/client.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | ) -> impl IntoResponse { [INFO] [stdout] | ________________________^ [INFO] [stdout] 17 | | unimplemented!() [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/server/api/client.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dto` [INFO] [stdout] --> src/server/api/client.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | Json(dto): Json, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/env/test_env.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut env = TestEnv::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/env/test_env.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut env = TestEnv::with_vars([ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_id` and `is_optional` are never read [INFO] [stdout] --> src/config/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ConfigPath<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | type_id: TypeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | /// Whether the field is optional [INFO] [stdout] 23 | is_optional: bool, [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 `CreateClientRequestDto` is never constructed [INFO] [stdout] --> src/server/api/client.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CreateClientRequestDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_client` is never used [INFO] [stdout] --> src/server/api/client.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn create_client( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repository/client_repository.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl PostgresClientRepository { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 28 | fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repository/auth_request_repository.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl InMemoryAuthRequestRepository { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 22 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repository/user_repository.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl PostgresUserRepository { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 28 | fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repository/roles_repository.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl PostgresRoleRepository { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 27 | fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserRole` is never constructed [INFO] [stdout] --> src/domain/role.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UserRole { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/repository/user_repository.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | username_or_email.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_id` and `is_optional` are never read [INFO] [stdout] --> src/config/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ConfigPath<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | type_id: TypeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | /// Whether the field is optional [INFO] [stdout] 23 | is_optional: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_path` is never used [INFO] [stdout] --> src/utils/fs/mock_file_system.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl MockFileSystem { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn has_path>(&self, path: P) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port` is never read [INFO] [stdout] --> src/utils/env_parser.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 189 | struct StrictConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 190 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrictConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateClientRequestDto` is never constructed [INFO] [stdout] --> src/server/api/client.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CreateClientRequestDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_client` is never used [INFO] [stdout] --> src/server/api/client.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn create_client( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repository/client_repository.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl PostgresClientRepository { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 28 | fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repository/auth_request_repository.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl InMemoryAuthRequestRepository { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 22 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repository/user_repository.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl PostgresUserRepository { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 28 | fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repository/roles_repository.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl PostgresRoleRepository { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 27 | fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserRole` is never constructed [INFO] [stdout] --> src/domain/role.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UserRole { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/repository/user_repository.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | username_or_email.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> tests/config_sources.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 22.49s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4, vaulton v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "8a93884225bb1116ded0f8ec867f0ec4046009584051c5e605c0d265fa828405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a93884225bb1116ded0f8ec867f0ec4046009584051c5e605c0d265fa828405", kill_on_drop: false }` [INFO] [stdout] 8a93884225bb1116ded0f8ec867f0ec4046009584051c5e605c0d265fa828405