[INFO] cloning repository https://github.com/CympleTech/group-chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CympleTech/group-chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCympleTech%2Fgroup-chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCympleTech%2Fgroup-chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43a68da6548766c6939e9538e9be9963c684cd7b [INFO] building CympleTech/group-chat against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCympleTech%2Fgroup-chat" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CympleTech/group-chat on toolchain ff34b919075f35a1787659e9c448a34b06bab8de [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CympleTech/group-chat [INFO] finished tweaking git repo https://github.com/CympleTech/group-chat [INFO] tweaked toml for git repo https://github.com/CympleTech/group-chat written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/cypherlink/tdn-did` [INFO] [stderr] Updating git repository `https://github.com/cypherlink/TDN` [INFO] [stderr] Updating git repository `https://github.com/cypherlink/tdn-storage` [INFO] [stderr] Updating git repository `https://github.com/cypherlink/chamomile` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eae5e2ba932a52954d1659862099c33ab574a040f21b95af2bd648d55ba4a65c [INFO] running `Command { std: "docker" "start" "-a" "eae5e2ba932a52954d1659862099c33ab574a040f21b95af2bd648d55ba4a65c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eae5e2ba932a52954d1659862099c33ab574a040f21b95af2bd648d55ba4a65c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae5e2ba932a52954d1659862099c33ab574a040f21b95af2bd648d55ba4a65c", kill_on_drop: false }` [INFO] [stdout] eae5e2ba932a52954d1659862099c33ab574a040f21b95af2bd648d55ba4a65c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d85294f339f224a99419d6edd65e368ab16de5601386b6f0cc0c9a6e8a04fc2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6d85294f339f224a99419d6edd65e368ab16de5601386b6f0cc0c9a6e8a04fc2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling postcard-cobs v0.1.5-pre [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling sysinfo v0.16.5 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling ed25519 v1.1.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling unicode-normalization v0.1.18 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling signal-hook v0.3.8 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling async-fs v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling rusqlite v0.24.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling simplelog v0.8.0 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling x25519-dalek v1.1.1 [INFO] [stderr] Compiling async-process v1.1.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-net v1.6.0 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling smol v1.2.5 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling async-tungstenite v0.10.0 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling chamomile-types v0.4.0 (https://github.com/cypherlink/chamomile?branch=main#6cd72524) [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling postcard v0.5.2 [INFO] [stderr] Compiling sqlx-rt v0.5.5 [INFO] [stderr] Compiling chamomile v0.4.0 (https://github.com/cypherlink/chamomile?branch=main#6cd72524) [INFO] [stderr] Compiling tdn-types v0.4.0 (https://github.com/cypherlink/TDN?branch=main#62d0d526) [INFO] [stderr] Compiling sqlx-core v0.5.5 [INFO] [stderr] Compiling config v0.11.0 [INFO] [stderr] Compiling tdn-did v0.3.0 (https://github.com/cypherlink/tdn-did?branch=main#5849534c) [INFO] [stderr] Compiling tdn-storage v0.3.0 (https://github.com/cypherlink/tdn-storage?branch=main#2d490368) [INFO] [stderr] Compiling group-chat-types v0.1.0 (/opt/rustwide/workdir/types) [INFO] [stderr] Compiling tdn v0.4.0 (https://github.com/cypherlink/TDN?branch=main#62d0d526) [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Compiling sqlx v0.5.5 [INFO] [stderr] Compiling group-chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | ... let res = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 96 | | ... "SELECT id, owner, height, g_id, g_type, g_name, g_bio, is_need_agree, key_hash, is_closed, datetime FROM groups WHERE is_delet... [INFO] [stdout] 97 | | ... id [INFO] [stdout] 98 | | ... ).fetch_one(get_pool()?).await.map_err(|_| new_io_error("database failure."))?; [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | ... let recs = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 117 | | ... "SELECT id, owner, height, g_id, g_type, g_name, g_bio, is_need_agree, key_hash, is_closed, datetime FROM groups WHERE is_delet... [INFO] [stdout] 118 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | ... let rec = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 144 | | ... "INSERT INTO groups (owner, height, g_id, g_type, g_name, g_bio, is_need_agree, key_hash, is_closed, datetime) VALUES ($1, $2, ... [INFO] [stdout] 145 | | ... self.owner.to_hex(), [INFO] [stdout] 146 | | ... self.height, [INFO] [stdout] ... | [INFO] [stdout] 154 | | ... self.datetime [INFO] [stdout] 155 | | ... ).fetch_one(get_pool()?).await.map_err(|_| new_io_error("database failure."))?; [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let _ = sqlx::query!("UPDATE groups SET height = $1 WHERE id = $2", height, id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | let rec = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 254 | | "INSERT INTO members (fid, m_id, m_addr, m_name, is_manager, datetime) VALUES ($1, $2, $3, $4, $5, $6) RETURNING id", [INFO] [stdout] 255 | | self.fid, [INFO] [stdout] 256 | | self.m_id.to_hex(), [INFO] [stdout] ... | [INFO] [stdout] 260 | | self.datetime [INFO] [stdout] 261 | | ).fetch_one(get_pool()?).await.map_err(|_| new_io_error("database failure."))?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:268:20 [INFO] [stdout] | [INFO] [stdout] 268 | let recs = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 269 | | "SELECT is_deleted FROM members WHERE fid = $1 and m_id = $2", [INFO] [stdout] 270 | | fid, [INFO] [stdout] 271 | | mid.to_hex() [INFO] [stdout] 272 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 286 | let rec = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 287 | | "SELECT id, fid, m_id, m_addr, m_name, is_manager, datetime FROM members WHERE id = $1", [INFO] [stdout] 288 | | id, [INFO] [stdout] 289 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:306:19 [INFO] [stdout] | [INFO] [stdout] 306 | let rec = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 307 | | "SELECT id, fid, m_id, m_addr, m_name, is_manager, datetime FROM members WHERE fid = $1 and m_id = $2", [INFO] [stdout] 308 | | fid, [INFO] [stdout] 309 | | gid.to_hex(), [INFO] [stdout] 310 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:327:20 [INFO] [stdout] | [INFO] [stdout] 327 | let recs = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 328 | | "SELECT is_deleted, is_manager FROM members WHERE fid = $1 and m_id = $2", [INFO] [stdout] 329 | | fid, [INFO] [stdout] 330 | | mid.to_hex() [INFO] [stdout] 331 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:456:19 [INFO] [stdout] | [INFO] [stdout] 456 | let rec = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 457 | | "INSERT INTO messages (fid, mid, m_type, m_content, datetime) VALUES ($1, $2, $3, $4, $5) RETURNING id", [INFO] [stdout] 458 | | fid, [INFO] [stdout] 459 | | member.id, [INFO] [stdout] ... | [INFO] [stdout] 462 | | datetime, [INFO] [stdout] 463 | | ).fetch_one(get_pool()?).await.map_err(|_| new_io_error("database failure."))?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:514:19 [INFO] [stdout] | [INFO] [stdout] 514 | let rec = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 515 | | "SELECT id, fid, mid, m_type, m_content, datetime FROM messages WHERE id = $1", [INFO] [stdout] 516 | | id, [INFO] [stdout] 517 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:565:20 [INFO] [stdout] | [INFO] [stdout] 565 | let recs = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 566 | | "SELECT id, gid, times, is_closed, datetime FROM managers WHERE is_deleted = false ORDER BY id", [INFO] [stdout] 567 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:586:19 [INFO] [stdout] | [INFO] [stdout] 586 | let rec = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 587 | | "INSERT INTO managers ( gid, times, is_closed, datetime ) VALUES ( $1, $2, $3, $4 ) RETURNING id", [INFO] [stdout] 588 | | self.gid.to_hex(), [INFO] [stdout] 589 | | self.times, [INFO] [stdout] 590 | | self.is_closed, [INFO] [stdout] 591 | | self.datetime [INFO] [stdout] 592 | | ).fetch_one(get_pool()?).await.map_err(|_| new_io_error("database failure."))?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:661:13 [INFO] [stdout] | [INFO] [stdout] 661 | sqlx::query!("SELECT id, fid, height, ctype, cid FROM consensus WHERE fid = $1 AND height BETWEEN $2 AND $3", fid, from, to) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:716:19 [INFO] [stdout] | [INFO] [stdout] 716 | let rec = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 717 | | "INSERT INTO consensus ( fid, height, ctype, cid ) VALUES ( $1, $2, $3, $4 )", [INFO] [stdout] 718 | | fid, [INFO] [stdout] 719 | | height, [INFO] [stdout] 720 | | ctype.to_i16(), [INFO] [stdout] 721 | | cid [INFO] [stdout] 722 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `group-chat` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6d85294f339f224a99419d6edd65e368ab16de5601386b6f0cc0c9a6e8a04fc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d85294f339f224a99419d6edd65e368ab16de5601386b6f0cc0c9a6e8a04fc2", kill_on_drop: false }` [INFO] [stdout] 6d85294f339f224a99419d6edd65e368ab16de5601386b6f0cc0c9a6e8a04fc2