[INFO] cloning repository https://github.com/dcodesdev/server-monitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dcodesdev/server-monitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcodesdev%2Fserver-monitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcodesdev%2Fserver-monitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 503ad277c9e04f6050059c369488d50bf162cf5c [INFO] checking dcodesdev/server-monitor against try#bac5816c5f3d02cebd0599070af62d1782530294 for pr-150408 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcodesdev%2Fserver-monitor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dcodesdev/server-monitor [INFO] finished tweaking git repo https://github.com/dcodesdev/server-monitor [INFO] tweaked toml for git repo https://github.com/dcodesdev/server-monitor written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dcodesdev/server-monitor on toolchain bac5816c5f3d02cebd0599070af62d1782530294 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dcodesdev/server-monitor already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9a9ba6927443d552be1808f7584a21dcbd74d2a48491b3bf2cad88f754c972c [INFO] running `Command { std: "docker" "start" "-a" "a9a9ba6927443d552be1808f7584a21dcbd74d2a48491b3bf2cad88f754c972c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9a9ba6927443d552be1808f7584a21dcbd74d2a48491b3bf2cad88f754c972c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a9ba6927443d552be1808f7584a21dcbd74d2a48491b3bf2cad88f754c972c", kill_on_drop: false }` [INFO] [stdout] a9a9ba6927443d552be1808f7584a21dcbd74d2a48491b3bf2cad88f754c972c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f26704f174675d6daddd333bd57d33dae038e347554c82b8d321d29a3e31c3ce [INFO] running `Command { std: "docker" "start" "-a" "f26704f174675d6daddd333bd57d33dae038e347554c82b8d321d29a3e31c3ce", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.85 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking sqlx-sqlite v0.7.4 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking server-monitor v0.1.10 (/opt/rustwide/workdir) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/db.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / sqlx::query!( [INFO] [stdout] 55 | | "UPDATE endpoint SET status = 'UP', uptime_at = ? WHERE url = ?", [INFO] [stdout] 56 | | now, [INFO] [stdout] 57 | | url [INFO] [stdout] 58 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/db.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | / sqlx::query!( [INFO] [stdout] 72 | | "UPDATE endpoint SET status = 'DOWN', uptime_at = NULL WHERE url = ?", [INFO] [stdout] 73 | | url_str [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/db.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | / sqlx::query!( [INFO] [stdout] 81 | | "INSERT INTO incident (url, message, created_at) VALUES (?, ?, ?)", [INFO] [stdout] 82 | | url_str, [INFO] [stdout] 83 | | message, [INFO] [stdout] 84 | | created_at [INFO] [stdout] 85 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/endpoint.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | let row = sqlx::query!("SELECT COUNT(*) as count FROM endpoint WHERE url = ?", url) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/endpoint.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | / sqlx::query!( [INFO] [stdout] 51 | | "INSERT INTO endpoint (url, status, uptime_at) VALUES (?, 'PENDING', NULL)", [INFO] [stdout] 52 | | url [INFO] [stdout] 53 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/endpoint.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let endpoints = sqlx::query_as!(Endpoint, "SELECT * FROM endpoint") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/endpoint.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | let endpoint = sqlx::query_as!(Endpoint, "SELECT * FROM endpoint WHERE url = ?", url) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/endpoint.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let latency = sqlx::query!("SELECT max_latency FROM endpoint WHERE url = ?", url) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/endpoint.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | / sqlx::query!( [INFO] [stdout] 102 | | "UPDATE endpoint SET max_latency = ? WHERE url = ?", [INFO] [stdout] 103 | | latency, [INFO] [stdout] 104 | | url [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/endpoint.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | sqlx::query!("UPDATE endpoint SET max_latency = NULL WHERE url = ?", url) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/incident.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | let incidents = sqlx::query_as!(Incident, "SELECT * FROM incident") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/incident.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let incidents = sqlx::query!("SELECT id FROM incident") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/metadata.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let metadata = sqlx::query_as!(Metadata, "SELECT * FROM metadata;") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/metadata.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | sqlx::query!("INSERT INTO metadata (last_update_sent_at) VALUES (NULL);") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/metadata.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | let metadata = sqlx::query_as!(Metadata, "SELECT * FROM metadata;") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/metadata.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | sqlx::query!("UPDATE metadata SET last_update_sent_at = ?;", now) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/db.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / sqlx::query!( [INFO] [stdout] 55 | | "UPDATE endpoint SET status = 'UP', uptime_at = ? WHERE url = ?", [INFO] [stdout] 56 | | now, [INFO] [stdout] 57 | | url [INFO] [stdout] 58 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/db.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | / sqlx::query!( [INFO] [stdout] 72 | | "UPDATE endpoint SET status = 'DOWN', uptime_at = NULL WHERE url = ?", [INFO] [stdout] 73 | | url_str [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/db.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | / sqlx::query!( [INFO] [stdout] 81 | | "INSERT INTO incident (url, message, created_at) VALUES (?, ?, ?)", [INFO] [stdout] 82 | | url_str, [INFO] [stdout] 83 | | message, [INFO] [stdout] 84 | | created_at [INFO] [stdout] 85 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/endpoint.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | let row = sqlx::query!("SELECT COUNT(*) as count FROM endpoint WHERE url = ?", url) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/endpoint.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | / sqlx::query!( [INFO] [stdout] 51 | | "INSERT INTO endpoint (url, status, uptime_at) VALUES (?, 'PENDING', NULL)", [INFO] [stdout] 52 | | url [INFO] [stdout] 53 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/endpoint.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let endpoints = sqlx::query_as!(Endpoint, "SELECT * FROM endpoint") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/endpoint.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | let endpoint = sqlx::query_as!(Endpoint, "SELECT * FROM endpoint WHERE url = ?", url) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/endpoint.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let latency = sqlx::query!("SELECT max_latency FROM endpoint WHERE url = ?", url) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/endpoint.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | / sqlx::query!( [INFO] [stdout] 102 | | "UPDATE endpoint SET max_latency = ? WHERE url = ?", [INFO] [stdout] 103 | | latency, [INFO] [stdout] 104 | | url [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/endpoint.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | sqlx::query!("UPDATE endpoint SET max_latency = NULL WHERE url = ?", url) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/incident.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | let incidents = sqlx::query_as!(Incident, "SELECT * FROM incident") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/incident.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let incidents = sqlx::query!("SELECT id FROM incident") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/metadata.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let metadata = sqlx::query_as!(Metadata, "SELECT * FROM metadata;") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/metadata.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | sqlx::query!("INSERT INTO metadata (last_update_sent_at) VALUES (NULL);") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/metadata.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | let metadata = sqlx::query_as!(Metadata, "SELECT * FROM metadata;") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/metadata.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | sqlx::query!("UPDATE metadata SET last_update_sent_at = ?;", now) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/incident.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let incidents = sqlx::query!("SELECT id FROM incident") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(incidents.is_empty()) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `incidents` an explicit type [INFO] [stdout] | [INFO] [stdout] 34 | let incidents: /* Type */ = sqlx::query!("SELECT id FROM incident") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/incident.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let incidents = sqlx::query!("SELECT id FROM incident") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(incidents.is_empty()) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `incidents` an explicit type [INFO] [stdout] | [INFO] [stdout] 34 | let incidents: /* Type */ = sqlx::query!("SELECT id FROM incident") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/metadata.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let metadata = sqlx::query_as!(Metadata, "SELECT * FROM metadata;") [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | if metadata.is_none() { [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `metadata` an explicit type [INFO] [stdout] | [INFO] [stdout] 18 | let metadata: /* Type */ = sqlx::query_as!(Metadata, "SELECT * FROM metadata;") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db/metadata.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let metadata = sqlx::query_as!(Metadata, "SELECT * FROM metadata;") [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | if metadata.is_none() { [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `metadata` an explicit type [INFO] [stdout] | [INFO] [stdout] 18 | let metadata: /* Type */ = sqlx::query_as!(Metadata, "SELECT * FROM metadata;") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `server-monitor` (bin "server-monitor") due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `server-monitor` (bin "server-monitor" test) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "f26704f174675d6daddd333bd57d33dae038e347554c82b8d321d29a3e31c3ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f26704f174675d6daddd333bd57d33dae038e347554c82b8d321d29a3e31c3ce", kill_on_drop: false }` [INFO] [stdout] f26704f174675d6daddd333bd57d33dae038e347554c82b8d321d29a3e31c3ce