[INFO] cloning repository https://github.com/quaintsorcery/logger-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quaintsorcery/logger-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquaintsorcery%2Flogger-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquaintsorcery%2Flogger-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60f6d60aef0b5bfc0e62f73ae1126781a63a7647 [INFO] checking quaintsorcery/logger-bot/60f6d60aef0b5bfc0e62f73ae1126781a63a7647 against master#12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 for pr-155299 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquaintsorcery%2Flogger-bot" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/quaintsorcery/logger-bot [INFO] finished tweaking git repo https://github.com/quaintsorcery/logger-bot [INFO] tweaked toml for git repo https://github.com/quaintsorcery/logger-bot written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/quaintsorcery/logger-bot on toolchain 12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/quaintsorcery/logger-bot 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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded take_mut v0.2.2 [INFO] [stderr] Downloaded teloxide-macros v0.10.0 [INFO] [stderr] Downloaded takecell v0.1.1 [INFO] [stderr] Downloaded teloxide v0.17.0 [INFO] [stderr] Downloaded loop9 v0.1.5 [INFO] [stderr] Downloaded pastey v0.1.1 [INFO] [stderr] Downloaded profiling-procmacros v1.0.17 [INFO] [stderr] Downloaded simd_helpers v0.1.0 [INFO] [stderr] Downloaded include_dir v0.7.4 [INFO] [stderr] Downloaded erasable v1.3.0 [INFO] [stderr] Downloaded interpolate_name v0.2.4 [INFO] [stderr] Downloaded rc-box v1.3.0 [INFO] [stderr] Downloaded y4m v0.8.0 [INFO] [stderr] Downloaded lebe v0.5.3 [INFO] [stderr] Downloaded as-slice v0.2.1 [INFO] [stderr] Downloaded arg_enum_proc_macro v0.3.4 [INFO] [stderr] Downloaded noop_proc_macro v0.3.0 [INFO] [stderr] Downloaded bit_field v0.10.3 [INFO] [stderr] Downloaded maybe-rayon v0.1.1 [INFO] [stderr] Downloaded plotters-bitmap v0.3.7 [INFO] [stderr] Downloaded float-ord v0.3.2 [INFO] [stderr] Downloaded pathfinder_geometry v0.5.1 [INFO] [stderr] Downloaded avif-serialize v0.8.6 [INFO] [stderr] Downloaded ar_archive_writer v0.2.0 [INFO] [stderr] Downloaded stacker v0.1.22 [INFO] [stderr] Downloaded pathfinder_simd v0.5.5 [INFO] [stderr] Downloaded v_frame v0.3.9 [INFO] [stderr] Downloaded ravif v0.12.0 [INFO] [stderr] Downloaded aligned v0.4.3 [INFO] [stderr] Downloaded zune-core v0.4.12 [INFO] [stderr] Downloaded gif v0.14.1 [INFO] [stderr] Downloaded colored v3.0.0 [INFO] [stderr] Downloaded av1-grain v0.2.5 [INFO] [stderr] Downloaded psm v0.1.28 [INFO] [stderr] Downloaded built v0.8.0 [INFO] [stderr] Downloaded dptree v0.5.1 [INFO] [stderr] Downloaded image-webp v0.2.4 [INFO] [stderr] Downloaded zune-jpeg v0.4.21 [INFO] [stderr] Downloaded imgref v1.12.0 [INFO] [stderr] Downloaded zune-jpeg v0.5.8 [INFO] [stderr] Downloaded font-kit v0.14.3 [INFO] [stderr] Downloaded bitstream-io v4.9.0 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.10 [INFO] [stderr] Downloaded moxcms v0.7.11 [INFO] [stderr] Downloaded include_dir_macros v0.7.4 [INFO] [stderr] Downloaded exr v1.74.0 [INFO] [stderr] Downloaded teloxide-core v0.13.0 [INFO] [stderr] Downloaded av-scenechange v0.14.1 [INFO] [stderr] Downloaded pxfm v0.1.27 [INFO] [stderr] Downloaded tiff v0.10.3 [INFO] [stderr] Downloaded rav1e v0.8.1 [INFO] [stderr] Downloaded aquamarine v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f945a232f0f534cd9c353800f9ce08179b58624ebce45f43e99c869468c244c6 [INFO] running `Command { std: "docker" "start" "-a" "f945a232f0f534cd9c353800f9ce08179b58624ebce45f43e99c869468c244c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f945a232f0f534cd9c353800f9ce08179b58624ebce45f43e99c869468c244c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f945a232f0f534cd9c353800f9ce08179b58624ebce45f43e99c869468c244c6", kill_on_drop: false }` [INFO] [stdout] f945a232f0f534cd9c353800f9ce08179b58624ebce45f43e99c869468c244c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8252553a2e2dcb760f7ad1e295a526322452203fc8c72cbdaa88567b167a9c15 [INFO] running `Command { std: "docker" "start" "-a" "8252553a2e2dcb760f7ad1e295a526322452203fc8c72cbdaa88567b167a9c15", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling ar_archive_writer v0.2.0 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling pathfinder_simd v0.5.5 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling psm v0.1.28 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking aligned v0.4.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Checking y4m v0.8.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Compiling serde_with_macros v3.16.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Compiling font-kit v0.14.3 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking serde_with v3.16.1 [INFO] [stderr] Checking rc-box v1.3.0 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking pxfm v0.1.27 [INFO] [stderr] Checking zune-core v0.5.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking teloxide-core v0.13.0 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Compiling aquamarine v0.6.0 [INFO] [stderr] Checking dptree v0.5.1 [INFO] [stderr] Checking zune-jpeg v0.5.8 [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Checking plotters-bitmap v0.3.7 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling teloxide-macros v0.10.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking gif v0.14.1 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking ravif v0.12.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking teloxide v0.17.0 [INFO] [stderr] Checking logger-bot 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/database.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(sqlx::query_scalar!( [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | r#" [INFO] [stdout] 21 | | INSERT INTO users (telegram_id) VALUES (?) [INFO] [stdout] 22 | | ON CONFLICT(telegram_id) DO UPDATE SET telegram_id = telegram_id [INFO] [stdout] ... | [INFO] [stdout] 25 | | tg_id, [INFO] [stdout] 26 | | ) [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/database.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / sqlx::query!( [INFO] [stdout] 33 | | "INSERT INTO logs (user_id, timestamp) VALUES (?, ?)", [INFO] [stdout] 34 | | user_id, [INFO] [stdout] 35 | | ts, [INFO] [stdout] 36 | | ) [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/database.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | sqlx::query_scalar!("SELECT COUNT(*) FROM logs WHERE user_id = ?;", user_id) [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/database.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | sqlx::query_scalar!("SELECT timestamp FROM logs WHERE user_id = ?;", user_id) [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/database.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | Ok(sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 60 | | r#" [INFO] [stdout] 61 | | SELECT u.telegram_id, COUNT(l.id) as logs [INFO] [stdout] 62 | | FROM users u [INFO] [stdout] ... | [INFO] [stdout] 67 | | "#, [INFO] [stdout] 68 | | ) [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/database.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | / sqlx::query!( [INFO] [stdout] 78 | | r#" [INFO] [stdout] 79 | | DELETE FROM logs WHERE user_id = ?; [INFO] [stdout] 80 | | "#, [INFO] [stdout] 81 | | user_id, [INFO] [stdout] 82 | | ) [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/database.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | / sqlx::query!( [INFO] [stdout] 86 | | r#" [INFO] [stdout] 87 | | DELETE FROM users WHERE id = ?; [INFO] [stdout] 88 | | "#, [INFO] [stdout] 89 | | user_id, [INFO] [stdout] 90 | | ) [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/database.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(sqlx::query_scalar!( [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | r#" [INFO] [stdout] 21 | | INSERT INTO users (telegram_id) VALUES (?) [INFO] [stdout] 22 | | ON CONFLICT(telegram_id) DO UPDATE SET telegram_id = telegram_id [INFO] [stdout] ... | [INFO] [stdout] 25 | | tg_id, [INFO] [stdout] 26 | | ) [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/database.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / sqlx::query!( [INFO] [stdout] 33 | | "INSERT INTO logs (user_id, timestamp) VALUES (?, ?)", [INFO] [stdout] 34 | | user_id, [INFO] [stdout] 35 | | ts, [INFO] [stdout] 36 | | ) [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/database.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | sqlx::query_scalar!("SELECT COUNT(*) FROM logs WHERE user_id = ?;", user_id) [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/database.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | sqlx::query_scalar!("SELECT timestamp FROM logs WHERE user_id = ?;", user_id) [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/database.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | Ok(sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 60 | | r#" [INFO] [stdout] 61 | | SELECT u.telegram_id, COUNT(l.id) as logs [INFO] [stdout] 62 | | FROM users u [INFO] [stdout] ... | [INFO] [stdout] 67 | | "#, [INFO] [stdout] 68 | | ) [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/database.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | / sqlx::query!( [INFO] [stdout] 78 | | r#" [INFO] [stdout] 79 | | DELETE FROM logs WHERE user_id = ?; [INFO] [stdout] 80 | | "#, [INFO] [stdout] 81 | | user_id, [INFO] [stdout] 82 | | ) [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/database.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | / sqlx::query!( [INFO] [stdout] 86 | | r#" [INFO] [stdout] 87 | | DELETE FROM users WHERE id = ?; [INFO] [stdout] 88 | | "#, [INFO] [stdout] 89 | | user_id, [INFO] [stdout] 90 | | ) [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] [stderr] error: could not compile `logger-bot` (bin "logger-bot") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `logger-bot` (bin "logger-bot" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "8252553a2e2dcb760f7ad1e295a526322452203fc8c72cbdaa88567b167a9c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8252553a2e2dcb760f7ad1e295a526322452203fc8c72cbdaa88567b167a9c15", kill_on_drop: false }` [INFO] [stdout] 8252553a2e2dcb760f7ad1e295a526322452203fc8c72cbdaa88567b167a9c15