[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#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThe127%2Fvaulton" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/The127/vaulton on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.7.4 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.4 [INFO] [stderr] Downloaded envy v0.4.2 [INFO] [stderr] Downloaded shaku v0.6.2 [INFO] [stderr] Downloaded clap v4.5.36 [INFO] [stderr] Downloaded sqlx-core v0.7.4 [INFO] [stderr] Downloaded shaku_derive v0.6.1 [INFO] [stderr] Downloaded sqlx-postgres v0.7.4 [INFO] [stderr] Downloaded sqlx-mysql v0.7.4 [INFO] [stderr] Downloaded anymap2 v0.13.0 [INFO] [stderr] Downloaded clap_builder v4.5.36 [INFO] [stderr] Downloaded sqlx v0.7.4 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.4 [INFO] [stderr] Downloaded libsqlite3-sys v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42211998720ff2c9f77a358e9cc5b26897675c1d28d10b39296f62983d87fb21 [INFO] running `Command { std: "docker" "start" "-a" "42211998720ff2c9f77a358e9cc5b26897675c1d28d10b39296f62983d87fb21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42211998720ff2c9f77a358e9cc5b26897675c1d28d10b39296f62983d87fb21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42211998720ff2c9f77a358e9cc5b26897675c1d28d10b39296f62983d87fb21", kill_on_drop: false }` [INFO] [stdout] 42211998720ff2c9f77a358e9cc5b26897675c1d28d10b39296f62983d87fb21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2b85fcc44d6e360b2ec2e36c573530d18d47531de8432b59327b1621836c3d9 [INFO] running `Command { std: "docker" "start" "-a" "d2b85fcc44d6e360b2ec2e36c573530d18d47531de8432b59327b1621836c3d9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling clap_builder v4.5.36 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling shaku_derive v0.6.1 [INFO] [stderr] Compiling shaku v0.6.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [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 tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.69 [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 serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling axum v0.7.9 [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 24s [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 3` [INFO] running `Command { std: "docker" "inspect" "d2b85fcc44d6e360b2ec2e36c573530d18d47531de8432b59327b1621836c3d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2b85fcc44d6e360b2ec2e36c573530d18d47531de8432b59327b1621836c3d9", kill_on_drop: false }` [INFO] [stdout] d2b85fcc44d6e360b2ec2e36c573530d18d47531de8432b59327b1621836c3d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a809361c371f5c8a3a9f4051c50e38909fc23145a58dea5d500e6829eed114f [INFO] running `Command { std: "docker" "start" "-a" "2a809361c371f5c8a3a9f4051c50e38909fc23145a58dea5d500e6829eed114f", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [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: 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: 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 24.71s [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 4` [INFO] running `Command { std: "docker" "inspect" "2a809361c371f5c8a3a9f4051c50e38909fc23145a58dea5d500e6829eed114f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a809361c371f5c8a3a9f4051c50e38909fc23145a58dea5d500e6829eed114f", kill_on_drop: false }` [INFO] [stdout] 2a809361c371f5c8a3a9f4051c50e38909fc23145a58dea5d500e6829eed114f