[INFO] cloning repository https://github.com/PKL-SST-2025/Savior_Be [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PKL-SST-2025/Savior_Be" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPKL-SST-2025%2FSavior_Be", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPKL-SST-2025%2FSavior_Be'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a7452a69bfe0c402bf664662337022402af74fd [INFO] building PKL-SST-2025/Savior_Be against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPKL-SST-2025%2FSavior_Be" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PKL-SST-2025/Savior_Be [INFO] finished tweaking git repo https://github.com/PKL-SST-2025/Savior_Be [INFO] tweaked toml for git repo https://github.com/PKL-SST-2025/Savior_Be written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PKL-SST-2025/Savior_Be 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/PKL-SST-2025/Savior_Be 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b9176d045ed4111b2e20c7c892a83e18af7566ec2b0898ef620ac6a04f592809 [INFO] running `Command { std: "docker" "start" "-a" "b9176d045ed4111b2e20c7c892a83e18af7566ec2b0898ef620ac6a04f592809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9176d045ed4111b2e20c7c892a83e18af7566ec2b0898ef620ac6a04f592809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9176d045ed4111b2e20c7c892a83e18af7566ec2b0898ef620ac6a04f592809", kill_on_drop: false }` [INFO] [stdout] b9176d045ed4111b2e20c7c892a83e18af7566ec2b0898ef620ac6a04f592809 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 43e6496952ef9232e42d9c9f61760188a8388d170a9a08d0aa8f217db80482ca [INFO] running `Command { std: "docker" "start" "-a" "43e6496952ef9232e42d9c9f61760188a8388d170a9a08d0aa8f217db80482ca", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling heck v0.4.1 [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 matchit v0.7.3 [INFO] [stderr] Compiling ring v0.17.14 [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 sqlformat v0.2.6 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.142 [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 idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.16 [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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: struct `CreateUser` is never constructed [INFO] [stdout] --> src/models/user.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CreateUser { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateUser` is never constructed [INFO] [stdout] --> src/models/user.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct UpdateUser { [INFO] [stdout] | ^^^^^^^^^^ [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: struct `Profile` is never constructed [INFO] [stdout] --> src/models/profile.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Profile { [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 1m 18s [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 2` [INFO] running `Command { std: "docker" "inspect" "43e6496952ef9232e42d9c9f61760188a8388d170a9a08d0aa8f217db80482ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43e6496952ef9232e42d9c9f61760188a8388d170a9a08d0aa8f217db80482ca", kill_on_drop: false }` [INFO] [stdout] 43e6496952ef9232e42d9c9f61760188a8388d170a9a08d0aa8f217db80482ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0da5e62d997dce05364014d9cf9fa665cd0e74d383b3d8c61dd0a5ad3ea57fae [INFO] running `Command { std: "docker" "start" "-a" "0da5e62d997dce05364014d9cf9fa665cd0e74d383b3d8c61dd0a5ad3ea57fae", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: struct `CreateUser` is never constructed [INFO] [stdout] --> src/models/user.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CreateUser { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateUser` is never constructed [INFO] [stdout] --> src/models/user.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct UpdateUser { [INFO] [stdout] | ^^^^^^^^^^ [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: struct `Profile` is never constructed [INFO] [stdout] --> src/models/profile.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Profile { [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 4.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 2` [INFO] running `Command { std: "docker" "inspect" "0da5e62d997dce05364014d9cf9fa665cd0e74d383b3d8c61dd0a5ad3ea57fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0da5e62d997dce05364014d9cf9fa665cd0e74d383b3d8c61dd0a5ad3ea57fae", kill_on_drop: false }` [INFO] [stdout] 0da5e62d997dce05364014d9cf9fa665cd0e74d383b3d8c61dd0a5ad3ea57fae