[INFO] cloning repository https://github.com/kshenukaishan/banking [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kshenukaishan/banking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkshenukaishan%2Fbanking", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkshenukaishan%2Fbanking'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93ff5b6af4efa7ec992e61662bd2f861e0fef4e6 [INFO] checking kshenukaishan/banking/93ff5b6af4efa7ec992e61662bd2f861e0fef4e6 against master#6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkshenukaishan%2Fbanking" "/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/kshenukaishan/banking [INFO] finished tweaking git repo https://github.com/kshenukaishan/banking [INFO] tweaked toml for git repo https://github.com/kshenukaishan/banking written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kshenukaishan/banking on toolchain 6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kshenukaishan/banking 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" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bcrypt v0.17.1 [INFO] [stderr] Downloaded whoami v1.6.1 [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" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c32381c90a3c318e57a061ba1d732545d6de64d43453ad18df21eb5553f44b1c [INFO] running `Command { std: "docker" "start" "-a" "c32381c90a3c318e57a061ba1d732545d6de64d43453ad18df21eb5553f44b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c32381c90a3c318e57a061ba1d732545d6de64d43453ad18df21eb5553f44b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c32381c90a3c318e57a061ba1d732545d6de64d43453ad18df21eb5553f44b1c", kill_on_drop: false }` [INFO] [stdout] c32381c90a3c318e57a061ba1d732545d6de64d43453ad18df21eb5553f44b1c [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" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b96883b1eb38735715804b84770543d5a429c1f67781b0dfb07f81377471e727 [INFO] running `Command { std: "docker" "start" "-a" "b96883b1eb38735715804b84770543d5a429c1f67781b0dfb07f81377471e727", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking indexmap v2.11.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking bcrypt v0.17.1 [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 v2.0.16 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking regex v1.11.2 [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] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v2.0.16 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking rustls-webpki v0.103.5 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking derive_more v2.0.1 [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.1.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking sqlx-mysql v0.8.6 [INFO] [stderr] Checking actix-http v3.11.1 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking banking v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/database/user_query.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let row = sqlx::query!("SELECT EXISTS(SELECT 1 FROM users WHERE email = ?) AS exists_val", email) [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/database/user_query.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query!("INSERT INTO users(`email`,`first_name`,`last_name`,`password`) VALUES (?, ?, ?, ?)", [INFO] [stdout] 20 | | &user.email, &user.first_name, &user.last_name, &hashed_password) [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/database/user_query.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | sqlx::query_as!(User, "SELECT * FROM users WHERE email = ?", email) [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/database/user_query.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | sqlx::query_as!(User, "SELECT * FROM users WHERE email = ?", email) [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/database/user_query.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | sqlx::query_as!(User, "SELECT * FROM users WHERE id = ?", id) [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/database/user_query.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | sqlx::query!("UPDATE users SET first_name = ?, last_name = ? WHERE id = ?", &user.first_name, &user.last_name, id) [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/database/account_query.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query!("INSERT INTO `accounts` (`user_id`, `name`, `description`, `balance`) VALUES (?,?,?,?)", [INFO] [stdout] 8 | | data.user_id, data.name, data.description, data.balance) [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/database/account_query.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | sqlx::query_as!(Account, "SELECT * FROM accounts WHERE id = ?", id) [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] warning: unused import: `crate::utils::get_user_id` [INFO] [stdout] --> src/controllers/account.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::get_user_id; [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: `actix_web::web` [INFO] [stdout] --> src/database/user_query.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::web; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/main.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use actix_web::{web, App, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/controllers/account.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn account_list(req: HttpRequest, state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/controllers/account.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn account_list(req: HttpRequest, state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/controllers/account.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn update_account(req: HttpRequest, state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/controllers/account.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn update_account(req: HttpRequest, state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/controllers/account.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn delete_account(req: HttpRequest, state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/controllers/account.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn delete_account(req: HttpRequest, state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/database/user_query.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let row = sqlx::query!("SELECT EXISTS(SELECT 1 FROM users WHERE email = ?) AS exists_val", email) [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/database/user_query.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query!("INSERT INTO users(`email`,`first_name`,`last_name`,`password`) VALUES (?, ?, ?, ?)", [INFO] [stdout] 20 | | &user.email, &user.first_name, &user.last_name, &hashed_password) [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/database/user_query.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | sqlx::query_as!(User, "SELECT * FROM users WHERE email = ?", email) [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/database/user_query.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | sqlx::query_as!(User, "SELECT * FROM users WHERE email = ?", email) [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/database/user_query.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | sqlx::query_as!(User, "SELECT * FROM users WHERE id = ?", id) [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/database/user_query.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | sqlx::query!("UPDATE users SET first_name = ?, last_name = ? WHERE id = ?", &user.first_name, &user.last_name, id) [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/database/account_query.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query!("INSERT INTO `accounts` (`user_id`, `name`, `description`, `balance`) VALUES (?,?,?,?)", [INFO] [stdout] 8 | | data.user_id, data.name, data.description, data.balance) [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/database/account_query.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | sqlx::query_as!(Account, "SELECT * FROM accounts WHERE id = ?", id) [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] warning: unused import: `crate::utils::get_user_id` [INFO] [stdout] --> src/controllers/account.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::get_user_id; [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: `actix_web::web` [INFO] [stdout] --> src/database/user_query.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::web; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/main.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use actix_web::{web, App, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/controllers/account.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn account_list(req: HttpRequest, state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/controllers/account.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn account_list(req: HttpRequest, state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/controllers/account.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn update_account(req: HttpRequest, state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/controllers/account.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn update_account(req: HttpRequest, state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/controllers/account.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn delete_account(req: HttpRequest, state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/controllers/account.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn delete_account(req: HttpRequest, state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `banking` (bin "banking" test) due to 8 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `banking` (bin "banking") due to 8 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b96883b1eb38735715804b84770543d5a429c1f67781b0dfb07f81377471e727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b96883b1eb38735715804b84770543d5a429c1f67781b0dfb07f81377471e727", kill_on_drop: false }` [INFO] [stdout] b96883b1eb38735715804b84770543d5a429c1f67781b0dfb07f81377471e727