[INFO] cloning repository https://github.com/ferocious-ferret/throatql [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ferocious-ferret/throatql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fferocious-ferret%2Fthroatql", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fferocious-ferret%2Fthroatql'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d6f9847db0c55a8374efbdbfe5f0df963042281 [INFO] checking ferocious-ferret/throatql against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fferocious-ferret%2Fthroatql" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ferocious-ferret/throatql on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ferocious-ferret/throatql [INFO] finished tweaking git repo https://github.com/ferocious-ferret/throatql [INFO] tweaked toml for git repo https://github.com/ferocious-ferret/throatql written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/ferocious-ferret/throatql already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 61ae253b9bdcfad06d167bb46d8b4b39d20cf214f5b0d1b284896fdfd3b44d53 [INFO] running `Command { std: "docker" "start" "-a" "61ae253b9bdcfad06d167bb46d8b4b39d20cf214f5b0d1b284896fdfd3b44d53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61ae253b9bdcfad06d167bb46d8b4b39d20cf214f5b0d1b284896fdfd3b44d53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61ae253b9bdcfad06d167bb46d8b4b39d20cf214f5b0d1b284896fdfd3b44d53", kill_on_drop: false }` [INFO] [stdout] 61ae253b9bdcfad06d167bb46d8b4b39d20cf214f5b0d1b284896fdfd3b44d53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 594d090a3beb830556c32ad62257bc96a814dc0c891cf785119d9d5c1f76aab5 [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" "594d090a3beb830556c32ad62257bc96a814dc0c891cf785119d9d5c1f76aab5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling whoami v0.9.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking tracing v0.1.18 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking atoi v0.3.2 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking sqlformat v0.1.0 [INFO] [stderr] Checking pem v0.8.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking native-tls v0.2.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Checking headers v0.3.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking tungstenite v0.10.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling derive_utils v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling juniper_codegen v0.14.2 (https://github.com/graphql-rust/juniper.git#db209b38) [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking graphql-parser v0.3.0 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-native-tls v0.1.0 [INFO] [stderr] Checking dataloader v0.12.0 [INFO] [stderr] Checking sqlx-rt v0.1.1 (https://github.com/launchbadge/sqlx.git#5f3245d7) [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking tokio-tungstenite v0.10.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Compiling find-crate v0.5.0 [INFO] [stderr] Compiling futures-enum v0.1.13 [INFO] [stderr] Checking bson v1.0.0 [INFO] [stderr] Checking sqlx-core v0.4.0-beta.1 (https://github.com/launchbadge/sqlx.git#5f3245d7) [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking juniper v0.14.2 (https://github.com/graphql-rust/juniper.git#db209b38) [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Compiling sqlx-macros v0.4.0-beta.1 (https://github.com/launchbadge/sqlx.git#5f3245d7) [INFO] [stderr] Checking warp v0.2.4 [INFO] [stderr] Checking juniper_warp v0.5.2 (https://github.com/graphql-rust/juniper.git#db209b38) [INFO] [stderr] Checking sqlx v0.4.0-beta.1 (https://github.com/launchbadge/sqlx.git#5f3245d7) [INFO] [stderr] Checking throatql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/auth.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | / sqlx::query!( [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | SELECT name, uid, a.admin, m.subs, m.level [INFO] [stdout] 58 | | FROM public.user [INFO] [stdout] ... | [INFO] [stdout] 71 | | token.claims.preferred_username [INFO] [stdout] 72 | | ) [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/auth.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | / sqlx::query!( [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | SELECT name, uid, a.admin, m.subs, m.level [INFO] [stdout] 58 | | FROM public.user [INFO] [stdout] ... | [INFO] [stdout] 71 | | token.claims.preferred_username [INFO] [stdout] 72 | | ) [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/comment.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 178 | let comments: Vec<_> = sqlx::query!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 179 | | r#" [INFO] [stdout] 180 | | SELECT p.cid, p.content, p.lastedit, p.parentcid, p.pid, p.score, p.upvotes, [INFO] [stdout] 181 | | p.downvotes, p.status, p.time, p.uid, c.child_arr as children, sp.sid [INFO] [stdout] ... | [INFO] [stdout] 195 | | keys [INFO] [stdout] 196 | | ) [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/comment.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 178 | let comments: Vec<_> = sqlx::query!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 179 | | r#" [INFO] [stdout] 180 | | SELECT p.cid, p.content, p.lastedit, p.parentcid, p.pid, p.score, p.upvotes, [INFO] [stdout] 181 | | p.downvotes, p.status, p.time, p.uid, c.child_arr as children, sp.sid [INFO] [stdout] ... | [INFO] [stdout] 195 | | keys [INFO] [stdout] 196 | | ) [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/post.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / sqlx::query!( [INFO] [stdout] 184 | | r#" [INFO] [stdout] 185 | | SELECT value [INFO] [stdout] 186 | | FROM site_metadata [INFO] [stdout] 187 | | WHERE key = 'default' [INFO] [stdout] 188 | | "# [INFO] [stdout] 189 | | ) [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/post.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | / sqlx::query!( [INFO] [stdout] 212 | | r#" [INFO] [stdout] 213 | | SELECT sid as value [INFO] [stdout] 214 | | FROM sub_subscriber [INFO] [stdout] ... | [INFO] [stdout] 217 | | id [INFO] [stdout] 218 | | ) [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/post.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | let edges = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 250 | | r#" [INFO] [stdout] 251 | | SELECT pid, content, deleted, link, nsfw, posted, edited, ptype, sid, thumbnail, [INFO] [stdout] 252 | | title, uid, flair, c.child_arr as comments, v.up as up_votes, v.down as down_votes [INFO] [stdout] ... | [INFO] [stdout] 274 | | id.as_slice() [INFO] [stdout] 275 | | ) [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/post.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 333 | total_count: sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 334 | | r#" [INFO] [stdout] 335 | | SELECT count(*) as "cnt!" [INFO] [stdout] 336 | | FROM sub_post [INFO] [stdout] ... | [INFO] [stdout] 339 | | id.as_slice() [INFO] [stdout] 340 | | ) [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/post.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | / sqlx::query!( [INFO] [stdout] 184 | | r#" [INFO] [stdout] 185 | | SELECT value [INFO] [stdout] 186 | | FROM site_metadata [INFO] [stdout] 187 | | WHERE key = 'default' [INFO] [stdout] 188 | | "# [INFO] [stdout] 189 | | ) [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/post.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | / sqlx::query!( [INFO] [stdout] 212 | | r#" [INFO] [stdout] 213 | | SELECT sid as value [INFO] [stdout] 214 | | FROM sub_subscriber [INFO] [stdout] ... | [INFO] [stdout] 217 | | id [INFO] [stdout] 218 | | ) [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/post.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | let edges = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 250 | | r#" [INFO] [stdout] 251 | | SELECT pid, content, deleted, link, nsfw, posted, edited, ptype, sid, thumbnail, [INFO] [stdout] 252 | | title, uid, flair, c.child_arr as comments, v.up as up_votes, v.down as down_votes [INFO] [stdout] ... | [INFO] [stdout] 274 | | id.as_slice() [INFO] [stdout] 275 | | ) [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/post.rs:353:52 [INFO] [stdout] | [INFO] [stdout] 353 | let posts: Vec> = sqlx::query!( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 354 | | r#" [INFO] [stdout] 355 | | SELECT pid, content, deleted, link, nsfw, posted, edited, ptype, sid, thumbnail, [INFO] [stdout] 356 | | title, uid, flair, c.child_arr as comments, v.up as up_votes, v.down as down_votes [INFO] [stdout] ... | [INFO] [stdout] 373 | | ids [INFO] [stdout] 374 | | ) [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/post.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 333 | total_count: sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 334 | | r#" [INFO] [stdout] 335 | | SELECT count(*) as "cnt!" [INFO] [stdout] 336 | | FROM sub_post [INFO] [stdout] ... | [INFO] [stdout] 339 | | id.as_slice() [INFO] [stdout] 340 | | ) [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/sub.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | SELECT count(distinct uid) as "cnt!" [INFO] [stdout] 27 | | FROM sub_subscriber [INFO] [stdout] ... | [INFO] [stdout] 31 | | self.sid [INFO] [stdout] 32 | | ) [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/sub.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let ids = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 65 | | r#" [INFO] [stdout] 66 | | SELECT uid [INFO] [stdout] 67 | | FROM sub_mod [INFO] [stdout] ... | [INFO] [stdout] 70 | | self.sid [INFO] [stdout] 71 | | ) [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/post.rs:353:52 [INFO] [stdout] | [INFO] [stdout] 353 | let posts: Vec> = sqlx::query!( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 354 | | r#" [INFO] [stdout] 355 | | SELECT pid, content, deleted, link, nsfw, posted, edited, ptype, sid, thumbnail, [INFO] [stdout] 356 | | title, uid, flair, c.child_arr as comments, v.up as up_votes, v.down as down_votes [INFO] [stdout] ... | [INFO] [stdout] 373 | | ids [INFO] [stdout] 374 | | ) [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/sub.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | SELECT count(distinct uid) as "cnt!" [INFO] [stdout] 27 | | FROM sub_subscriber [INFO] [stdout] ... | [INFO] [stdout] 31 | | self.sid [INFO] [stdout] 32 | | ) [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/sub.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let ids = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 65 | | r#" [INFO] [stdout] 66 | | SELECT uid [INFO] [stdout] 67 | | FROM sub_mod [INFO] [stdout] ... | [INFO] [stdout] 70 | | self.sid [INFO] [stdout] 71 | | ) [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/sub.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let edges = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 157 | | Sub, [INFO] [stdout] 158 | | r#" [INFO] [stdout] 159 | | SELECT name, nsfw, sidebar, title, creation, sid [INFO] [stdout] ... | [INFO] [stdout] 166 | | count as i64 [INFO] [stdout] 167 | | ) [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/sub.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 190 | total_count: sqlx::query!(r#"select count(*) as "cnt!" from sub"#) [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/sub.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let edges = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 157 | | Sub, [INFO] [stdout] 158 | | r#" [INFO] [stdout] 159 | | SELECT name, nsfw, sidebar, title, creation, sid [INFO] [stdout] ... | [INFO] [stdout] 166 | | count as i64 [INFO] [stdout] 167 | | ) [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/sub.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 190 | total_count: sqlx::query!(r#"select count(*) as "cnt!" from sub"#) [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/sub.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 216 | let results: Vec<_> = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 217 | | Sub, [INFO] [stdout] 218 | | r#"SELECT sid, name, creation, title, sidebar, nsfw [INFO] [stdout] 219 | | FROM sub [INFO] [stdout] ... | [INFO] [stdout] 223 | | &sql_keys [INFO] [stdout] 224 | | ) [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/sub.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 216 | let results: Vec<_> = sqlx::query_as!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 217 | | Sub, [INFO] [stdout] 218 | | r#"SELECT sid, name, creation, title, sidebar, nsfw [INFO] [stdout] 219 | | FROM sub [INFO] [stdout] ... | [INFO] [stdout] 223 | | &sql_keys [INFO] [stdout] 224 | | ) [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/user.rs:101:52 [INFO] [stdout] | [INFO] [stdout] 101 | let users: Vec> = sqlx::query!( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 102 | | r#" [INFO] [stdout] 103 | | SELECT uid, crypto, joindate, name, email, password, score, given, status, resets [INFO] [stdout] 104 | | FROM public.user [INFO] [stdout] ... | [INFO] [stdout] 111 | | .collect::>() [INFO] [stdout] 112 | | ) [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/user.rs:101:52 [INFO] [stdout] | [INFO] [stdout] 101 | let users: Vec> = sqlx::query!( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 102 | | r#" [INFO] [stdout] 103 | | SELECT uid, crypto, joindate, name, email, password, score, given, status, resets [INFO] [stdout] 104 | | FROM public.user [INFO] [stdout] ... | [INFO] [stdout] 111 | | .collect::>() [INFO] [stdout] 112 | | ) [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[E0609]: no field `sid` on type `&_` [INFO] [stdout] --> src/sub.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | map.insert(value.sid.clone().into(), Ok(value.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `sid` on type `&_` [INFO] [stdout] --> src/sub.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | map.insert(value.sid.clone().into(), Ok(value.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::stream::StreamExt` [INFO] [stdout] --> src/comment.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_util::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::stream::StreamExt` [INFO] [stdout] --> src/post.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_util::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::stream::StreamExt` [INFO] [stdout] --> src/sub.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_util::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::stream::StreamExt` [INFO] [stdout] --> src/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_util::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stderr] error: could not compile `throatql` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `futures_util::stream::StreamExt` [INFO] [stdout] --> src/comment.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_util::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::stream::StreamExt` [INFO] [stdout] --> src/post.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_util::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::stream::StreamExt` [INFO] [stdout] --> src/sub.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_util::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::stream::StreamExt` [INFO] [stdout] --> src/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_util::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "594d090a3beb830556c32ad62257bc96a814dc0c891cf785119d9d5c1f76aab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "594d090a3beb830556c32ad62257bc96a814dc0c891cf785119d9d5c1f76aab5", kill_on_drop: false }` [INFO] [stdout] 594d090a3beb830556c32ad62257bc96a814dc0c891cf785119d9d5c1f76aab5