[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] 4ef491d143f46f6ba3f68ad924ceb59ad62ab558 [INFO] checking AOSC-Dev/p-vector-rs against master#0599f3403366d9c57f0625e6de3af214b5042a90 for pr-87710 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAOSC-Dev%2Fp-vector-rs" "/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/AOSC-Dev/p-vector-rs on toolchain 0599f3403366d9c57f0625e6de3af214b5042a90 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "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-0/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" "+0599f3403366d9c57f0625e6de3af214b5042a90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19b8203ce774bf7306f78002ea41913973643738680d47a0314a5a1781eead77 [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" "19b8203ce774bf7306f78002ea41913973643738680d47a0314a5a1781eead77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19b8203ce774bf7306f78002ea41913973643738680d47a0314a5a1781eead77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b8203ce774bf7306f78002ea41913973643738680d47a0314a5a1781eead77", kill_on_drop: false }` [INFO] [stdout] 19b8203ce774bf7306f78002ea41913973643738680d47a0314a5a1781eead77 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "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] a2ed770cadacfa53ac8ebfa5eaeb3647af24c1e68f0bde28857e1e1d87760450 [INFO] running `Command { std: "docker" "start" "-a" "a2ed770cadacfa53ac8ebfa5eaeb3647af24c1e68f0bde28857e1e1d87760450", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling bindgen v0.57.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling siphasher v0.3.6 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling sailfish-compiler v0.3.3 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Compiling argh_shared v0.1.5 [INFO] [stderr] Compiling zmq v0.9.2 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking itoap v1.0.1 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking memsec v0.6.0 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking faster-hex v0.6.0 [INFO] [stderr] Checking ar v0.9.0 [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [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] Checking tracing-core v0.1.19 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling sailfish 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 yaml-rust v0.4.5 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling zmq-sys v0.11.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking buffered-reader v1.0.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking tar v0.4.37 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking nix v0.22.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling lalrpop-util v0.19.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking futures-intrusive v0.4.0 [INFO] [stderr] Checking xz2 v0.1.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Checking sha1collisiondetection v0.2.3 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking dialoguer v0.8.0 [INFO] [stderr] Checking sqlformat v0.1.6 [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 serde_derive v1.0.129 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling sailfish-macros v0.3.3 [INFO] [stderr] Compiling argh_derive v0.1.5 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking goblin v0.4.2 [INFO] [stderr] Checking argh v0.1.5 [INFO] [stderr] Compiling nettle-sys v2.0.8 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-util v0.6.7 [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] Compiling serde_json v1.0.66 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling 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-beta.8 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/db.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | 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:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | 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:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 75 | | PVPackage, [INFO] [stdout] 76 | | r#"SELECT p.package, p.version, p.repo, p.architecture, p.filename, p.size, p.mtime, p.sha256 [INFO] [stdout] 77 | | FROM pv_packages p INNER JOIN pv_repos r ON p.repo=r.name WHERE r.path=$1 [INFO] [stdout] ... | [INFO] [stdout] 81 | | component [INFO] [stdout] 82 | | ).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:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | 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:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | 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:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 75 | | PVPackage, [INFO] [stdout] 76 | | r#"SELECT p.package, p.version, p.repo, p.architecture, p.filename, p.size, p.mtime, p.sha256 [INFO] [stdout] 77 | | FROM pv_packages p INNER JOIN pv_repos r ON p.repo=r.name WHERE r.path=$1 [INFO] [stdout] ... | [INFO] [stdout] 81 | | component [INFO] [stdout] 82 | | ).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:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 96 | | "SELECT package, version, repo, architecture FROM pv_packages WHERE filename = $1", [INFO] [stdout] 97 | | path.as_ref() [INFO] [stdout] 98 | | ) [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:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | 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:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | 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:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | 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:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | 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:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | 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:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 96 | | "SELECT package, version, repo, architecture FROM pv_packages WHERE filename = $1", [INFO] [stdout] 97 | | path.as_ref() [INFO] [stdout] 98 | | ) [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:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | 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:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | 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:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | 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:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | 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:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | 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:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | 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/gc.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | 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:210:8 [INFO] [stdout] | [INFO] [stdout] 210 | ...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:210:8 [INFO] [stdout] | [INFO] [stdout] 210 | ...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:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | let lines = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 243 | | r#"SELECT (df.path || '/' || df.name) || ' ' || (string_agg(DISTINCT ( [INFO] [stdout] 244 | | coalesce(dp.section || '/', '') || dp.package), ',')) || chr(10) as p [INFO] [stdout] 245 | | FROM pv_packages dp [INFO] [stdout] ... | [INFO] [stdout] 252 | | arch [INFO] [stdout] 253 | | ) [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:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | 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:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | let lines = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 243 | | r#"SELECT (df.path || '/' || df.name) || ' ' || (string_agg(DISTINCT ( [INFO] [stdout] 244 | | coalesce(dp.section || '/', '') || dp.package), ',')) || chr(10) as p [INFO] [stdout] 245 | | FROM pv_packages dp [INFO] [stdout] ... | [INFO] [stdout] 252 | | arch [INFO] [stdout] 253 | | ) [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:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | 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:349:19 [INFO] [stdout] | [INFO] [stdout] 349 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 350 | | PackageTemplate, [INFO] [stdout] 351 | | r#"SELECT p.package AS name, p.version, min(p.architecture) arch, [INFO] [stdout] 352 | | min(p.filename) path, min(p.size) size, min(p.sha256) sha256, [INFO] [stdout] ... | [INFO] [stdout] 361 | | component [INFO] [stdout] 362 | | ) [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:349:19 [INFO] [stdout] | [INFO] [stdout] 349 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 350 | | PackageTemplate, [INFO] [stdout] 351 | | r#"SELECT p.package AS name, p.version, min(p.architecture) arch, [INFO] [stdout] 352 | | min(p.filename) path, min(p.size) size, min(p.sha256) sha256, [INFO] [stdout] ... | [INFO] [stdout] 361 | | component [INFO] [stdout] 362 | | ) [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:404:19 [INFO] [stdout] | [INFO] [stdout] 404 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 405 | | "SELECT branch, coalesce(extract(epoch FROM max(mtime)), 0) AS modified FROM pv_repos GROUP BY branch" [INFO] [stdout] 406 | | ) [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:404:19 [INFO] [stdout] | [INFO] [stdout] 404 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 405 | | "SELECT branch, coalesce(extract(epoch FROM max(mtime)), 0) AS modified FROM pv_repos GROUP BY branch" [INFO] [stdout] 406 | | ) [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: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: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/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: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: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: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `p-vector` due to 30 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a2ed770cadacfa53ac8ebfa5eaeb3647af24c1e68f0bde28857e1e1d87760450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2ed770cadacfa53ac8ebfa5eaeb3647af24c1e68f0bde28857e1e1d87760450", kill_on_drop: false }` [INFO] [stdout] a2ed770cadacfa53ac8ebfa5eaeb3647af24c1e68f0bde28857e1e1d87760450