[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] 3c1d5f0454b81380b1ba742cd3ae1f81f92cf7b9 [INFO] testing AOSC-Dev/p-vector-rs against beta-2022-04-10 for beta-1.61-1 [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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] a2a3fa810cc23ce4e87413a47ad7d89fbf7bb25844dc606df72c1c5bce2a0fc0 [INFO] running `Command { std: "docker" "start" "-a" "a2a3fa810cc23ce4e87413a47ad7d89fbf7bb25844dc606df72c1c5bce2a0fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2a3fa810cc23ce4e87413a47ad7d89fbf7bb25844dc606df72c1c5bce2a0fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2a3fa810cc23ce4e87413a47ad7d89fbf7bb25844dc606df72c1c5bce2a0fc0", kill_on_drop: false }` [INFO] [stdout] a2a3fa810cc23ce4e87413a47ad7d89fbf7bb25844dc606df72c1c5bce2a0fc0 [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] 1afecfadf2a225bf37a1658d8b2ac96b6d62a3e838269ead5c77165b08453169 [INFO] running `Command { std: "docker" "start" "-a" "1afecfadf2a225bf37a1658d8b2ac96b6d62a3e838269ead5c77165b08453169", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.9 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling bindgen v0.57.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling sailfish-compiler v0.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling zmq v0.9.2 [INFO] [stderr] Compiling zeroize v1.5.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling argh_shared v0.1.7 [INFO] [stderr] Compiling lalrpop-util v0.19.7 [INFO] [stderr] Compiling itoap v1.0.1 [INFO] [stderr] Compiling dyn-clone v1.0.5 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling memsec v0.6.0 [INFO] [stderr] Compiling xxhash-rust v0.8.4 [INFO] [stderr] Compiling sd-notify v0.4.0 [INFO] [stderr] Compiling ar v0.9.0 [INFO] [stderr] Compiling faster-hex v0.6.1 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling lzma-sys v0.1.17 [INFO] [stderr] Compiling sailfish v0.4.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling zmq-sys v0.11.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling sha1collisiondetection v0.2.5 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling buffered-reader v1.1.2 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling memmap2 v0.5.3 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling xz2 v0.1.6 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling dialoguer v0.10.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling lalrpop v0.19.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling sqlx-rt v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling scroll_derive v0.11.0 [INFO] [stderr] Compiling argh_derive v0.1.7 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling goblin v0.5.1 [INFO] [stderr] Compiling argh v0.1.7 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling nettle-sys v2.1.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling async-compression v0.3.12 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling sqlx-core v0.5.11 [INFO] [stderr] Compiling nettle v7.1.0 [INFO] [stderr] Compiling sailfish-macros v0.4.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling sequoia-openpgp v1.8.0 [INFO] [stderr] Compiling sqlx-macros v0.5.11 [INFO] [stderr] Compiling sqlx v0.5.11 [INFO] [stderr] Compiling p-vector v0.2.7-alpha.0 (/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/gc.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | sqlx::query!("DELETE FROM pv_package_duplicate USING pv_packages WHERE pv_package_duplicate.filename = pv_packages.filename").execute... [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:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | 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:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | ...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:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | let lines = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 241 | | r#"SELECT (df.path || '/' || df.name) || ' ' || (string_agg(DISTINCT ( [INFO] [stdout] 242 | | coalesce(dp.section || '/', '') || dp.package), ',')) || chr(10) as p [INFO] [stdout] 243 | | FROM pv_packages dp [INFO] [stdout] ... | [INFO] [stdout] 250 | | arch [INFO] [stdout] 251 | | ) [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:305:19 [INFO] [stdout] | [INFO] [stdout] 305 | 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:365:19 [INFO] [stdout] | [INFO] [stdout] 365 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 366 | | PackageTemplate, [INFO] [stdout] 367 | | r#"SELECT p.package AS name, p.version, min(p.architecture) arch, [INFO] [stdout] 368 | | min(p.filename) path, min(p.size) size, min(p.sha256) sha256, [INFO] [stdout] ... | [INFO] [stdout] 377 | | component [INFO] [stdout] 378 | | ) [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:419:19 [INFO] [stdout] | [INFO] [stdout] 419 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 420 | | "SELECT branch, coalesce(extract(epoch FROM max(mtime)), 0) AS modified FROM pv_repos GROUP BY branch" [INFO] [stdout] 421 | | ) [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:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | / sqlx::query!( [INFO] [stdout] 238 | | "UPDATE pv_packages SET mtime = $1 WHERE filename = $2", [INFO] [stdout] 239 | | package.1 as i64, [INFO] [stdout] 240 | | path [INFO] [stdout] 241 | | ) [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:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 266 | | r#"SELECT comparable_dpkgver($1) > _vercomp AS newer, version, filename FROM pv_packages [INFO] [stdout] 267 | | WHERE package=$2 AND repo=$3 AND _vercomp= [INFO] [stdout] 268 | | (SELECT max("_vercomp") FROM pv_packages WHERE package=$2 AND repo=$3 GROUP BY package)"#, [INFO] [stdout] ... | [INFO] [stdout] 271 | | repo [INFO] [stdout] 272 | | ) [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:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | / sqlx::query!( [INFO] [stdout] 314 | | "INSERT INTO pv_repos VALUES ($1, $2, $3, $4, $5, $6, now()) [INFO] [stdout] 315 | | ON CONFLICT (name) DO UPDATE SET mtime=now()", [INFO] [stdout] 316 | | repo.name, [INFO] [stdout] ... | [INFO] [stdout] 321 | | repo.architecture [INFO] [stdout] 322 | | ) [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:367:18 [INFO] [stdout] | [INFO] [stdout] 367 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 368 | | r#"INSERT INTO pv_packages VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, comparable_dpkgver($2)) [INFO] [stdout] 369 | | ON CONFLICT (package, version, repo) [INFO] [stdout] 370 | | DO UPDATE SET filename=$5,size=$6,sha256=$7,mtime=$8,debtime=$9,section=$10,installed_size=$11,maintainer=$12,description=$13 [INFO] [stdout] 371 | | RETURNING (xmax = 0) AS new"#, [INFO] [stdout] 372 | | meta.name, meta.version, repo, meta.arch, package.filename, package.size as i64, package.sha256, package.mtime as i32, meta.debti... [INFO] [stdout] 373 | | ).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:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | / sqlx::query!( [INFO] [stdout] 378 | | r#"WITH d1 AS (DELETE FROM pv_package_sodep WHERE package=$1 AND version=$2 AND repo=$3 RETURNING package) [INFO] [stdout] 379 | | , d2 AS (DELETE FROM pv_package_files WHERE package=$1 AND version=$2 AND repo=$3 RETURNING package) [INFO] [stdout] 380 | | , d3 AS (DELETE FROM pv_package_dependencies WHERE package=$1 AND version=$2 AND repo=$3 RETURNING package) [INFO] [stdout] ... | [INFO] [stdout] 384 | | repo [INFO] [stdout] 385 | | ).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:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | / sqlx::query!( [INFO] [stdout] 387 | | "INSERT INTO pv_package_duplicate SELECT * FROM pv_packages WHERE filename=$1", [INFO] [stdout] 388 | | package.filename [INFO] [stdout] 389 | | ) [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:401:17 [INFO] [stdout] | [INFO] [stdout] 401 | / ... sqlx::query!( [INFO] [stdout] 402 | | ... "INSERT INTO pv_package_dependencies VALUES($1, $2, $3, $4, $5) ON CONFLICT ON CONSTRAINT pv_package_dependencies_pkey DO UPDAT... [INFO] [stdout] 403 | | ... meta.name, [INFO] [stdout] 404 | | ... meta.version, [INFO] [stdout] ... | [INFO] [stdout] 407 | | ... value [INFO] [stdout] 408 | | ... ) [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:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | / sqlx::query!( [INFO] [stdout] 418 | | "INSERT INTO pv_package_sodep VALUES ($1, $2, $3, 1, $4, $5)", [INFO] [stdout] 419 | | meta.name, [INFO] [stdout] 420 | | meta.version, [INFO] [stdout] ... | [INFO] [stdout] 423 | | so_version [INFO] [stdout] 424 | | ) [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:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | / sqlx::query!( [INFO] [stdout] 431 | | "INSERT INTO pv_package_sodep VALUES ($1, $2, $3, 0, $4, $5)", [INFO] [stdout] 432 | | meta.name, [INFO] [stdout] 433 | | meta.version, [INFO] [stdout] ... | [INFO] [stdout] 436 | | so_version [INFO] [stdout] 437 | | ) [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:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | / ... sqlx::query!( [INFO] [stdout] 448 | | ... r#"INSERT INTO pv_package_files VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12)"#, [INFO] [stdout] 449 | | ... 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] 450 | | ... ).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 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `p-vector` due to 33 previous errors [INFO] running `Command { std: "docker" "inspect" "1afecfadf2a225bf37a1658d8b2ac96b6d62a3e838269ead5c77165b08453169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1afecfadf2a225bf37a1658d8b2ac96b6d62a3e838269ead5c77165b08453169", kill_on_drop: false }` [INFO] [stdout] 1afecfadf2a225bf37a1658d8b2ac96b6d62a3e838269ead5c77165b08453169