[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#55b3f428b4fac6790b1e8492e0b91ff2d80aec7c for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicksenger%2Fsynchrotron-server" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nicksenger/synchrotron-server on toolchain 55b3f428b4fac6790b1e8492e0b91ff2d80aec7c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "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-14/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" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/graphql-rust/juniper` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-web v3.1.0 [INFO] [stderr] Downloaded v_escape_derive v0.8.4 [INFO] [stderr] Downloaded ascii v0.9.3 [INFO] [stderr] Downloaded graphql-parser v0.3.0 [INFO] [stderr] Downloaded atoi v0.3.2 [INFO] [stderr] Downloaded bson v1.1.0 [INFO] [stderr] Downloaded actix-files v0.4.0 [INFO] [stderr] Downloaded v_escape v0.13.2 [INFO] [stderr] Downloaded sqlx-core v0.4.0-beta.1 [INFO] [stderr] Downloaded v_htmlescape v0.10.4 [INFO] [stderr] Downloaded dataloader v0.12.0 [INFO] [stderr] Downloaded find-crate v0.6.1 [INFO] [stderr] Downloaded async-global-executor v1.3.0 [INFO] [stderr] Downloaded derive_utils v0.10.0 [INFO] [stderr] Downloaded crypto-mac v0.8.0 [INFO] [stderr] Downloaded hmac v0.8.1 [INFO] [stderr] Downloaded whoami v0.9.0 [INFO] [stderr] Downloaded sha2 v0.9.1 [INFO] [stderr] Downloaded sqlformat v0.1.1 [INFO] [stderr] Downloaded sqlx v0.4.0-beta.1 [INFO] [stderr] Downloaded tokio-native-tls v0.1.0 [INFO] [stderr] Downloaded sqlx-rt v0.1.1 [INFO] [stderr] Downloaded sqlx-macros v0.4.0-beta.1 [INFO] [stderr] Downloaded futures-enum v0.1.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb5d944a1d06f2bea8119eb8baed7dce7f30d6fde0548f81af18ae13c2eec48a [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" "bb5d944a1d06f2bea8119eb8baed7dce7f30d6fde0548f81af18ae13c2eec48a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb5d944a1d06f2bea8119eb8baed7dce7f30d6fde0548f81af18ae13c2eec48a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb5d944a1d06f2bea8119eb8baed7dce7f30d6fde0548f81af18ae13c2eec48a", kill_on_drop: false }` [INFO] [stdout] bb5d944a1d06f2bea8119eb8baed7dce7f30d6fde0548f81af18ae13c2eec48a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf994491137a55917dd9c3a053f918687f26076aa37a8939dd3a4eef0180a0da [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" "cf994491137a55917dd9c3a053f918687f26076aa37a8939dd3a4eef0180a0da", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-io v0.3.6 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.17 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking object v0.21.1 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Compiling futures-sink v0.3.6 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-project-lite v0.1.10 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking async-task v4.0.2 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling v_escape v0.13.2 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling v_htmlescape v0.10.4 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling whoami v0.9.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking futures-task v0.3.6 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.6 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking buf-min v0.1.1 [INFO] [stderr] Checking bytestring v0.1.5 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking tinyvec v1.0.1 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking encoding_rs v0.8.24 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Checking futures-lite v1.11.1 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking polling v2.0.1 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking backtrace v0.3.53 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking async-io v1.1.10 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking atoi v0.3.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking async-global-executor v1.3.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking sqlformat v0.1.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking async-std v1.6.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling derive_utils v0.10.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [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 v_escape_derive v0.8.4 [INFO] [stderr] Compiling actix-web-codegen v0.3.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 tokio v0.2.22 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking dataloader v0.12.0 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking graphql-parser v0.3.0 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking futures-util v0.3.6 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-native-tls v0.1.0 [INFO] [stderr] Checking sqlx-rt v0.1.1 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.6 [INFO] [stderr] Compiling sqlx-core v0.4.0-beta.1 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking futures v0.3.6 [INFO] [stderr] Checking trust-dns-proto v0.19.5 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.2.5 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Checking bson v1.1.0 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Compiling find-crate v0.6.1 [INFO] [stderr] Compiling futures-enum v0.1.14 [INFO] [stderr] Compiling sqlx-macros v0.4.0-beta.1 [INFO] [stderr] Checking juniper v0.14.2 (https://github.com/graphql-rust/juniper#c964fd80) [INFO] [stderr] Checking actix-http v2.0.0 [INFO] [stderr] Checking awc v2.0.0 [INFO] [stderr] Checking actix-web v3.1.0 [INFO] [stderr] Checking sqlx v0.4.0-beta.1 [INFO] [stderr] Checking actix-files v0.4.0 [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/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_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/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/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/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/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/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 10 previous errors [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 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cf994491137a55917dd9c3a053f918687f26076aa37a8939dd3a4eef0180a0da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf994491137a55917dd9c3a053f918687f26076aa37a8939dd3a4eef0180a0da", kill_on_drop: false }` [INFO] [stdout] cf994491137a55917dd9c3a053f918687f26076aa37a8939dd3a4eef0180a0da