[INFO] cloning repository https://github.com/Kidoly/monitorflow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kidoly/monitorflow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKidoly%2Fmonitorflow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKidoly%2Fmonitorflow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f935df255315c3e1223a35908a8fd95497c14b8 [INFO] checking Kidoly/monitorflow against try#3f7e3b175fda7edbf81081bcd9b91b73f2f7993f for pr-156157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKidoly%2Fmonitorflow" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 39% (1751/4421) Updating files: 40% (1769/4421) Updating files: 41% (1813/4421) Updating files: 42% (1857/4421) Updating files: 43% (1902/4421) Updating files: 44% (1946/4421) Updating files: 45% (1990/4421) Updating files: 46% (2034/4421) Updating files: 47% (2078/4421) Updating files: 48% (2123/4421) Updating files: 49% (2167/4421) Updating files: 50% (2211/4421) Updating files: 51% (2255/4421) Updating files: 52% (2299/4421) Updating files: 53% (2344/4421) Updating files: 54% (2388/4421) Updating files: 55% (2432/4421) Updating files: 56% (2476/4421) Updating files: 57% (2520/4421) Updating files: 58% (2565/4421) Updating files: 59% (2609/4421) Updating files: 60% (2653/4421) Updating files: 61% (2697/4421) Updating files: 62% (2742/4421) Updating files: 63% (2786/4421) Updating files: 64% (2830/4421) Updating files: 65% (2874/4421) Updating files: 66% (2918/4421) Updating files: 67% (2963/4421) Updating files: 68% (3007/4421) Updating files: 69% (3051/4421) Updating files: 70% (3095/4421) Updating files: 71% (3139/4421) Updating files: 72% (3184/4421) Updating files: 73% (3228/4421) Updating files: 74% (3272/4421) Updating files: 75% (3316/4421) Updating files: 76% (3360/4421) Updating files: 77% (3405/4421) Updating files: 78% (3449/4421) Updating files: 79% (3493/4421) Updating files: 79% (3530/4421) Updating files: 80% (3537/4421) Updating files: 81% (3582/4421) Updating files: 82% (3626/4421) Updating files: 83% (3670/4421) Updating files: 84% (3714/4421) Updating files: 85% (3758/4421) Updating files: 86% (3803/4421) Updating files: 87% (3847/4421) Updating files: 88% (3891/4421) Updating files: 89% (3935/4421) Updating files: 90% (3979/4421) Updating files: 90% (4012/4421) Updating files: 91% (4024/4421) Updating files: 92% (4068/4421) Updating files: 93% (4112/4421) Updating files: 94% (4156/4421) Updating files: 95% (4200/4421) Updating files: 95% (4214/4421) Updating files: 96% (4245/4421) Updating files: 97% (4289/4421) Updating files: 98% (4333/4421) Updating files: 99% (4377/4421) Updating files: 100% (4421/4421) Updating files: 100% (4421/4421), done. [INFO] started tweaking git repo https://github.com/Kidoly/monitorflow [INFO] finished tweaking git repo https://github.com/Kidoly/monitorflow [INFO] tweaked toml for git repo https://github.com/Kidoly/monitorflow written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kidoly/monitorflow on toolchain 3f7e3b175fda7edbf81081bcd9b91b73f2f7993f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kidoly/monitorflow 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" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking Kidoly/monitorflow against try#3f7e3b175fda7edbf81081bcd9b91b73f2f7993f for pr-156157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKidoly%2Fmonitorflow" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 39% (1751/4421) Updating files: 40% (1769/4421) Updating files: 41% (1813/4421) Updating files: 42% (1857/4421) Updating files: 43% (1902/4421) Updating files: 44% (1946/4421) Updating files: 45% (1990/4421) Updating files: 46% (2034/4421) Updating files: 47% (2078/4421) Updating files: 48% (2123/4421) Updating files: 49% (2167/4421) Updating files: 50% (2211/4421) Updating files: 51% (2255/4421) Updating files: 52% (2299/4421) Updating files: 53% (2344/4421) Updating files: 54% (2388/4421) Updating files: 55% (2432/4421) Updating files: 56% (2476/4421) Updating files: 57% (2520/4421) Updating files: 58% (2565/4421) Updating files: 59% (2609/4421) Updating files: 60% (2653/4421) Updating files: 61% (2697/4421) Updating files: 62% (2742/4421) Updating files: 63% (2786/4421) Updating files: 64% (2830/4421) Updating files: 65% (2874/4421) Updating files: 66% (2918/4421) Updating files: 67% (2963/4421) Updating files: 68% (3007/4421) Updating files: 69% (3051/4421) Updating files: 70% (3095/4421) Updating files: 71% (3139/4421) Updating files: 72% (3184/4421) Updating files: 73% (3228/4421) Updating files: 74% (3272/4421) Updating files: 75% (3316/4421) Updating files: 76% (3360/4421) Updating files: 77% (3405/4421) Updating files: 78% (3449/4421) Updating files: 79% (3493/4421) Updating files: 79% (3531/4421) Updating files: 80% (3537/4421) Updating files: 81% (3582/4421) Updating files: 82% (3626/4421) Updating files: 83% (3670/4421) Updating files: 84% (3714/4421) Updating files: 85% (3758/4421) Updating files: 86% (3803/4421) Updating files: 87% (3847/4421) Updating files: 88% (3891/4421) Updating files: 89% (3935/4421) Updating files: 90% (3979/4421) Updating files: 90% (4012/4421) Updating files: 91% (4024/4421) Updating files: 92% (4068/4421) Updating files: 93% (4112/4421) Updating files: 94% (4156/4421) Updating files: 95% (4200/4421) Updating files: 95% (4221/4421) Updating files: 96% (4245/4421) Updating files: 97% (4289/4421) Updating files: 98% (4333/4421) Updating files: 99% (4377/4421) Updating files: 100% (4421/4421) Updating files: 100% (4421/4421), done. [INFO] started tweaking git repo https://github.com/Kidoly/monitorflow [INFO] finished tweaking git repo https://github.com/Kidoly/monitorflow [INFO] tweaked toml for git repo https://github.com/Kidoly/monitorflow written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kidoly/monitorflow on toolchain 3f7e3b175fda7edbf81081bcd9b91b73f2f7993f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kidoly/monitorflow 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" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "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 tokio v1.47.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 835554ba11d8ee138800b3e772d6de65d2b5b30691551fc80b70cb91e7b2996c [INFO] running `Command { std: "docker" "start" "-a" "835554ba11d8ee138800b3e772d6de65d2b5b30691551fc80b70cb91e7b2996c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "835554ba11d8ee138800b3e772d6de65d2b5b30691551fc80b70cb91e7b2996c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "835554ba11d8ee138800b3e772d6de65d2b5b30691551fc80b70cb91e7b2996c", kill_on_drop: false }` [INFO] [stdout] 835554ba11d8ee138800b3e772d6de65d2b5b30691551fc80b70cb91e7b2996c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5511b1888d84152e7ec956b38ed4b9ea3331a8c5e95483484d23a5c1ce5deae6 [INFO] running `Command { std: "docker" "start" "-a" "5511b1888d84152e7ec956b38ed4b9ea3331a8c5e95483484d23a5c1ce5deae6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking monitorflow v0.1.0 (/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/main.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 90 | | r#" [INFO] [stdout] 91 | | INSERT INTO device (uid, name, device_type, display_name) [INFO] [stdout] 92 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 98 | | payload.name [INFO] [stdout] 99 | | ) [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/main.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | let sensor_id = match sqlx::query_scalar!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 108 | | r#" [INFO] [stdout] 109 | | INSERT INTO sensor (device_uid, sensor_type, name) [INFO] [stdout] 110 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 116 | | metric.sensor [INFO] [stdout] 117 | | ) [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_scalar` (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/main.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 129 | None => match sqlx::query_scalar!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 130 | | r#"SELECT id FROM sensor WHERE device_uid = $1 AND sensor_type = $2"#, [INFO] [stdout] 131 | | device_uid, [INFO] [stdout] 132 | | metric.sensor [INFO] [stdout] 133 | | ) [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_scalar` (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/main.rs:145:36 [INFO] [stdout] | [INFO] [stdout] 145 | let channel_id = match sqlx::query_scalar!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 146 | | r#" [INFO] [stdout] 147 | | SELECT id FROM channel WHERE sensor_id = $1 AND name = $2 [INFO] [stdout] 148 | | "#, [INFO] [stdout] 149 | | sensor_id, [INFO] [stdout] 150 | | reading.channel [INFO] [stdout] 151 | | ) [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_scalar` (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/main.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 163 | None => match sqlx::query_scalar!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 164 | | r#" [INFO] [stdout] 165 | | INSERT INTO channel (sensor_id, name) [INFO] [stdout] 166 | | VALUES ($1, $2) [INFO] [stdout] ... | [INFO] [stdout] 170 | | reading.channel [INFO] [stdout] 171 | | ) [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_scalar` (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/main.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 183 | | r#" [INFO] [stdout] 184 | | INSERT INTO sensor_reading (sensor_id, channel_id, timestamp, value) [INFO] [stdout] 185 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 192 | | reading.value [INFO] [stdout] 193 | | ) [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] warning: unused import: `axum::http::header` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use axum::http::header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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/main.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 90 | | r#" [INFO] [stdout] 91 | | INSERT INTO device (uid, name, device_type, display_name) [INFO] [stdout] 92 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 98 | | payload.name [INFO] [stdout] 99 | | ) [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/main.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | let sensor_id = match sqlx::query_scalar!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 108 | | r#" [INFO] [stdout] 109 | | INSERT INTO sensor (device_uid, sensor_type, name) [INFO] [stdout] 110 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 116 | | metric.sensor [INFO] [stdout] 117 | | ) [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_scalar` (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/main.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 129 | None => match sqlx::query_scalar!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 130 | | r#"SELECT id FROM sensor WHERE device_uid = $1 AND sensor_type = $2"#, [INFO] [stdout] 131 | | device_uid, [INFO] [stdout] 132 | | metric.sensor [INFO] [stdout] 133 | | ) [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_scalar` (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/main.rs:145:36 [INFO] [stdout] | [INFO] [stdout] 145 | let channel_id = match sqlx::query_scalar!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 146 | | r#" [INFO] [stdout] 147 | | SELECT id FROM channel WHERE sensor_id = $1 AND name = $2 [INFO] [stdout] 148 | | "#, [INFO] [stdout] 149 | | sensor_id, [INFO] [stdout] 150 | | reading.channel [INFO] [stdout] 151 | | ) [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_scalar` (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/main.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 163 | None => match sqlx::query_scalar!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 164 | | r#" [INFO] [stdout] 165 | | INSERT INTO channel (sensor_id, name) [INFO] [stdout] 166 | | VALUES ($1, $2) [INFO] [stdout] ... | [INFO] [stdout] 170 | | reading.channel [INFO] [stdout] 171 | | ) [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_scalar` (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/main.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 183 | | r#" [INFO] [stdout] 184 | | INSERT INTO sensor_reading (sensor_id, channel_id, timestamp, value) [INFO] [stdout] 185 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 192 | | reading.value [INFO] [stdout] 193 | | ) [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] warning: unused import: `axum::http::header` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use axum::http::header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monitorflow` (bin "monitorflow" test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `monitorflow` (bin "monitorflow") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5511b1888d84152e7ec956b38ed4b9ea3331a8c5e95483484d23a5c1ce5deae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5511b1888d84152e7ec956b38ed4b9ea3331a8c5e95483484d23a5c1ce5deae6", kill_on_drop: false }` [INFO] [stdout] 5511b1888d84152e7ec956b38ed4b9ea3331a8c5e95483484d23a5c1ce5deae6