[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] c1929dba62af7bb6fed87b4a80a948ee3eb87968 [INFO] testing AOSC-Dev/p-vector-rs against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [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 b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "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" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5175c6a92c5b28dbaec3ca1a02c43016ee3384e39e733d95538f3c2bd140949a [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" "5175c6a92c5b28dbaec3ca1a02c43016ee3384e39e733d95538f3c2bd140949a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5175c6a92c5b28dbaec3ca1a02c43016ee3384e39e733d95538f3c2bd140949a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5175c6a92c5b28dbaec3ca1a02c43016ee3384e39e733d95538f3c2bd140949a", kill_on_drop: false }` [INFO] [stdout] 5175c6a92c5b28dbaec3ca1a02c43016ee3384e39e733d95538f3c2bd140949a [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5fe361c7d2ea781205d423fa0deabf48c8b7cb606f3f67dfaebbd2f31cf78bd [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" "f5fe361c7d2ea781205d423fa0deabf48c8b7cb606f3f67dfaebbd2f31cf78bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bindgen v0.57.0 [INFO] [stderr] Compiling siphasher v0.3.6 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling sailfish-compiler v0.3.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling memsec v0.6.0 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling itoap v1.0.1 [INFO] [stderr] Compiling ar v0.8.0 [INFO] [stderr] Compiling faster-hex v0.6.0 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling sailfish v0.3.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling buffered-reader v1.0.1 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling lzma-sys v0.1.17 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling zmq-sys v0.11.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling tar v0.4.35 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling nix v0.22.0 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling xz2 v0.1.6 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling sha1collisiondetection v0.2.3 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling zmq v0.9.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling lalrpop-util v0.19.6 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling lalrpop v0.19.6 [INFO] [stderr] Compiling dialoguer v0.8.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [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 argh_derive v0.1.5 [INFO] [stderr] Compiling sailfish-macros v0.3.3 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling goblin v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling 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] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling async-compression v0.3.8 [INFO] [stderr] Compiling sqlx-rt v0.5.5 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling nettle v7.0.2 [INFO] [stderr] Compiling sqlx-core v0.5.5 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling sequoia-openpgp v1.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Compiling sqlx v0.5.5 [INFO] [stderr] Compiling p-vector v0.2.0-beta.1 (/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!("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:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | 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:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 71 | | PVPackage, [INFO] [stdout] 72 | | r#"SELECT p.package, p.version, p.repo, p.architecture, p.filename, p.size, p.mtime, p.sha256 [INFO] [stdout] 73 | | FROM pv_packages p INNER JOIN pv_repos r ON p.repo=r.name WHERE r.path=$1 [INFO] [stdout] ... | [INFO] [stdout] 77 | | component [INFO] [stdout] 78 | | ).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:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 92 | | "SELECT package, version, repo, architecture FROM pv_packages WHERE filename = $1", [INFO] [stdout] 93 | | path.as_ref() [INFO] [stdout] 94 | | ) [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:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | 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:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | 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:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 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/gc.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | 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/gc.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | 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/gc.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | 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/gc.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | 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:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | ...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:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | let lines = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 242 | | r#"SELECT (df.path || '/' || df.name) || ' ' || (string_agg(DISTINCT ( [INFO] [stdout] 243 | | coalesce(dp.section || '/', '') || dp.package), ',')) || chr(10) as p [INFO] [stdout] 244 | | FROM pv_packages dp [INFO] [stdout] ... | [INFO] [stdout] 251 | | arch [INFO] [stdout] 252 | | ) [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:276:19 [INFO] [stdout] | [INFO] [stdout] 276 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 277 | | "SELECT architecture FROM pv_repos WHERE architecture != 'all' AND path=$1", [INFO] [stdout] 278 | | component [INFO] [stdout] 279 | | ) [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:339:19 [INFO] [stdout] | [INFO] [stdout] 339 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 340 | | PackageTemplate, [INFO] [stdout] 341 | | r#"SELECT p.package AS name, p.version, min(p.architecture) arch, [INFO] [stdout] 342 | | min(p.filename) path, min(p.size) size, min(p.sha256) sha256, [INFO] [stdout] ... | [INFO] [stdout] 351 | | component [INFO] [stdout] 352 | | ) [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:394:19 [INFO] [stdout] | [INFO] [stdout] 394 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 395 | | "SELECT branch, coalesce(extract(epoch FROM max(mtime)), 0) AS modified FROM pv_repos GROUP BY branch" [INFO] [stdout] 396 | | ) [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] 339 | | package.filename [INFO] [stdout] 340 | | ).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:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | / ... sqlx::query!( [INFO] [stdout] 347 | | ... "INSERT INTO pv_package_dependencies VALUES($1, $2, $3, $4, $5) ON CONFLICT ON CONSTRAINT pv_package_dependencies_pkey DO UPDAT... [INFO] [stdout] 348 | | ... meta.name, [INFO] [stdout] 349 | | ... meta.version, [INFO] [stdout] ... | [INFO] [stdout] 352 | | ... value [INFO] [stdout] 353 | | ... ) [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:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | / sqlx::query!( [INFO] [stdout] 364 | | "INSERT INTO pv_package_sodep VALUES ($1, $2, $3, 1, $4, $5)", [INFO] [stdout] 365 | | meta.name, [INFO] [stdout] 366 | | meta.version, [INFO] [stdout] ... | [INFO] [stdout] 369 | | so_version [INFO] [stdout] 370 | | ) [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:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | / sqlx::query!( [INFO] [stdout] 379 | | "INSERT INTO pv_package_sodep VALUES ($1, $2, $3, 0, $4, $5)", [INFO] [stdout] 380 | | meta.name, [INFO] [stdout] 381 | | meta.version, [INFO] [stdout] ... | [INFO] [stdout] 384 | | so_version [INFO] [stdout] 385 | | ) [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:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | / ... sqlx::query!( [INFO] [stdout] 396 | | ... r#"INSERT INTO pv_package_files VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12)"#, [INFO] [stdout] 397 | | ... 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] 398 | | ... ).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 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `p-vector` due to 29 previous errors [INFO] running `Command { std: "docker" "inspect" "f5fe361c7d2ea781205d423fa0deabf48c8b7cb606f3f67dfaebbd2f31cf78bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5fe361c7d2ea781205d423fa0deabf48c8b7cb606f3f67dfaebbd2f31cf78bd", kill_on_drop: false }` [INFO] [stdout] f5fe361c7d2ea781205d423fa0deabf48c8b7cb606f3f67dfaebbd2f31cf78bd