[INFO] cloning repository https://github.com/AOSC-Dev/p-vector-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AOSC-Dev/p-vector-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAOSC-Dev%2Fp-vector-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAOSC-Dev%2Fp-vector-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fd4fdd827095a32fe54924732ffb2c68e61e6a1 [INFO] checking AOSC-Dev/p-vector-rs against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAOSC-Dev%2Fp-vector-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AOSC-Dev/p-vector-rs on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AOSC-Dev/p-vector-rs [INFO] finished tweaking git repo https://github.com/AOSC-Dev/p-vector-rs [INFO] tweaked toml for git repo https://github.com/AOSC-Dev/p-vector-rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/AOSC-Dev/p-vector-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "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] e24578a43f9b7d153a7dd72026e790d43380fe95dd02815ae67c29166d02daaf [INFO] running `Command { std: "docker" "start" "-a" "e24578a43f9b7d153a7dd72026e790d43380fe95dd02815ae67c29166d02daaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e24578a43f9b7d153a7dd72026e790d43380fe95dd02815ae67c29166d02daaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e24578a43f9b7d153a7dd72026e790d43380fe95dd02815ae67c29166d02daaf", kill_on_drop: false }` [INFO] [stdout] e24578a43f9b7d153a7dd72026e790d43380fe95dd02815ae67c29166d02daaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "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] 4c2e40407a252ef637ecf4eaedc401ed579a3ae546affdf5de76fdc2a53431da [INFO] running `Command { std: "docker" "start" "-a" "4c2e40407a252ef637ecf4eaedc401ed579a3ae546affdf5de76fdc2a53431da", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling whoami v1.1.3 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling bindgen v0.57.0 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling sailfish-compiler v0.3.3 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling argh_shared v0.1.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking memsec v0.6.0 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling time-macros v0.2.2 [INFO] [stderr] Checking itoap v1.0.1 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking ar v0.9.0 [INFO] [stderr] Checking faster-hex v0.6.1 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling sailfish v0.3.3 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling clang-sys v1.2.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling crc v2.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling lzma-sys v0.1.17 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling zmq-sys v0.11.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking futures-channel v0.3.17 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking buffered-reader v1.0.1 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking nix v0.22.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling zmq v0.9.2 [INFO] [stderr] Checking flate2 v1.0.21 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking xz2 v0.1.6 [INFO] [stderr] Checking tar v0.4.37 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sha1collisiondetection v0.2.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking sha2 v0.9.6 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking futures-intrusive v0.4.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking sqlformat v0.1.7 [INFO] [stderr] Checking lalrpop-util v0.19.6 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking dialoguer v0.8.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling lalrpop v0.19.6 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling sailfish-macros v0.3.3 [INFO] [stderr] Compiling argh_derive v0.1.6 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking goblin v0.4.2 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking argh v0.1.6 [INFO] [stderr] Compiling nettle-sys v2.0.8 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking async-compression v0.3.8 [INFO] [stderr] Checking sqlx-rt v0.5.7 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking time v0.3.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking hyper v0.14.12 [INFO] [stderr] Checking sqlx-core v0.5.7 [INFO] [stderr] Checking nettle v7.0.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Compiling sequoia-openpgp v1.3.0 [INFO] [stderr] Compiling sqlx-macros v0.5.7 [INFO] [stderr] Checking sqlx v0.5.7 [INFO] [stderr] Checking p-vector v0.2.0-rc.3 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/db.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | sqlx::query!("VACUUM ANALYZE").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | sqlx::query!("TRUNCATE TABLE _sqlx_migrations") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | sqlx::query!("VACUUM").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 79 | | PVPackage, [INFO] [stdout] 80 | | r#"SELECT p.package, p.version, p.repo, p.architecture, p.filename, p.size, p.mtime, p.sha256 [INFO] [stdout] 81 | | FROM pv_packages p INNER JOIN pv_repos r ON p.repo=r.name WHERE r.path=$1 [INFO] [stdout] ... | [INFO] [stdout] 85 | | component [INFO] [stdout] 86 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | ... let record = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 100 | | ... "SELECT package, version, r.branch || '-' || r.component AS repo, p.architecture FROM pv_packages p JOIN pv_repos r ON p.repo =... [INFO] [stdout] 101 | | ... path.as_ref() [INFO] [stdout] 102 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | sqlx::query!("DELETE FROM pv_packages WHERE filename = $1", path.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | sqlx::query!("REFRESH MATERIALIZED VIEW v_packages_new").execute(pool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | sqlx::query!("REFRESH MATERIALIZED VIEW v_dpkg_dependencies").execute(pool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | sqlx::query!("REFRESH MATERIALIZED VIEW v_so_breaks").execute(pool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | sqlx::query!("REFRESH MATERIALIZED VIEW v_so_breaks_dep").execute(pool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | sqlx::query!("CREATE EXTENSION IF NOT EXISTS sqlite_fdw") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/gc.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let records = sqlx::query!("SELECT DISTINCT path FROM pv_repos") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | sqlx::query!("VACUUM ANALYZE").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | sqlx::query!("TRUNCATE TABLE _sqlx_migrations") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | sqlx::query!("VACUUM").execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/gc.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | sqlx::query!("DELETE FROM pv_repos WHERE path = $1", remove) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 79 | | PVPackage, [INFO] [stdout] 80 | | r#"SELECT p.package, p.version, p.repo, p.architecture, p.filename, p.size, p.mtime, p.sha256 [INFO] [stdout] 81 | | FROM pv_packages p INNER JOIN pv_repos r ON p.repo=r.name WHERE r.path=$1 [INFO] [stdout] ... | [INFO] [stdout] 85 | | component [INFO] [stdout] 86 | | ).fetch_all(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | ... let record = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 100 | | ... "SELECT package, version, r.branch || '-' || r.component AS repo, p.architecture FROM pv_packages p JOIN pv_repos r ON p.repo =... [INFO] [stdout] 101 | | ... path.as_ref() [INFO] [stdout] 102 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | sqlx::query!("DELETE FROM pv_packages WHERE filename = $1", path.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | sqlx::query!("REFRESH MATERIALIZED VIEW v_packages_new").execute(pool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | sqlx::query!("REFRESH MATERIALIZED VIEW v_dpkg_dependencies").execute(pool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | sqlx::query!("REFRESH MATERIALIZED VIEW v_so_breaks").execute(pool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | sqlx::query!("REFRESH MATERIALIZED VIEW v_so_breaks_dep").execute(pool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/db.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | sqlx::query!("CREATE EXTENSION IF NOT EXISTS sqlite_fdw") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/gc.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let records = sqlx::query!("SELECT DISTINCT path FROM pv_repos") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/gc.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | sqlx::query!("DELETE FROM pv_repos WHERE path = $1", remove) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/generate.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | ...Ok(sqlx::query_as!(BranchMeta, "SELECT branch, array_agg(DISTINCT architecture) AS arch, array_agg(DISTINCT component) AS comp FROM pv_repos GROUP BY branch").fe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/generate.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let lines = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 247 | | r#"SELECT (df.path || '/' || df.name) || ' ' || (string_agg(DISTINCT ( [INFO] [stdout] 248 | | coalesce(dp.section || '/', '') || dp.package), ',')) || chr(10) as p [INFO] [stdout] 249 | | FROM pv_packages dp [INFO] [stdout] ... | [INFO] [stdout] 256 | | arch [INFO] [stdout] 257 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/generate.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | let records = sqlx::query!("SELECT architecture FROM pv_repos WHERE path=$1", component) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/generate.rs:353:19 [INFO] [stdout] | [INFO] [stdout] 353 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 354 | | PackageTemplate, [INFO] [stdout] 355 | | r#"SELECT p.package AS name, p.version, min(p.architecture) arch, [INFO] [stdout] 356 | | min(p.filename) path, min(p.size) size, min(p.sha256) sha256, [INFO] [stdout] ... | [INFO] [stdout] 365 | | component [INFO] [stdout] 366 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/generate.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | ...Ok(sqlx::query_as!(BranchMeta, "SELECT branch, array_agg(DISTINCT architecture) AS arch, array_agg(DISTINCT component) AS comp FROM pv_repos GROUP BY branch").fe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/generate.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let lines = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 247 | | r#"SELECT (df.path || '/' || df.name) || ' ' || (string_agg(DISTINCT ( [INFO] [stdout] 248 | | coalesce(dp.section || '/', '') || dp.package), ',')) || chr(10) as p [INFO] [stdout] 249 | | FROM pv_packages dp [INFO] [stdout] ... | [INFO] [stdout] 256 | | arch [INFO] [stdout] 257 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/generate.rs:407:19 [INFO] [stdout] | [INFO] [stdout] 407 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 408 | | "SELECT branch, coalesce(extract(epoch FROM max(mtime)), 0) AS modified FROM pv_repos GROUP BY branch" [INFO] [stdout] 409 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/generate.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | let records = sqlx::query!("SELECT architecture FROM pv_repos WHERE path=$1", component) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/generate.rs:353:19 [INFO] [stdout] | [INFO] [stdout] 353 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 354 | | PackageTemplate, [INFO] [stdout] 355 | | r#"SELECT p.package AS name, p.version, min(p.architecture) arch, [INFO] [stdout] 356 | | min(p.filename) path, min(p.size) size, min(p.sha256) sha256, [INFO] [stdout] ... | [INFO] [stdout] 365 | | component [INFO] [stdout] 366 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/generate.rs:407:19 [INFO] [stdout] | [INFO] [stdout] 407 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 408 | | "SELECT branch, coalesce(extract(epoch FROM max(mtime)), 0) AS modified FROM pv_repos GROUP BY branch" [INFO] [stdout] 409 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 234 | | r#"SELECT comparable_dpkgver($1) > _vercomp AS newer, version, filename FROM pv_packages [INFO] [stdout] 235 | | WHERE package=$2 AND repo=$3 AND _vercomp= [INFO] [stdout] 236 | | (SELECT max("_vercomp") FROM pv_packages WHERE package=$2 AND repo=$3 GROUP BY package)"#, [INFO] [stdout] ... | [INFO] [stdout] 239 | | repo [INFO] [stdout] 240 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | / sqlx::query!( [INFO] [stdout] 282 | | "INSERT INTO pv_repos VALUES ($1, $2, $3, $4, $5, $6, now()) [INFO] [stdout] 283 | | ON CONFLICT (name) DO UPDATE SET mtime=now()", [INFO] [stdout] 284 | | repo.name, [INFO] [stdout] ... | [INFO] [stdout] 289 | | repo.architecture [INFO] [stdout] 290 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 321 | | r#"INSERT INTO pv_packages VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, comparable_dpkgver($2)) [INFO] [stdout] 322 | | ON CONFLICT (package, version, repo) [INFO] [stdout] 323 | | DO UPDATE SET filename=$5,size=$6,sha256=$7,mtime=$8,debtime=$9,section=$10,installed_size=$11,maintainer=$12,description=$13 [INFO] [stdout] 324 | | RETURNING (xmax = 0) AS new"#, [INFO] [stdout] 325 | | meta.name, meta.version, repo, meta.arch, package.filename, package.size as i64, package.sha256, package.mtime as i32, meta.debti... [INFO] [stdout] 326 | | ).fetch_one(&mut *pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | / sqlx::query!( [INFO] [stdout] 331 | | r#"WITH d1 AS (DELETE FROM pv_package_sodep WHERE package=$1 AND version=$2 AND repo=$3 RETURNING package) [INFO] [stdout] 332 | | , d2 AS (DELETE FROM pv_package_files WHERE package=$1 AND version=$2 AND repo=$3 RETURNING package) [INFO] [stdout] 333 | | , d3 AS (DELETE FROM pv_package_dependencies WHERE package=$1 AND version=$2 AND repo=$3 RETURNING package) [INFO] [stdout] ... | [INFO] [stdout] 337 | | repo [INFO] [stdout] 338 | | ).execute(&mut *pool).await?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | / sqlx::query!( [INFO] [stdout] 340 | | "INSERT INTO pv_package_duplicate SELECT * FROM pv_packages WHERE filename=$1", [INFO] [stdout] 341 | | package.filename [INFO] [stdout] 342 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 234 | | r#"SELECT comparable_dpkgver($1) > _vercomp AS newer, version, filename FROM pv_packages [INFO] [stdout] 235 | | WHERE package=$2 AND repo=$3 AND _vercomp= [INFO] [stdout] 236 | | (SELECT max("_vercomp") FROM pv_packages WHERE package=$2 AND repo=$3 GROUP BY package)"#, [INFO] [stdout] ... | [INFO] [stdout] 239 | | repo [INFO] [stdout] 240 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | / ... sqlx::query!( [INFO] [stdout] 355 | | ... "INSERT INTO pv_package_dependencies VALUES($1, $2, $3, $4, $5) ON CONFLICT ON CONSTRAINT pv_package_dependencies_pkey DO UPDAT... [INFO] [stdout] 356 | | ... meta.name, [INFO] [stdout] 357 | | ... meta.version, [INFO] [stdout] ... | [INFO] [stdout] 360 | | ... value [INFO] [stdout] 361 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | / sqlx::query!( [INFO] [stdout] 282 | | "INSERT INTO pv_repos VALUES ($1, $2, $3, $4, $5, $6, now()) [INFO] [stdout] 283 | | ON CONFLICT (name) DO UPDATE SET mtime=now()", [INFO] [stdout] 284 | | repo.name, [INFO] [stdout] ... | [INFO] [stdout] 289 | | repo.architecture [INFO] [stdout] 290 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 321 | | r#"INSERT INTO pv_packages VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, comparable_dpkgver($2)) [INFO] [stdout] 322 | | ON CONFLICT (package, version, repo) [INFO] [stdout] 323 | | DO UPDATE SET filename=$5,size=$6,sha256=$7,mtime=$8,debtime=$9,section=$10,installed_size=$11,maintainer=$12,description=$13 [INFO] [stdout] 324 | | RETURNING (xmax = 0) AS new"#, [INFO] [stdout] 325 | | meta.name, meta.version, repo, meta.arch, package.filename, package.size as i64, package.sha256, package.mtime as i32, meta.debti... [INFO] [stdout] 326 | | ).fetch_one(&mut *pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | / sqlx::query!( [INFO] [stdout] 373 | | "INSERT INTO pv_package_sodep VALUES ($1, $2, $3, 1, $4, $5)", [INFO] [stdout] 374 | | meta.name, [INFO] [stdout] 375 | | meta.version, [INFO] [stdout] ... | [INFO] [stdout] 378 | | so_version [INFO] [stdout] 379 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | / sqlx::query!( [INFO] [stdout] 331 | | r#"WITH d1 AS (DELETE FROM pv_package_sodep WHERE package=$1 AND version=$2 AND repo=$3 RETURNING package) [INFO] [stdout] 332 | | , d2 AS (DELETE FROM pv_package_files WHERE package=$1 AND version=$2 AND repo=$3 RETURNING package) [INFO] [stdout] 333 | | , d3 AS (DELETE FROM pv_package_dependencies WHERE package=$1 AND version=$2 AND repo=$3 RETURNING package) [INFO] [stdout] ... | [INFO] [stdout] 337 | | repo [INFO] [stdout] 338 | | ).execute(&mut *pool).await?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | / sqlx::query!( [INFO] [stdout] 388 | | "INSERT INTO pv_package_sodep VALUES ($1, $2, $3, 0, $4, $5)", [INFO] [stdout] 389 | | meta.name, [INFO] [stdout] 390 | | meta.version, [INFO] [stdout] ... | [INFO] [stdout] 393 | | so_version [INFO] [stdout] 394 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | / sqlx::query!( [INFO] [stdout] 340 | | "INSERT INTO pv_package_duplicate SELECT * FROM pv_packages WHERE filename=$1", [INFO] [stdout] 341 | | package.filename [INFO] [stdout] 342 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | / ... sqlx::query!( [INFO] [stdout] 355 | | ... "INSERT INTO pv_package_dependencies VALUES($1, $2, $3, $4, $5) ON CONFLICT ON CONSTRAINT pv_package_dependencies_pkey DO UPDAT... [INFO] [stdout] 356 | | ... meta.name, [INFO] [stdout] 357 | | ... meta.version, [INFO] [stdout] ... | [INFO] [stdout] 360 | | ... value [INFO] [stdout] 361 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | / ... sqlx::query!( [INFO] [stdout] 405 | | ... r#"INSERT INTO pv_package_files VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12)"#, [INFO] [stdout] 406 | | ... meta.name, meta.version, repo, path, filename, f.size as i64, f.type_ as i16, f.perms as i32, f.uid as i64, f.gid as i64, uname... [INFO] [stdout] 407 | | ... ).execute(&mut *pool).await?; [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | / sqlx::query!( [INFO] [stdout] 373 | | "INSERT INTO pv_package_sodep VALUES ($1, $2, $3, 1, $4, $5)", [INFO] [stdout] 374 | | meta.name, [INFO] [stdout] 375 | | meta.version, [INFO] [stdout] ... | [INFO] [stdout] 378 | | so_version [INFO] [stdout] 379 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | / sqlx::query!( [INFO] [stdout] 388 | | "INSERT INTO pv_package_sodep VALUES ($1, $2, $3, 0, $4, $5)", [INFO] [stdout] 389 | | meta.name, [INFO] [stdout] 390 | | meta.version, [INFO] [stdout] ... | [INFO] [stdout] 393 | | so_version [INFO] [stdout] 394 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/scan/dbscan.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | / ... sqlx::query!( [INFO] [stdout] 405 | | ... r#"INSERT INTO pv_package_files VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12)"#, [INFO] [stdout] 406 | | ... meta.name, meta.version, repo, path, filename, f.size as i64, f.type_ as i16, f.perms as i32, f.uid as i64, f.gid as i64, uname... [INFO] [stdout] 407 | | ... ).execute(&mut *pool).await?; [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/sync.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | sqlx::query!("DROP SERVER IF EXISTS sqlite_server CASCADE") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/sync.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let cached = sqlx::query!("SELECT name, etag FROM pv_dbsync WHERE name = $1", db) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/sync.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query!( [INFO] [stdout] 101 | | "INSERT INTO pv_dbsync VALUES ($1, $2, now()) ON CONFLICT (name) DO UPDATE SET etag=$2", [INFO] [stdout] 102 | | db, [INFO] [stdout] 103 | | &new_etag [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/sync.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | sqlx::query!("DROP SERVER IF EXISTS sqlite_server CASCADE") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/sync.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let cached = sqlx::query!("SELECT name, etag FROM pv_dbsync WHERE name = $1", db) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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/sync.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query!( [INFO] [stdout] 101 | | "INSERT INTO pv_dbsync VALUES ($1, $2, now()) ON CONFLICT (name) DO UPDATE SET etag=$2", [INFO] [stdout] 102 | | db, [INFO] [stdout] 103 | | &new_etag [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `p-vector` due to 31 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4c2e40407a252ef637ecf4eaedc401ed579a3ae546affdf5de76fdc2a53431da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c2e40407a252ef637ecf4eaedc401ed579a3ae546affdf5de76fdc2a53431da", kill_on_drop: false }` [INFO] [stdout] 4c2e40407a252ef637ecf4eaedc401ed579a3ae546affdf5de76fdc2a53431da