[INFO] cloning repository https://github.com/whoisasx/exchange-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/whoisasx/exchange-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhoisasx%2Fexchange-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhoisasx%2Fexchange-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15e1393bd5da2c77c503fbb1de4d38ada0a4ac01 [INFO] checking whoisasx/exchange-server against master#89a99936d9e76a50e8df622e7242190841fd871b for pr-156160-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhoisasx%2Fexchange-server" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/whoisasx/exchange-server [INFO] finished tweaking git repo https://github.com/whoisasx/exchange-server [INFO] tweaked toml for git repo https://github.com/whoisasx/exchange-server written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/whoisasx/exchange-server on toolchain 89a99936d9e76a50e8df622e7242190841fd871b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/whoisasx/exchange-server 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" "+89a99936d9e76a50e8df622e7242190841fd871b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-sqlite v0.9.0 [INFO] [stderr] Downloaded crc32c v0.6.8 [INFO] [stderr] Downloaded pbkdf2 v0.12.2 [INFO] [stderr] Downloaded integer-encoding v4.1.0 [INFO] [stderr] Downloaded log v0.4.30 [INFO] [stderr] Downloaded cmov v0.5.3 [INFO] [stderr] Downloaded sqlx-macros v0.9.0 [INFO] [stderr] Downloaded whoami v2.1.2 [INFO] [stderr] Downloaded hybrid-array v0.4.12 [INFO] [stderr] Downloaded hmac v0.13.0 [INFO] [stderr] Downloaded snap v1.1.1 [INFO] [stderr] Downloaded actix-web-actors v4.3.1+deprecated [INFO] [stderr] Downloaded flume v0.12.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.9.0 [INFO] [stderr] Downloaded bcrypt v0.19.1 [INFO] [stderr] Downloaded blowfish v0.10.0 [INFO] [stderr] Downloaded sqlx-mysql v0.9.0 [INFO] [stderr] Downloaded actix_derive v0.6.2 [INFO] [stderr] Downloaded jsonwebtoken v10.4.0 [INFO] [stderr] Downloaded actix-cors v0.7.1 [INFO] [stderr] Downloaded rsasl v2.3.1 [INFO] [stderr] Downloaded actix v0.13.5 [INFO] [stderr] Downloaded sqlx-postgres v0.9.0 [INFO] [stderr] Downloaded rskafka v0.6.0 [INFO] [stderr] Downloaded sqlx-core v0.9.0 [INFO] [stderr] Downloaded hkdf v0.13.0 [INFO] [stderr] Downloaded sqlx v0.9.0 [INFO] [stderr] Downloaded actix-http v3.12.1 [INFO] [stderr] Downloaded webpki-roots v1.0.8 [INFO] [stderr] Downloaded actix-web v4.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:fd22e2154e7db748230f413534f3a6d034160c9d2b7c14b90fba4e9bfc1a36d4" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 87f88995bcf456d63f22dc9a21e08e216315b4b73c3b1e4f07d4e07f2eb7af2d [INFO] running `Command { std: "docker" "start" "87f88995bcf456d63f22dc9a21e08e216315b4b73c3b1e4f07d4e07f2eb7af2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "87f88995bcf456d63f22dc9a21e08e216315b4b73c3b1e4f07d4e07f2eb7af2d" "/opt/rustwide/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87f88995bcf456d63f22dc9a21e08e216315b4b73c3b1e4f07d4e07f2eb7af2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "87f88995bcf456d63f22dc9a21e08e216315b4b73c3b1e4f07d4e07f2eb7af2d" "/opt/rustwide/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.30 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking hybrid-array v0.4.12 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Checking cmov v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking const-oid v0.10.2 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking serde_json v1.0.150 [INFO] [stderr] Checking rand_core v0.10.1 [INFO] [stderr] Checking ctutils v0.4.2 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Compiling zerocopy v0.8.52 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling cc v1.2.62 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Checking crypto-common v0.2.2 [INFO] [stderr] Checking block-buffer v0.12.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking unicode-properties v0.1.4 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking digest v0.11.3 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tokio v1.52.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling hashlink v0.11.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Compiling hmac v0.13.0 [INFO] [stderr] Compiling sha2 v0.11.0 [INFO] [stderr] Compiling hkdf v0.13.0 [INFO] [stderr] Compiling md-5 v0.11.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling whoami v2.1.2 [INFO] [stderr] Checking crc v3.4.0 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking integer-encoding v4.1.0 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Compiling db v0.1.0 (/opt/rustwide/workdir/crates/db) [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Checking rustls-pki-types v1.14.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling bytestring v1.5.1 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling aws-lc-sys v0.41.0 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking http v1.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling regex-lite v0.1.9 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking brotli v8.0.3 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking sha1 v0.11.0 [INFO] [stderr] Checking uuid v1.23.2 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking protocol v0.1.0 (/opt/rustwide/workdir/crates/protocol) [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rsasl v2.3.1 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Compiling actix-router v0.5.4 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Compiling aws-lc-rs v1.17.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking webpki-roots v1.0.8 [INFO] [stderr] Compiling sqlx-core v0.9.0 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Checking inout v0.2.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking cipher v0.5.2 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking config v0.1.0 (/opt/rustwide/workdir/crates/config) [INFO] [stderr] Checking blowfish v0.10.0 [INFO] [stderr] Checking rand v0.9.4 [INFO] [stderr] Checking bcrypt v0.19.1 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Checking rustls-webpki v0.103.13 [INFO] [stderr] Checking rskafka v0.6.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Checking hyper v1.10.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Compiling sqlx-postgres v0.9.0 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix v0.13.5 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking hyper-rustls v0.27.9 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking actix-http v3.12.1 [INFO] [stderr] Compiling sqlx-macros-core v0.9.0 [INFO] [stderr] Compiling sqlx-macros v0.9.0 [INFO] [stderr] Checking actix-web v4.13.0 [INFO] [stderr] Checking sqlx v0.9.0 [INFO] [stderr] Checking e2e-smoke v0.1.0 (/opt/rustwide/workdir/tools/e2e-smoke) [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/closed_positions.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let closed_position = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 26 | | ClosedPositionRow, [INFO] [stdout] 27 | | r#" [INFO] [stdout] 28 | | INSERT INTO closed_positions(position_id, user_id, market_id, market_name, side, quantity, entry_price, exit_price, realiz... [INFO] [stdout] ... | [INFO] [stdout] 62 | | close_reason as CloseType [INFO] [stdout] 63 | | ) [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/collaterals.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | let created_user_collateral = sqlx::query_as!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 13 | | UserCollateralRow, [INFO] [stdout] 14 | | r#" [INFO] [stdout] 15 | | INSERT INTO user_collaterals(user_id, asset, total, locked) [INFO] [stdout] ... | [INFO] [stdout] 28 | | locked [INFO] [stdout] 29 | | ) [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/collaterals.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let updated_total = sqlx::query_scalar!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 42 | | r#" [INFO] [stdout] 43 | | UPDATE user_collaterals [INFO] [stdout] 44 | | SET total=total+$3, [INFO] [stdout] ... | [INFO] [stdout] 51 | | amount, [INFO] [stdout] 52 | | ) [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/collaterals.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | let updated_locked = sqlx::query_scalar!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 81 | | r#" [INFO] [stdout] 82 | | UPDATE user_collaterals [INFO] [stdout] 83 | | SET locked=locked+$3, [INFO] [stdout] ... | [INFO] [stdout] 90 | | amount, [INFO] [stdout] 91 | | ) [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/collaterals.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let collateral = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 112 | | UserCollateralRow, [INFO] [stdout] 113 | | r#" [INFO] [stdout] 114 | | UPDATE user_collaterals [INFO] [stdout] ... | [INFO] [stdout] 128 | | amount, [INFO] [stdout] 129 | | ) [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/collaterals.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | let collateral = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 142 | | UserCollateralRow, [INFO] [stdout] 143 | | r#" [INFO] [stdout] 144 | | UPDATE user_collaterals [INFO] [stdout] ... | [INFO] [stdout] 158 | | amount, [INFO] [stdout] 159 | | ) [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/closed_positions.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let closed_position = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 26 | | ClosedPositionRow, [INFO] [stdout] 27 | | r#" [INFO] [stdout] 28 | | INSERT INTO closed_positions(position_id, user_id, market_id, market_name, side, quantity, entry_price, exit_price, realiz... [INFO] [stdout] ... | [INFO] [stdout] 62 | | close_reason as CloseType [INFO] [stdout] 63 | | ) [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/collaterals.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | let collaterals = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 168 | | UserCollateralRow, [INFO] [stdout] 169 | | r#" [INFO] [stdout] 170 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 179 | | user_id [INFO] [stdout] 180 | | ) [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/collaterals.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | let collateral = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 192 | | UserCollateralRow, [INFO] [stdout] 193 | | r#" [INFO] [stdout] 194 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 205 | | asset as AssetType [INFO] [stdout] 206 | | ) [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/collaterals.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | let created_user_collateral = sqlx::query_as!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 13 | | UserCollateralRow, [INFO] [stdout] 14 | | r#" [INFO] [stdout] 15 | | INSERT INTO user_collaterals(user_id, asset, total, locked) [INFO] [stdout] ... | [INFO] [stdout] 28 | | locked [INFO] [stdout] 29 | | ) [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/collaterals.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | let updated_total = sqlx::query_scalar!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 42 | | r#" [INFO] [stdout] 43 | | UPDATE user_collaterals [INFO] [stdout] 44 | | SET total=total+$3, [INFO] [stdout] ... | [INFO] [stdout] 51 | | amount, [INFO] [stdout] 52 | | ) [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/collaterals.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | let updated_locked = sqlx::query_scalar!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 81 | | r#" [INFO] [stdout] 82 | | UPDATE user_collaterals [INFO] [stdout] 83 | | SET locked=locked+$3, [INFO] [stdout] ... | [INFO] [stdout] 90 | | amount, [INFO] [stdout] 91 | | ) [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/collaterals.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let collateral = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 112 | | UserCollateralRow, [INFO] [stdout] 113 | | r#" [INFO] [stdout] 114 | | UPDATE user_collaterals [INFO] [stdout] ... | [INFO] [stdout] 128 | | amount, [INFO] [stdout] 129 | | ) [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/collaterals.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | let collateral = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 142 | | UserCollateralRow, [INFO] [stdout] 143 | | r#" [INFO] [stdout] 144 | | UPDATE user_collaterals [INFO] [stdout] ... | [INFO] [stdout] 158 | | amount, [INFO] [stdout] 159 | | ) [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/collaterals.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | let collaterals = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 168 | | UserCollateralRow, [INFO] [stdout] 169 | | r#" [INFO] [stdout] 170 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 179 | | user_id [INFO] [stdout] 180 | | ) [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/collaterals.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | let collateral = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 192 | | UserCollateralRow, [INFO] [stdout] 193 | | r#" [INFO] [stdout] 194 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 205 | | asset as AssetType [INFO] [stdout] 206 | | ) [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/markets.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | let market=sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 18 | | MarketRow, [INFO] [stdout] 19 | | r#" [INFO] [stdout] 20 | | INSERT INTO markets(market_id,market_name,base_asset,quote_asset,decimal_base,decimal_quote, last_traded_price) [INFO] [stdout] ... | [INFO] [stdout] 38 | | last_traded_price [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/db/src/markets.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let markets = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 47 | | MarketRow, [INFO] [stdout] 48 | | r#" [INFO] [stdout] 49 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 59 | | "#, [INFO] [stdout] 60 | | ) [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/markets.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | let market = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 69 | | MarketRow, [INFO] [stdout] 70 | | r#" [INFO] [stdout] 71 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 82 | | market_id [INFO] [stdout] 83 | | ) [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/markets.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | let market = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 93 | | MarketRow, [INFO] [stdout] 94 | | r#" [INFO] [stdout] 95 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 106 | | market_name [INFO] [stdout] 107 | | ) [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/orders.rs:288:18 [INFO] [stdout] | [INFO] [stdout] 288 | let orders = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 289 | | OrderRow, [INFO] [stdout] 290 | | r#" [INFO] [stdout] 291 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 309 | | OrderStatus::OPEN as OrderStatus, [INFO] [stdout] 310 | | ) [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/markets.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | let market=sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 18 | | MarketRow, [INFO] [stdout] 19 | | r#" [INFO] [stdout] 20 | | INSERT INTO markets(market_id,market_name,base_asset,quote_asset,decimal_base,decimal_quote, last_traded_price) [INFO] [stdout] ... | [INFO] [stdout] 38 | | last_traded_price [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> crates/db/src/markets.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let markets = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 47 | | MarketRow, [INFO] [stdout] 48 | | r#" [INFO] [stdout] 49 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 59 | | "#, [INFO] [stdout] 60 | | ) [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/markets.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | let market = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 69 | | MarketRow, [INFO] [stdout] 70 | | r#" [INFO] [stdout] 71 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 82 | | market_id [INFO] [stdout] 83 | | ) [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/markets.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | let market = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 93 | | MarketRow, [INFO] [stdout] 94 | | r#" [INFO] [stdout] 95 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 106 | | market_name [INFO] [stdout] 107 | | ) [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/orders.rs:288:18 [INFO] [stdout] | [INFO] [stdout] 288 | let orders = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 289 | | OrderRow, [INFO] [stdout] 290 | | r#" [INFO] [stdout] 291 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 309 | | OrderStatus::OPEN as OrderStatus, [INFO] [stdout] 310 | | ) [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/users.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | UserRow, [INFO] [stdout] 10 | | r#" [INFO] [stdout] 11 | | INSERT INTO users(user_id, username, hashed_password) [INFO] [stdout] ... | [INFO] [stdout] 22 | | hashed_password [INFO] [stdout] 23 | | ) [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/users.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / sqlx::query_as!( [INFO] [stdout] 9 | | UserRow, [INFO] [stdout] 10 | | r#" [INFO] [stdout] 11 | | INSERT INTO users(user_id, username, hashed_password) [INFO] [stdout] ... | [INFO] [stdout] 22 | | hashed_password [INFO] [stdout] 23 | | ) [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] [stderr] error: could not compile `db` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `db` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "87f88995bcf456d63f22dc9a21e08e216315b4b73c3b1e4f07d4e07f2eb7af2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87f88995bcf456d63f22dc9a21e08e216315b4b73c3b1e4f07d4e07f2eb7af2d", kill_on_drop: false }` [INFO] [stdout] 87f88995bcf456d63f22dc9a21e08e216315b4b73c3b1e4f07d4e07f2eb7af2d