[INFO] fetching crate wgman 0.1.1... [INFO] checking wgman-0.1.1 against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] extracting crate wgman 0.1.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate wgman 0.1.1 on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate wgman 0.1.1 [INFO] finished tweaking crates.io crate wgman 0.1.1 [INFO] tweaked toml for crates.io crate wgman 0.1.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate wgman 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04fc5e0202a6bfa17d672c69884531b63d4cc770c3d147c3459336218e64988c [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" "04fc5e0202a6bfa17d672c69884531b63d4cc770c3d147c3459336218e64988c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04fc5e0202a6bfa17d672c69884531b63d4cc770c3d147c3459336218e64988c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04fc5e0202a6bfa17d672c69884531b63d4cc770c3d147c3459336218e64988c", kill_on_drop: false }` [INFO] [stdout] 04fc5e0202a6bfa17d672c69884531b63d4cc770c3d147c3459336218e64988c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 029c63ac07ea95fc3d5f21d1f9efed5fa57f7e5337cc4ecfce61e2b537bac5da [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" "029c63ac07ea95fc3d5f21d1f9efed5fa57f7e5337cc4ecfce61e2b537bac5da", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Checking tap v1.0.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling whoami v1.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling ahash v0.6.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking log v0.4.13 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking bitvec v0.19.4 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking rand v0.8.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.21.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking headers v0.3.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking sqlformat v0.1.5 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.11.0 [INFO] [stderr] Checking sqlx-rt v0.2.0 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking ipnetwork v0.17.0 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking sqlx-core v0.4.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking warp v0.2.5 [INFO] [stderr] Compiling sqlx-macros v0.4.2 [INFO] [stderr] Checking sqlx v0.4.2 [INFO] [stderr] Checking wgman-core v0.1.1 [INFO] [stderr] Checking wgman v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(sqlx::query_as!(Admin, "SELECT * FROM public.admin Where u_name = $1", name).fetch_one(pool).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | sqlx::query_as!(Admin, "DELETE FROM public.admin Where u_name = $1", name).execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(sqlx::query_as!(Interface, "SELECT * FROM public.interface").fetch_all(pool).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(sqlx::query_as!(Interface, "SELECT * FROM public.interface Where u_name = $1", name).fetch_one(pool).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | ... Ok(sqlx::query_as!(Interface, "SELECT * FROM public.interface Where u_name = $1 OR u_name = $2", peer_name, endpoint_name).fetch_al... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | sqlx::query_as!(Interface, "DELETE FROM public.interface Where u_name = $1", name).execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | ...Ok(sqlx::query_as!(AdminPassword, "SELECT pw.id, password_hash, salt FROM public.admin u INNER JOIN public.admin_password pw ON u.id= pw.id WHERE u_name = $1", name).fe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | ...Ok(sqlx::query_as!(InterfacePassword, "SELECT pw.id, password_hash, salt FROM public.admin i INNER JOIN public.interface_password pw ON i.id= pw.id WHERE u_name = $1", name).fe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | Ok(sqlx::query_as!(PeerRelation, "SELECT * FROM public.peer_relation Where endpoint_name = $1", name).fetch_all(pool).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(sqlx::query_as!(PeerRelation, "SELECT * FROM public.peer_relation Where peer_name = $1", name).fetch_all(pool).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | ... sqlx::query_as!(PeerRelation, "DELETE FROM public.peer_relation Where peer_name = $1 AND endpoint_name = $2", peer, endpoint).execu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query_as!(PeerRelation, "INSERT INTO public.peer_relation ( [INFO] [stdout] 84 | | peer_name, endpoint_name, peer_allowed_ip, endpoint_allowed_ip [INFO] [stdout] 85 | | ) VALUES ($1, $2, $3, $4) [INFO] [stdout] 86 | | ON CONFLICT (peer_name, endpoint_name) [INFO] [stdout] ... | [INFO] [stdout] 91 | | endpoint_allowed_ip = EXCLUDED.endpoint_allowed_ip ; [INFO] [stdout] 92 | | ", peer_name, endpoint_name, peer_allowed_ip, endpoint_allowed_ip) [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | / sqlx::query_as!(PeerRelation, "INSERT INTO public.peer_relation ( [INFO] [stdout] 99 | | peer_name, endpoint_name, peer_allowed_ip [INFO] [stdout] 100 | | ) VALUES ($1, $2, $3) [INFO] [stdout] 101 | | ON CONFLICT (peer_name, endpoint_name) [INFO] [stdout] 102 | | DO UPDATE SET [INFO] [stdout] 103 | | endpoint_allowed_ip = EXCLUDED.endpoint_allowed_ip ; [INFO] [stdout] 104 | | ", peer_name, endpoint_name, peer_allowed_ip) [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | / sqlx::query_as!(PeerRelation, "INSERT INTO public.peer_relation ( [INFO] [stdout] 111 | | peer_name, endpoint_name, endpoint_allowed_ip [INFO] [stdout] 112 | | ) VALUES ($1, $2, $3) [INFO] [stdout] 113 | | ON CONFLICT (peer_name, endpoint_name) [INFO] [stdout] 114 | | DO UPDATE SET [INFO] [stdout] 115 | | endpoint_allowed_ip = EXCLUDED.endpoint_allowed_ip ; [INFO] [stdout] 116 | | ", peer_name, endpoint_name, endpoint_allowed_ip) [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(sqlx::query_as!(Admin, "SELECT * FROM public.admin Where u_name = $1", name).fetch_one(pool).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | sqlx::query_as!(Admin, "DELETE FROM public.admin Where u_name = $1", name).execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(sqlx::query_as!(Interface, "SELECT * FROM public.interface").fetch_all(pool).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(sqlx::query_as!(Interface, "SELECT * FROM public.interface Where u_name = $1", name).fetch_one(pool).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | ... Ok(sqlx::query_as!(Interface, "SELECT * FROM public.interface Where u_name = $1 OR u_name = $2", peer_name, endpoint_name).fetch_al... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | sqlx::query_as!(Interface, "DELETE FROM public.interface Where u_name = $1", name).execute(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | ...Ok(sqlx::query_as!(AdminPassword, "SELECT pw.id, password_hash, salt FROM public.admin u INNER JOIN public.admin_password pw ON u.id= pw.id WHERE u_name = $1", name).fe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | ...Ok(sqlx::query_as!(InterfacePassword, "SELECT pw.id, password_hash, salt FROM public.admin i INNER JOIN public.interface_password pw ON i.id= pw.id WHERE u_name = $1", name).fe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | Ok(sqlx::query_as!(PeerRelation, "SELECT * FROM public.peer_relation Where endpoint_name = $1", name).fetch_all(pool).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(sqlx::query_as!(PeerRelation, "SELECT * FROM public.peer_relation Where peer_name = $1", name).fetch_all(pool).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | ... sqlx::query_as!(PeerRelation, "DELETE FROM public.peer_relation Where peer_name = $1 AND endpoint_name = $2", peer, endpoint).execu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query_as!(PeerRelation, "INSERT INTO public.peer_relation ( [INFO] [stdout] 84 | | peer_name, endpoint_name, peer_allowed_ip, endpoint_allowed_ip [INFO] [stdout] 85 | | ) VALUES ($1, $2, $3, $4) [INFO] [stdout] 86 | | ON CONFLICT (peer_name, endpoint_name) [INFO] [stdout] ... | [INFO] [stdout] 91 | | endpoint_allowed_ip = EXCLUDED.endpoint_allowed_ip ; [INFO] [stdout] 92 | | ", peer_name, endpoint_name, peer_allowed_ip, endpoint_allowed_ip) [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | / sqlx::query_as!(PeerRelation, "INSERT INTO public.peer_relation ( [INFO] [stdout] 99 | | peer_name, endpoint_name, peer_allowed_ip [INFO] [stdout] 100 | | ) VALUES ($1, $2, $3) [INFO] [stdout] 101 | | ON CONFLICT (peer_name, endpoint_name) [INFO] [stdout] 102 | | DO UPDATE SET [INFO] [stdout] 103 | | endpoint_allowed_ip = EXCLUDED.endpoint_allowed_ip ; [INFO] [stdout] 104 | | ", peer_name, endpoint_name, peer_allowed_ip) [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | / sqlx::query_as!(PeerRelation, "INSERT INTO public.peer_relation ( [INFO] [stdout] 111 | | peer_name, endpoint_name, endpoint_allowed_ip [INFO] [stdout] 112 | | ) VALUES ($1, $2, $3) [INFO] [stdout] 113 | | ON CONFLICT (peer_name, endpoint_name) [INFO] [stdout] 114 | | DO UPDATE SET [INFO] [stdout] 115 | | endpoint_allowed_ip = EXCLUDED.endpoint_allowed_ip ; [INFO] [stdout] 116 | | ", peer_name, endpoint_name, endpoint_allowed_ip) [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wgman` [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "029c63ac07ea95fc3d5f21d1f9efed5fa57f7e5337cc4ecfce61e2b537bac5da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "029c63ac07ea95fc3d5f21d1f9efed5fa57f7e5337cc4ecfce61e2b537bac5da", kill_on_drop: false }` [INFO] [stdout] 029c63ac07ea95fc3d5f21d1f9efed5fa57f7e5337cc4ecfce61e2b537bac5da