[INFO] cloning repository https://github.com/ahmaddhohirazhari/beackend-jwt-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ahmaddhohirazhari/beackend-jwt-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmaddhohirazhari%2Fbeackend-jwt-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmaddhohirazhari%2Fbeackend-jwt-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba145497d76257c1dd1b8d25313885df64b236a9 [INFO] testing ahmaddhohirazhari/beackend-jwt-api/ba145497d76257c1dd1b8d25313885df64b236a9 against 1.95.0 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmaddhohirazhari%2Fbeackend-jwt-api" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ahmaddhohirazhari/beackend-jwt-api [INFO] finished tweaking git repo https://github.com/ahmaddhohirazhari/beackend-jwt-api [INFO] tweaked toml for git repo https://github.com/ahmaddhohirazhari/beackend-jwt-api written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ahmaddhohirazhari/beackend-jwt-api on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ahmaddhohirazhari/beackend-jwt-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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bcrypt v0.17.1 [INFO] [stderr] Downloaded validator_derive v0.18.2 [INFO] [stderr] Downloaded validator v0.18.1 [INFO] [stderr] Downloaded jsonwebtoken v10.2.0 [INFO] [stderr] Downloaded aws-lc-rs v1.15.3 [INFO] [stderr] Downloaded aws-lc-sys v0.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c65d196cb1826542eae80a6331deb41d02fec616381f6af4b5991d92df24ed21 [INFO] running `Command { std: "docker" "start" "-a" "c65d196cb1826542eae80a6331deb41d02fec616381f6af4b5991d92df24ed21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c65d196cb1826542eae80a6331deb41d02fec616381f6af4b5991d92df24ed21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c65d196cb1826542eae80a6331deb41d02fec616381f6af4b5991d92df24ed21", kill_on_drop: false }` [INFO] [stdout] c65d196cb1826542eae80a6331deb41d02fec616381f6af4b5991d92df24ed21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1d5e1c35254973df5f34e9958c0b704f0a15a85c37378411f3629b702ad47ab [INFO] running `Command { std: "docker" "start" "-a" "c1d5e1c35254973df5f34e9958c0b704f0a15a85c37378411f3629b702ad47ab", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling fs_extra v1.3.0 [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 rand v0.8.5 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.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 concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling aws-lc-rs v1.15.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling time v0.3.45 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling aws-lc-sys v0.36.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling bcrypt v0.17.1 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling jsonwebtoken v10.2.0 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling backend-jwt-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers/register_handler.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 73 | | r#" [INFO] [stdout] 74 | | INSERT INTO rs_users (name, email, password) [INFO] [stdout] 75 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 80 | | password [INFO] [stdout] 81 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers/login_handler.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let user = match sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 60 | | r#" [INFO] [stdout] 61 | | SELECT id, name, email, password [INFO] [stdout] 62 | | FROM rs_users [INFO] [stdout] ... | [INFO] [stdout] 65 | | payload.email [INFO] [stdout] 66 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers/user_handler.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | let users = match sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 33 | | User, [INFO] [stdout] 34 | | r#" [INFO] [stdout] 35 | | SELECT id, name, email, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 38 | | "# [INFO] [stdout] 39 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers/user_handler.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 110 | | r#" [INFO] [stdout] 111 | | INSERT INTO rs_users (name, email, password) [INFO] [stdout] 112 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 117 | | password [INFO] [stdout] 118 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers/user_handler.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 169 | let user = match sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 170 | | r#" [INFO] [stdout] 171 | | SELECT id, name, email, created_at, updated_at [INFO] [stdout] 172 | | FROM rs_users [INFO] [stdout] ... | [INFO] [stdout] 175 | | id [INFO] [stdout] 176 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers/user_handler.rs:274:28 [INFO] [stdout] | [INFO] [stdout] 274 | let user_exist = match sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 275 | | "SELECT id FROM rs_users WHERE id = $1", [INFO] [stdout] 276 | | id [INFO] [stdout] 277 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers/user_handler.rs:301:24 [INFO] [stdout] | [INFO] [stdout] 301 | let email_exists = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 302 | | "SELECT id FROM rs_users WHERE email = $1 AND id != $2", [INFO] [stdout] 303 | | payload.email, [INFO] [stdout] 304 | | user_exist.id [INFO] [stdout] 305 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers/user_handler.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | / sqlx::query!( [INFO] [stdout] 337 | | "UPDATE rs_users SET name = $1, email = $2, password = $3 WHERE id = $4", [INFO] [stdout] 338 | | payload.name, [INFO] [stdout] 339 | | payload.email, [INFO] [stdout] 340 | | hashed, [INFO] [stdout] 341 | | id [INFO] [stdout] 342 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers/user_handler.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | / sqlx::query!( [INFO] [stdout] 350 | | "UPDATE rs_users SET name = $1, email = $2 WHERE id = $3", [INFO] [stdout] 351 | | payload.name, [INFO] [stdout] 352 | | payload.email, [INFO] [stdout] 353 | | id [INFO] [stdout] 354 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers/user_handler.rs:372:16 [INFO] [stdout] | [INFO] [stdout] 372 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 373 | | r#" [INFO] [stdout] 374 | | SELECT id, name, email, created_at, updated_at [INFO] [stdout] 375 | | FROM rs_users [INFO] [stdout] ... | [INFO] [stdout] 378 | | id [INFO] [stdout] 379 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers/user_handler.rs:408:22 [INFO] [stdout] | [INFO] [stdout] 408 | let user = match sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 409 | | "SELECT id FROM rs_users WHERE id = $1", [INFO] [stdout] 410 | | id [INFO] [stdout] 411 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers/user_handler.rs:438:18 [INFO] [stdout] | [INFO] [stdout] 438 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 439 | | "DELETE FROM rs_users WHERE id = $1", [INFO] [stdout] 440 | | user.id [INFO] [stdout] 441 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::rs_users::User` [INFO] [stdout] --> src/handlers/user_handler.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::models::rs_users::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `backend-jwt-api` (bin "backend-jwt-api") due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c1d5e1c35254973df5f34e9958c0b704f0a15a85c37378411f3629b702ad47ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1d5e1c35254973df5f34e9958c0b704f0a15a85c37378411f3629b702ad47ab", kill_on_drop: false }` [INFO] [stdout] c1d5e1c35254973df5f34e9958c0b704f0a15a85c37378411f3629b702ad47ab