[INFO] cloning repository https://github.com/AlbertusChristianR/hosting-albertus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlbertusChristianR/hosting-albertus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlbertusChristianR%2Fhosting-albertus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlbertusChristianR%2Fhosting-albertus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c20c2f44e280af93deb6d086984d89009ccfd59 [INFO] testing AlbertusChristianR/hosting-albertus against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlbertusChristianR%2Fhosting-albertus" "/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/AlbertusChristianR/hosting-albertus [INFO] finished tweaking git repo https://github.com/AlbertusChristianR/hosting-albertus [INFO] tweaked toml for git repo https://github.com/AlbertusChristianR/hosting-albertus written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AlbertusChristianR/hosting-albertus on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AlbertusChristianR/hosting-albertus 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlformat v0.2.6 [INFO] [stderr] Downloaded axum-core v0.4.5 [INFO] [stderr] Downloaded whoami v1.6.0 [INFO] [stderr] Downloaded serde_path_to_error v0.1.17 [INFO] [stderr] Downloaded tower-http v0.5.2 [INFO] [stderr] Downloaded hyper-util v0.1.16 [INFO] [stderr] Downloaded axum v0.7.9 [INFO] [stderr] Downloaded cc v1.2.31 [INFO] [stderr] Downloaded io-uring v0.7.9 [INFO] [stderr] Downloaded http-range-header v0.4.2 [INFO] [stderr] Downloaded h2 v0.3.27 [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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4c3013da88a7c6f7201cc2824f8b7fc5460c402aa600bb3e18e3aca142138e4 [INFO] running `Command { std: "docker" "start" "-a" "e4c3013da88a7c6f7201cc2824f8b7fc5460c402aa600bb3e18e3aca142138e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4c3013da88a7c6f7201cc2824f8b7fc5460c402aa600bb3e18e3aca142138e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4c3013da88a7c6f7201cc2824f8b7fc5460c402aa600bb3e18e3aca142138e4", kill_on_drop: false }` [INFO] [stdout] e4c3013da88a7c6f7201cc2824f8b7fc5460c402aa600bb3e18e3aca142138e4 [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f882444dc560c89b1b5b567b1498c1af64a970388c226576773b1ca51641892 [INFO] running `Command { std: "docker" "start" "-a" "1f882444dc560c89b1b5b567b1498c1af64a970388c226576773b1ca51641892", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling url v2.5.4 [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 tower v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling hyper v0.14.32 [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 Savior_Be v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Profile` [INFO] [stdout] --> src/routes/profile.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models::profile::{Profile, UpdateProfileRequest, UpdateEmailRequest, UpdatePasswordRequest}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_database_connection` is never used [INFO] [stdout] --> src/database.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn create_database_connection() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_migrations` is never used [INFO] [stdout] --> src/database.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn run_migrations(pool: &Database) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `email`, and `password` are never read [INFO] [stdout] --> src/models/user.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CreateUser { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 18 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `email` are never read [INFO] [stdout] --> src/models/user.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct UpdateUser { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 25 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | pub email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateUser` 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 `AuthResponse` is never constructed [INFO] [stdout] --> src/models/user.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct AuthResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserResponse` is never constructed [INFO] [stdout] --> src/models/user.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct UserResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_users` is never used [INFO] [stdout] --> src/routes/user.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn get_users(State(db): State) -> Result, StatusCode> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_user` is never used [INFO] [stdout] --> src/routes/user.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn create_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_user` is never used [INFO] [stdout] --> src/routes/user.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub async fn update_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_user` is never used [INFO] [stdout] --> src/routes/user.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn delete_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1f882444dc560c89b1b5b567b1498c1af64a970388c226576773b1ca51641892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f882444dc560c89b1b5b567b1498c1af64a970388c226576773b1ca51641892", kill_on_drop: false }` [INFO] [stdout] 1f882444dc560c89b1b5b567b1498c1af64a970388c226576773b1ca51641892 [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7656b6a6dcff6eccfd32b977d2f891b25bdc3bb05cb73b2d28c1db1d1379a09 [INFO] running `Command { std: "docker" "start" "-a" "b7656b6a6dcff6eccfd32b977d2f891b25bdc3bb05cb73b2d28c1db1d1379a09", kill_on_drop: false }` [INFO] [stderr] Compiling Savior_Be v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Profile` [INFO] [stdout] --> src/routes/profile.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models::profile::{Profile, UpdateProfileRequest, UpdateEmailRequest, UpdatePasswordRequest}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_database_connection` is never used [INFO] [stdout] --> src/database.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn create_database_connection() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_migrations` is never used [INFO] [stdout] --> src/database.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn run_migrations(pool: &Database) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `email`, and `password` are never read [INFO] [stdout] --> src/models/user.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CreateUser { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 18 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `email` are never read [INFO] [stdout] --> src/models/user.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct UpdateUser { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 25 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | pub email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateUser` 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 `AuthResponse` is never constructed [INFO] [stdout] --> src/models/user.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct AuthResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserResponse` is never constructed [INFO] [stdout] --> src/models/user.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct UserResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_users` is never used [INFO] [stdout] --> src/routes/user.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn get_users(State(db): State) -> Result, StatusCode> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_user` is never used [INFO] [stdout] --> src/routes/user.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn create_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_user` is never used [INFO] [stdout] --> src/routes/user.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub async fn update_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_user` is never used [INFO] [stdout] --> src/routes/user.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn delete_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b7656b6a6dcff6eccfd32b977d2f891b25bdc3bb05cb73b2d28c1db1d1379a09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7656b6a6dcff6eccfd32b977d2f891b25bdc3bb05cb73b2d28c1db1d1379a09", kill_on_drop: false }` [INFO] [stdout] b7656b6a6dcff6eccfd32b977d2f891b25bdc3bb05cb73b2d28c1db1d1379a09 [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 22fc59a5dbb2b431da8a3895a239908b57d3d2b7c14441407f291f72d3d79813 [INFO] running `Command { std: "docker" "start" "-a" "22fc59a5dbb2b431da8a3895a239908b57d3d2b7c14441407f291f72d3d79813", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Profile` [INFO] [stderr] --> src/routes/profile.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::models::profile::{Profile, UpdateProfileRequest, UpdateEmailRequest, UpdatePasswordRequest}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `create_database_connection` is never used [INFO] [stderr] --> src/database.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | pub async fn create_database_connection() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `run_migrations` is never used [INFO] [stderr] --> src/database.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | pub async fn run_migrations(pool: &Database) -> Result<(), sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `username`, `email`, and `password` are never read [INFO] [stderr] --> src/models/user.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct CreateUser { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 18 | pub username: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 19 | pub email: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 20 | pub password: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CreateUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `username` and `email` are never read [INFO] [stderr] --> src/models/user.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct UpdateUser { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 25 | pub username: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 26 | pub email: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UpdateUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `AuthResponse` is never constructed [INFO] [stderr] --> src/models/user.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct AuthResponse { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UserResponse` is never constructed [INFO] [stderr] --> src/models/user.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub struct UserResponse { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_users` is never used [INFO] [stderr] --> src/routes/user.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | pub async fn get_users(State(db): State) -> Result, StatusCode> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_user` is never used [INFO] [stderr] --> src/routes/user.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 62 | pub async fn create_user( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_user` is never used [INFO] [stderr] --> src/routes/user.rs:86:14 [INFO] [stderr] | [INFO] [stderr] 86 | pub async fn update_user( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_user` is never used [INFO] [stderr] --> src/routes/user.rs:115:14 [INFO] [stderr] | [INFO] [stderr] 115 | pub async fn delete_user( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `Savior_Be` (bin "Savior_Be" test) generated 11 warnings (run `cargo fix --bin "Savior_Be" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Savior_Be-938bbbee7c914c73) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "22fc59a5dbb2b431da8a3895a239908b57d3d2b7c14441407f291f72d3d79813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22fc59a5dbb2b431da8a3895a239908b57d3d2b7c14441407f291f72d3d79813", kill_on_drop: false }` [INFO] [stdout] 22fc59a5dbb2b431da8a3895a239908b57d3d2b7c14441407f291f72d3d79813