[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] bb316e42f4a55385404a922249e45435f9d98d93 [INFO] testing AOSC-Dev/p-vector-rs against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAOSC-Dev%2Fp-vector-rs" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AOSC-Dev/p-vector-rs on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-13/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crypto-mac v0.11.1 [INFO] [stderr] Downloaded crc v2.1.0 [INFO] [stderr] Downloaded whoami v1.1.5 [INFO] [stderr] Downloaded zeroize v1.4.3 [INFO] [stderr] Downloaded sqlx-core v0.5.9 [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded nettle v7.0.2 [INFO] [stderr] Downloaded lalrpop-util v0.19.6 [INFO] [stderr] Downloaded ar v0.9.0 [INFO] [stderr] Downloaded clang-sys v1.3.0 [INFO] [stderr] Downloaded addr2line v0.17.0 [INFO] [stderr] Downloaded dialoguer v0.9.0 [INFO] [stderr] Downloaded console v0.15.0 [INFO] [stderr] Downloaded nix v0.23.0 [INFO] [stderr] Downloaded term v0.7.0 [INFO] [stderr] Downloaded secrecy v0.8.0 [INFO] [stderr] Downloaded sqlx v0.5.9 [INFO] [stderr] Downloaded ascii-canvas v3.0.0 [INFO] [stderr] Downloaded nettle-sys v2.0.8 [INFO] [stderr] Downloaded goblin v0.4.3 [INFO] [stderr] Downloaded gimli v0.26.1 [INFO] [stderr] Downloaded sqlx-macros v0.5.9 [INFO] [stderr] Downloaded sequoia-openpgp v1.5.0 [INFO] [stderr] Downloaded time-macros v0.2.3 [INFO] [stderr] Downloaded sha1collisiondetection v0.2.3 [INFO] [stderr] Downloaded lalrpop v0.19.6 [INFO] [stderr] Downloaded reqwest v0.11.6 [INFO] [stderr] Downloaded object v0.27.1 [INFO] [stderr] Downloaded backtrace v0.3.63 [INFO] [stderr] Downloaded ena v0.14.0 [INFO] [stderr] Downloaded string_cache v0.8.2 [INFO] [stderr] Downloaded bindgen v0.57.0 [INFO] [stderr] Downloaded faster-hex v0.6.1 [INFO] [stderr] Downloaded buffered-reader v1.1.0 [INFO] [stderr] Downloaded memsec v0.6.0 [INFO] [stderr] Downloaded sqlx-rt v0.5.9 [INFO] [stderr] Downloaded hmac v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7870a38014cc94fe94e68ccc9ae236f0e643acbd63f2ff4381ca700ab15dc14 [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" "d7870a38014cc94fe94e68ccc9ae236f0e643acbd63f2ff4381ca700ab15dc14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7870a38014cc94fe94e68ccc9ae236f0e643acbd63f2ff4381ca700ab15dc14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7870a38014cc94fe94e68ccc9ae236f0e643acbd63f2ff4381ca700ab15dc14", kill_on_drop: false }` [INFO] [stdout] d7870a38014cc94fe94e68ccc9ae236f0e643acbd63f2ff4381ca700ab15dc14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04a5bcaa7dc273dc7270f3d3324703ca5d787ec7709d3f8ba6fe39d7bdd8054b [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" "04a5bcaa7dc273dc7270f3d3324703ca5d787ec7709d3f8ba6fe39d7bdd8054b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling scopeguard v1.1.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 smallvec v1.7.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bindgen v0.57.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling whoami v1.1.5 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling sailfish-compiler v0.3.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling zmq v0.9.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling memsec v0.6.0 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling itoap v1.0.1 [INFO] [stderr] Compiling faster-hex v0.6.1 [INFO] [stderr] Compiling ar v0.9.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling sailfish v0.3.3 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.70 [INFO] [stderr] Compiling lzma-sys v0.1.17 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling zmq-sys v0.11.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling regex v1.5.4 [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 openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling buffered-reader v1.1.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling sha1collisiondetection v0.2.3 [INFO] [stderr] Compiling nix v0.23.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling lalrpop-util v0.19.6 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling xz2 v0.1.6 [INFO] [stderr] Compiling tar v0.4.37 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling string_cache v0.8.2 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling dialoguer v0.9.0 [INFO] [stderr] Compiling lalrpop v0.19.6 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling sailfish-macros v0.3.3 [INFO] [stderr] Compiling argh_derive v0.1.6 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling goblin v0.4.3 [INFO] [stderr] Compiling argh v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling nettle-sys v2.0.8 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling async-compression v0.3.8 [INFO] [stderr] Compiling sqlx-rt v0.5.9 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling time v0.3.4 [INFO] [stderr] Compiling hyper v0.14.14 [INFO] [stderr] Compiling sqlx-core v0.5.9 [INFO] [stderr] Compiling nettle v7.0.2 [INFO] [stderr] Compiling sequoia-openpgp v1.5.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling sqlx-macros v0.5.9 [INFO] [stderr] Compiling sqlx v0.5.9 [INFO] [stderr] Compiling p-vector v0.2.1-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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | sqlx::query!("DELETE FROM pv_repos WHERE path = $1", remove) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/generate.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | ...Ok(sqlx::query_as!(BranchMeta, "SELECT branch, array_agg(DISTINCT architecture) AS arch, array_agg(DISTINCT component) AS comp FROM pv_repos GROUP BY branch").fe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/generate.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let lines = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 247 | | r#"SELECT (df.path || '/' || df.name) || ' ' || (string_agg(DISTINCT ( [INFO] [stdout] 248 | | coalesce(dp.section || '/', '') || dp.package), ',')) || chr(10) as p [INFO] [stdout] 249 | | FROM pv_packages dp [INFO] [stdout] ... | [INFO] [stdout] 256 | | arch [INFO] [stdout] 257 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/generate.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | let records = sqlx::query!("SELECT architecture FROM pv_repos WHERE path=$1", component) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/generate.rs:353:19 [INFO] [stdout] | [INFO] [stdout] 353 | let records = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 354 | | PackageTemplate, [INFO] [stdout] 355 | | r#"SELECT p.package AS name, p.version, min(p.architecture) arch, [INFO] [stdout] 356 | | min(p.filename) path, min(p.size) size, min(p.sha256) sha256, [INFO] [stdout] ... | [INFO] [stdout] 365 | | component [INFO] [stdout] 366 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/generate.rs:407:19 [INFO] [stdout] | [INFO] [stdout] 407 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 408 | | "SELECT branch, coalesce(extract(epoch FROM max(mtime)), 0) AS modified FROM pv_repos GROUP BY branch" [INFO] [stdout] 409 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/scan/dbscan.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 234 | | r#"SELECT comparable_dpkgver($1) > _vercomp AS newer, version, filename FROM pv_packages [INFO] [stdout] 235 | | WHERE package=$2 AND repo=$3 AND _vercomp= [INFO] [stdout] 236 | | (SELECT max("_vercomp") FROM pv_packages WHERE package=$2 AND repo=$3 GROUP BY package)"#, [INFO] [stdout] ... | [INFO] [stdout] 239 | | repo [INFO] [stdout] 240 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/scan/dbscan.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | / sqlx::query!( [INFO] [stdout] 282 | | "INSERT INTO pv_repos VALUES ($1, $2, $3, $4, $5, $6, now()) [INFO] [stdout] 283 | | ON CONFLICT (name) DO UPDATE SET mtime=now()", [INFO] [stdout] 284 | | repo.name, [INFO] [stdout] ... | [INFO] [stdout] 289 | | repo.architecture [INFO] [stdout] 290 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/scan/dbscan.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 321 | | r#"INSERT INTO pv_packages VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, comparable_dpkgver($2)) [INFO] [stdout] 322 | | ON CONFLICT (package, version, repo) [INFO] [stdout] 323 | | DO UPDATE SET filename=$5,size=$6,sha256=$7,mtime=$8,debtime=$9,section=$10,installed_size=$11,maintainer=$12,description=$13 [INFO] [stdout] 324 | | RETURNING (xmax = 0) AS new"#, [INFO] [stdout] 325 | | meta.name, meta.version, repo, meta.arch, package.filename, package.size as i64, package.sha256, package.mtime as i32, meta.debti... [INFO] [stdout] 326 | | ).fetch_one(&mut *pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/scan/dbscan.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | / sqlx::query!( [INFO] [stdout] 331 | | r#"WITH d1 AS (DELETE FROM pv_package_sodep WHERE package=$1 AND version=$2 AND repo=$3 RETURNING package) [INFO] [stdout] 332 | | , d2 AS (DELETE FROM pv_package_files WHERE package=$1 AND version=$2 AND repo=$3 RETURNING package) [INFO] [stdout] 333 | | , d3 AS (DELETE FROM pv_package_dependencies WHERE package=$1 AND version=$2 AND repo=$3 RETURNING package) [INFO] [stdout] ... | [INFO] [stdout] 337 | | repo [INFO] [stdout] 338 | | ).execute(&mut *pool).await?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/scan/dbscan.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | / sqlx::query!( [INFO] [stdout] 340 | | "INSERT INTO pv_package_duplicate SELECT * FROM pv_packages WHERE filename=$1", [INFO] [stdout] 341 | | package.filename [INFO] [stdout] 342 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/scan/dbscan.rs: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 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `p-vector` due to 31 previous errors [INFO] running `Command { std: "docker" "inspect" "04a5bcaa7dc273dc7270f3d3324703ca5d787ec7709d3f8ba6fe39d7bdd8054b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a5bcaa7dc273dc7270f3d3324703ca5d787ec7709d3f8ba6fe39d7bdd8054b", kill_on_drop: false }` [INFO] [stdout] 04a5bcaa7dc273dc7270f3d3324703ca5d787ec7709d3f8ba6fe39d7bdd8054b