[INFO] cloning repository https://github.com/t1plarnd/bitcoin-wallet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/t1plarnd/bitcoin-wallet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft1plarnd%2Fbitcoin-wallet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft1plarnd%2Fbitcoin-wallet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e304e54ee1cb027267e15c64f54227a4f3ca4df3 [INFO] testing t1plarnd/bitcoin-wallet against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft1plarnd%2Fbitcoin-wallet" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/t1plarnd/bitcoin-wallet [INFO] finished tweaking git repo https://github.com/t1plarnd/bitcoin-wallet [INFO] tweaked toml for git repo https://github.com/t1plarnd/bitcoin-wallet written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/t1plarnd/bitcoin-wallet on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/t1plarnd/bitcoin-wallet 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19bcee8fe72ef262b5e6454285a822c2644d99b6a30a04968108d44f3d164afd [INFO] running `Command { std: "docker" "start" "-a" "19bcee8fe72ef262b5e6454285a822c2644d99b6a30a04968108d44f3d164afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19bcee8fe72ef262b5e6454285a822c2644d99b6a30a04968108d44f3d164afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19bcee8fe72ef262b5e6454285a822c2644d99b6a30a04968108d44f3d164afd", kill_on_drop: false }` [INFO] [stdout] 19bcee8fe72ef262b5e6454285a822c2644d99b6a30a04968108d44f3d164afd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9403bb3db8e0604973efe839a964e3abf0e6d16c21d26d26e200159757caaa31 [INFO] running `Command { std: "docker" "start" "-a" "9403bb3db8e0604973efe839a964e3abf0e6d16c21d26d26e200159757caaa31", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling nonempty v0.7.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling popol v2.2.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling bcrypt v0.17.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling microserde-derive v0.1.13 [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 serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling microserde v0.1.13 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling nakamoto-net v0.4.0 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling nakamoto-net-poll v0.4.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitcoin_hashes v0.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling bitcoin v0.29.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling nakamoto-common v0.4.0 [INFO] [stderr] Compiling nakamoto-chain v0.4.0 [INFO] [stderr] Compiling nakamoto-p2p v0.4.0 [INFO] [stderr] Compiling nakamoto-client v0.4.0 [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 models v0.1.0 (/opt/rustwide/workdir/crates/models) [INFO] [stderr] Compiling db v0.1.0 (/opt/rustwide/workdir/crates/db) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/db/src/lib.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 52 | | r#"INSERT INTO users (username, hashed_password) [INFO] [stdout] 53 | | VALUES ($1, $2) [INFO] [stdout] 54 | | ON CONFLICT (username) DO NOTHING"#, [INFO] [stdout] 55 | | data.username, [INFO] [stdout] 56 | | hashed [INFO] [stdout] 57 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/db/src/lib.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | let record = match sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 65 | | r#"SELECT hashed_password FROM users WHERE username = $1"#, [INFO] [stdout] 66 | | data.username [INFO] [stdout] 67 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/db/src/lib.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 91 | | r#"INSERT INTO tracked_addresses (user_id, address) [INFO] [stdout] 92 | | VALUES ($1, $2) [INFO] [stdout] 93 | | ON CONFLICT (user_id, address) DO UPDATE SET address = $2 [INFO] [stdout] ... | [INFO] [stdout] 96 | | address [INFO] [stdout] 97 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/db/src/lib.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | let addresses = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 105 | | TrackedAddress, [INFO] [stdout] 106 | | "SELECT address_id, address FROM tracked_addresses WHERE user_id = $1", [INFO] [stdout] 107 | | user_id [INFO] [stdout] 108 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/db/src/lib.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | let addresses = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 115 | | TrackedAddress, [INFO] [stdout] 116 | | "SELECT address_id, address FROM tracked_addresses" [INFO] [stdout] 117 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/db/src/lib.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | let user_id = sqlx::query_scalar!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 124 | | "SELECT user_id FROM users WHERE username = $1", [INFO] [stdout] 125 | | username [INFO] [stdout] 126 | | ) [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_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/db/src/lib.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | / sqlx::query!( [INFO] [stdout] 135 | | r#"INSERT INTO transactions (txid, block_height, block_hash, block_time) [INFO] [stdout] 136 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] 137 | | ON CONFLICT (txid) DO NOTHING"#, [INFO] [stdout] ... | [INFO] [stdout] 141 | | tx_data.block_time [INFO] [stdout] 142 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/db/src/lib.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | / sqlx::query!( [INFO] [stdout] 147 | | r#"INSERT INTO utxos (address_id, txid, vout, value, status) [INFO] [stdout] 148 | | VALUES ($1, $2, $3, $4, 'unspent') [INFO] [stdout] 149 | | ON CONFLICT (txid, vout) DO NOTHING"#, [INFO] [stdout] ... | [INFO] [stdout] 153 | | output.value [INFO] [stdout] 154 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/db/src/lib.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | / sqlx::query!( [INFO] [stdout] 165 | | r#"UPDATE utxos SET status = 'spent' WHERE txid = $1 AND vout = $2 AND status = 'unspent'"#, [INFO] [stdout] 166 | | txid, [INFO] [stdout] 167 | | vout [INFO] [stdout] 168 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/db/src/lib.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | let utxos = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 178 | | UtxoResponse, [INFO] [stdout] 179 | | r#" [INFO] [stdout] 180 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 192 | | user_id [INFO] [stdout] 193 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/db/src/lib.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | let balance_record = sqlx::query!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 201 | | r#" [INFO] [stdout] 202 | | SELECT [INFO] [stdout] 203 | | COALESCE(SUM(o.value), 0)::BIGINT AS "balance!" [INFO] [stdout] ... | [INFO] [stdout] 212 | | user_id [INFO] [stdout] 213 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/db/src/lib.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 221 | let transactions = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 222 | | UtxoResponse, [INFO] [stdout] 223 | | r#" [INFO] [stdout] 224 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 235 | | user_id [INFO] [stdout] 236 | | ) [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[E0282]: type annotations needed [INFO] [stdout] --> crates/db/src/lib.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | Ok(result.rows_affected() > 0) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 51 | let result: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `db` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "9403bb3db8e0604973efe839a964e3abf0e6d16c21d26d26e200159757caaa31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9403bb3db8e0604973efe839a964e3abf0e6d16c21d26d26e200159757caaa31", kill_on_drop: false }` [INFO] [stdout] 9403bb3db8e0604973efe839a964e3abf0e6d16c21d26d26e200159757caaa31