[INFO] cloning repository https://github.com/nicksenger/synchrotron-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nicksenger/synchrotron-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicksenger%2Fsynchrotron-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicksenger%2Fsynchrotron-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc3a9ff8d038ba8de30087cf376e43c1eb9006f1 [INFO] checking nicksenger/synchrotron-server against try#6f12b8fe67b4eed2e838dab803ed9493b9d62c0f for pr-79073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicksenger%2Fsynchrotron-server" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nicksenger/synchrotron-server on toolchain 6f12b8fe67b4eed2e838dab803ed9493b9d62c0f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nicksenger/synchrotron-server [INFO] finished tweaking git repo https://github.com/nicksenger/synchrotron-server [INFO] tweaked toml for git repo https://github.com/nicksenger/synchrotron-server written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/nicksenger/synchrotron-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dataloader v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3369c06105bfd6835061ce81ef52bea090bb41aa25867f468041c675b3b7eaf [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" "d3369c06105bfd6835061ce81ef52bea090bb41aa25867f468041c675b3b7eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3369c06105bfd6835061ce81ef52bea090bb41aa25867f468041c675b3b7eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3369c06105bfd6835061ce81ef52bea090bb41aa25867f468041c675b3b7eaf", kill_on_drop: false }` [INFO] [stdout] d3369c06105bfd6835061ce81ef52bea090bb41aa25867f468041c675b3b7eaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 669615ad2b879d743c59d8a53e260a1e1e71f5e9c443d293fa6692907aed4105 [INFO] running `Command { std: "docker" "start" "-a" "669615ad2b879d743c59d8a53e260a1e1e71f5e9c443d293fa6692907aed4105", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.6 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.6 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.10 [INFO] [stderr] Compiling futures-io v0.3.6 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling v_escape v0.13.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling whoami v0.9.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling v_htmlescape v0.10.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling instant v0.1.7 [INFO] [stderr] Checking buf-min v0.1.1 [INFO] [stderr] Checking bytestring v0.1.5 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling futures-task v0.3.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.6 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking tinyvec v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking num-integer v0.1.43 [INFO] [stderr] Checking atoi v0.3.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling derive_utils v0.10.0 [INFO] [stderr] Compiling actix-web-codegen v0.3.0 [INFO] [stderr] Checking sqlformat v0.1.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking async-global-executor v1.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling juniper_codegen v0.14.2 (https://github.com/graphql-rust/juniper#c964fd80) [INFO] [stderr] Checking async-std v1.6.5 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking actix-router v0.2.5 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Checking futures-util v0.3.6 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling v_escape_derive v0.8.4 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking bson v1.1.0 [INFO] [stderr] Checking graphql-parser v0.3.0 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking dataloader v0.12.0 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures-executor v0.3.6 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures v0.3.6 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking trust-dns-proto v0.19.5 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking tokio-native-tls v0.1.0 [INFO] [stderr] Compiling find-crate v0.6.1 [INFO] [stderr] Checking sqlx-rt v0.1.1 [INFO] [stderr] Checking sqlx-core v0.4.0-beta.1 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Compiling futures-enum v0.1.14 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.5 [INFO] [stderr] Checking juniper v0.14.2 (https://github.com/graphql-rust/juniper#c964fd80) [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix-http v2.0.0 [INFO] [stderr] Compiling sqlx-macros v0.4.0-beta.1 [INFO] [stderr] Checking awc v2.0.0 [INFO] [stderr] Checking actix-web v3.1.0 [INFO] [stderr] Checking actix-files v0.4.0 [INFO] [stderr] Checking sqlx v0.4.0-beta.1 [INFO] [stderr] Checking synchrotron-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/data/anchor/get_anchor_by_id.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let anchors = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 10 | | "SELECT * FROM anchors WHERE id IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 11 | | &ids [INFO] [stdout] 12 | | ) [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/data/anchor/get_anchor_by_page.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let anchors = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 14 | | "SELECT * FROM anchors WHERE document_page IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 15 | | &page_ids [INFO] [stdout] 16 | | ) [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/data/bookmark/get_bookmark_by_document.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let bookmarks = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 14 | | "SELECT * FROM bookmarks WHERE document IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 15 | | &document_ids [INFO] [stdout] 16 | | ) [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/data/bookmark/get_bookmark_by_id.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let bookmarks = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 14 | | "SELECT * FROM bookmarks WHERE id IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 15 | | &ids [INFO] [stdout] 16 | | ) [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/data/document/all_documents.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | let documents = sqlx::query!("SELECT * FROM documents;") [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/data/document/get_document_by_id.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let documents = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 14 | | "SELECT * FROM documents WHERE id IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 15 | | &ids [INFO] [stdout] 16 | | ) [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/data/page/get_page_by_document.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let pages = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 14 | | "SELECT * FROM pages WHERE document IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 15 | | &document_ids [INFO] [stdout] 16 | | ) [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/data/page/get_page_by_id.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let pages = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 10 | | "SELECT * FROM pages WHERE id IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 11 | | &ids [INFO] [stdout] 12 | | ) [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/data/track/get_track_by_document.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let tracks = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 14 | | "SELECT * FROM tracks WHERE document IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 15 | | &document_ids [INFO] [stdout] 16 | | ) [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/data/track/get_track_by_id.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let tracks = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 10 | | "SELECT * FROM tracks WHERE id IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 11 | | &ids [INFO] [stdout] 12 | | ) [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/data/anchor/get_anchor_by_id.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let anchors = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 10 | | "SELECT * FROM anchors WHERE id IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 11 | | &ids [INFO] [stdout] 12 | | ) [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/data/anchor/get_anchor_by_page.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let anchors = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 14 | | "SELECT * FROM anchors WHERE document_page IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 15 | | &page_ids [INFO] [stdout] 16 | | ) [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/data/bookmark/get_bookmark_by_document.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let bookmarks = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 14 | | "SELECT * FROM bookmarks WHERE document IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 15 | | &document_ids [INFO] [stdout] 16 | | ) [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/data/bookmark/get_bookmark_by_id.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let bookmarks = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 14 | | "SELECT * FROM bookmarks WHERE id IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 15 | | &ids [INFO] [stdout] 16 | | ) [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/data/document/all_documents.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | let documents = sqlx::query!("SELECT * FROM documents;") [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/data/document/get_document_by_id.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let documents = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 14 | | "SELECT * FROM documents WHERE id IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 15 | | &ids [INFO] [stdout] 16 | | ) [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/data/page/get_page_by_document.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let pages = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 14 | | "SELECT * FROM pages WHERE document IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 15 | | &document_ids [INFO] [stdout] 16 | | ) [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/data/page/get_page_by_id.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let pages = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 10 | | "SELECT * FROM pages WHERE id IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 11 | | &ids [INFO] [stdout] 12 | | ) [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/data/track/get_track_by_document.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let tracks = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 14 | | "SELECT * FROM tracks WHERE document IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 15 | | &document_ids [INFO] [stdout] 16 | | ) [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/data/track/get_track_by_id.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let tracks = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 10 | | "SELECT * FROM tracks WHERE id IN (SELECT * FROM UNNEST($1::int[]));", [INFO] [stdout] 11 | | &ids [INFO] [stdout] 12 | | ) [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/test/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | / sqlx::query!( [INFO] [stdout] 31 | | "INSERT INTO documents ( [INFO] [stdout] 32 | | title, [INFO] [stdout] 33 | | created_at, [INFO] [stdout] ... | [INFO] [stdout] 38 | | Utc::now(), [INFO] [stdout] 39 | | ) [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/test/mod.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | / sqlx::query!( [INFO] [stdout] 46 | | "INSERT INTO tracks ( [INFO] [stdout] 47 | | track_number, [INFO] [stdout] 48 | | title, [INFO] [stdout] ... | [INFO] [stdout] 55 | | i + 1 [INFO] [stdout] 56 | | ) [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/test/mod.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | / sqlx::query!( [INFO] [stdout] 62 | | "INSERT INTO pages ( [INFO] [stdout] 63 | | page_number, [INFO] [stdout] 64 | | image_path, [INFO] [stdout] ... | [INFO] [stdout] 73 | | i + 1 [INFO] [stdout] 74 | | ) [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/test/mod.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | / sqlx::query!( [INFO] [stdout] 80 | | "INSERT INTO bookmarks ( [INFO] [stdout] 81 | | title, [INFO] [stdout] 82 | | document_page, [INFO] [stdout] ... | [INFO] [stdout] 87 | | i + 1 [INFO] [stdout] 88 | | ) [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/test/mod.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | / sqlx::query!( [INFO] [stdout] 95 | | "INSERT INTO anchors ( [INFO] [stdout] 96 | | title, [INFO] [stdout] 97 | | track_time, [INFO] [stdout] ... | [INFO] [stdout] 112 | | Utc::now() [INFO] [stdout] 113 | | ) [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/test/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | sqlx::query!("TRUNCATE TABLE documents RESTART IDENTITY CASCADE;") [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] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/test/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `synchrotron-server` [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] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "669615ad2b879d743c59d8a53e260a1e1e71f5e9c443d293fa6692907aed4105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "669615ad2b879d743c59d8a53e260a1e1e71f5e9c443d293fa6692907aed4105", kill_on_drop: false }` [INFO] [stdout] 669615ad2b879d743c59d8a53e260a1e1e71f5e9c443d293fa6692907aed4105