[INFO] cloning repository https://github.com/Sam761200/Rust_Api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sam761200/Rust_Api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSam761200%2FRust_Api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSam761200%2FRust_Api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9cf0f402be5d2bc9459a778c5af15421b7245c1 [INFO] testing Sam761200/Rust_Api against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSam761200%2FRust_Api" "/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/Sam761200/Rust_Api [INFO] finished tweaking git repo https://github.com/Sam761200/Rust_Api [INFO] tweaked toml for git repo https://github.com/Sam761200/Rust_Api written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sam761200/Rust_Api 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/Sam761200/Rust_Api 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] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.7.4 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.4 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.4 [INFO] [stderr] Downloaded sqlx-mysql v0.7.4 [INFO] [stderr] Downloaded sqlx-postgres v0.7.4 [INFO] [stderr] Downloaded hyper-util v0.1.12 [INFO] [stderr] Downloaded sqlx-core v0.7.4 [INFO] [stderr] Downloaded sqlx v0.7.4 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74e2cb452a4bd729dfe954c47f050ea3c8e04b1a70b15d26caca2ffc77460b50 [INFO] running `Command { std: "docker" "start" "-a" "74e2cb452a4bd729dfe954c47f050ea3c8e04b1a70b15d26caca2ffc77460b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74e2cb452a4bd729dfe954c47f050ea3c8e04b1a70b15d26caca2ffc77460b50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74e2cb452a4bd729dfe954c47f050ea3c8e04b1a70b15d26caca2ffc77460b50", kill_on_drop: false }` [INFO] [stdout] 74e2cb452a4bd729dfe954c47f050ea3c8e04b1a70b15d26caca2ffc77460b50 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d99709cc0c7fb07d2e86e0e39f22b105481abd4925007f6e65d65049807f24b0 [INFO] running `Command { std: "docker" "start" "-a" "d99709cc0c7fb07d2e86e0e39f22b105481abd4925007f6e65d65049807f24b0", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tempfile v3.20.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 futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [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 tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper-util v0.1.12 [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-sqlite 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 api_axum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `get_users` is never used [INFO] [stdout] --> src/handlers.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get_users() -> impl IntoResponse { [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 `User` is never constructed [INFO] [stdout] --> src/models.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_db` is never used [INFO] [stdout] --> src/db.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn init_db() -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.26s [INFO] running `Command { std: "docker" "inspect" "d99709cc0c7fb07d2e86e0e39f22b105481abd4925007f6e65d65049807f24b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d99709cc0c7fb07d2e86e0e39f22b105481abd4925007f6e65d65049807f24b0", kill_on_drop: false }` [INFO] [stdout] d99709cc0c7fb07d2e86e0e39f22b105481abd4925007f6e65d65049807f24b0 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86cc4929f6e327d7bf500de5352f3787f7e567a1891e10b85b95b5a93057e673 [INFO] running `Command { std: "docker" "start" "-a" "86cc4929f6e327d7bf500de5352f3787f7e567a1891e10b85b95b5a93057e673", kill_on_drop: false }` [INFO] [stderr] Compiling api_axum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `get_users` is never used [INFO] [stdout] --> src/handlers.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get_users() -> impl IntoResponse { [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 `User` is never constructed [INFO] [stdout] --> src/models.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_db` is never used [INFO] [stdout] --> src/db.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn init_db() -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.97s [INFO] running `Command { std: "docker" "inspect" "86cc4929f6e327d7bf500de5352f3787f7e567a1891e10b85b95b5a93057e673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86cc4929f6e327d7bf500de5352f3787f7e567a1891e10b85b95b5a93057e673", kill_on_drop: false }` [INFO] [stdout] 86cc4929f6e327d7bf500de5352f3787f7e567a1891e10b85b95b5a93057e673 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] da77d7ee3dac59234a356c0a3f0699f152b50c0199f2588ef4e08da6bed2f8a9 [INFO] running `Command { std: "docker" "start" "-a" "da77d7ee3dac59234a356c0a3f0699f152b50c0199f2588ef4e08da6bed2f8a9", kill_on_drop: false }` [INFO] [stderr] warning: function `get_users` is never used [INFO] [stderr] --> src/handlers.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | pub async fn get_users() -> impl IntoResponse { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `User` is never constructed [INFO] [stderr] --> src/models.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct User { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `init_db` is never used [INFO] [stderr] --> src/db.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | pub async fn init_db() -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `api_axum` (bin "api_axum" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/api_axum-41236185dbb79169) [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" "da77d7ee3dac59234a356c0a3f0699f152b50c0199f2588ef4e08da6bed2f8a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da77d7ee3dac59234a356c0a3f0699f152b50c0199f2588ef4e08da6bed2f8a9", kill_on_drop: false }` [INFO] [stdout] da77d7ee3dac59234a356c0a3f0699f152b50c0199f2588ef4e08da6bed2f8a9