[INFO] cloning repository https://github.com/niooii/dz-prime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/niooii/dz-prime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniooii%2Fdz-prime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniooii%2Fdz-prime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f63be51969d5a1c0365ae9aee645aa17983d0af9 [INFO] checking niooii/dz-prime against try#4c525d43052e921548191f82f6ed9e2f9e98dcb1 for pr-136988 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniooii%2Fdz-prime" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/niooii/dz-prime on toolchain 4c525d43052e921548191f82f6ed9e2f9e98dcb1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/niooii/dz-prime [INFO] finished tweaking git repo https://github.com/niooii/dz-prime [INFO] tweaked toml for git repo https://github.com/niooii/dz-prime written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/niooii/dz-prime 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" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "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 command_attr v0.5.3 [INFO] [stderr] Downloaded typesize-derive v0.1.11 [INFO] [stderr] Downloaded typesize v0.1.11 [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 258276441bbdac1124374e0671444657e9af00b7edabb1b44128a936b1ada95f [INFO] running `Command { std: "docker" "start" "-a" "258276441bbdac1124374e0671444657e9af00b7edabb1b44128a936b1ada95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "258276441bbdac1124374e0671444657e9af00b7edabb1b44128a936b1ada95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "258276441bbdac1124374e0671444657e9af00b7edabb1b44128a936b1ada95f", kill_on_drop: false }` [INFO] [stdout] 258276441bbdac1124374e0671444657e9af00b7edabb1b44128a936b1ada95f [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d11b20c1634be333a84bb797955c0e357d4f4a67c3801d5da7ce9502fd86596 [INFO] running `Command { std: "docker" "start" "-a" "7d11b20c1634be333a84bb797955c0e357d4f4a67c3801d5da7ce9502fd86596", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking rustls-pki-types v1.10.1 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking data-encoding v2.7.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking webpki-roots v0.26.7 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling command_attr v0.5.3 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking serde_cow v0.1.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking sqlx-core v0.8.3 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking sqlx-postgres v0.8.3 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking dz-prime 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:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | / query_as!( [INFO] [stdout] 43 | | UserSettingsRow, [INFO] [stdout] 44 | | r"SELECT * FROM settings [INFO] [stdout] 45 | | where user_id = $1 [INFO] [stdout] 46 | | ", [INFO] [stdout] 47 | | user_id.to_string() [INFO] [stdout] 48 | | ).fetch_one(&self.pool).await? [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 `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/database.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / query!( [INFO] [stdout] 54 | | r"INSERT INTO settings (user_id, ack_phrase) [INFO] [stdout] 55 | | VALUES ($1, $2) [INFO] [stdout] 56 | | ON CONFLICT (user_id) [INFO] [stdout] ... | [INFO] [stdout] 60 | | user_settings.ack_phrase [INFO] [stdout] 61 | | ).execute(&self.pool).await?; [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 `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:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / query_scalar!( [INFO] [stdout] 67 | | r"SELECT channel_id FROM dms [INFO] [stdout] 68 | | WHERE user_id = $1", [INFO] [stdout] 69 | | user_id.to_string() [INFO] [stdout] 70 | | ).fetch_optional(&self.pool).await [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 `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:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / query!( [INFO] [stdout] 77 | | r"INSERT INTO dms (user_id, channel_id) [INFO] [stdout] 78 | | VALUES ($1, $2) [INFO] [stdout] 79 | | ON CONFLICT (user_id) [INFO] [stdout] ... | [INFO] [stdout] 83 | | channel_id.to_string() [INFO] [stdout] 84 | | ).execute(&self.pool).await [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 `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:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | / query_as!( [INFO] [stdout] 92 | | TaskRow, [INFO] [stdout] 93 | | r"SELECT * FROM tasks [INFO] [stdout] 94 | | where id = $1 [INFO] [stdout] 95 | | ", [INFO] [stdout] 96 | | id [INFO] [stdout] 97 | | ).fetch_one(&self.pool).await? [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 `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/database.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | / query_as!( [INFO] [stdout] 105 | | TaskRow, [INFO] [stdout] 106 | | r#"INSERT INTO tasks (user_id, title, info, remind_at, on_date, repeat_weekly) [INFO] [stdout] 107 | | VALUES ($1, $2, $3, $4, $5, $6) [INFO] [stdout] ... | [INFO] [stdout] 114 | | false [INFO] [stdout] 115 | | ).fetch_one(&self.pool).await? [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 `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/database.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | / query_as!( [INFO] [stdout] 123 | | TaskRow, [INFO] [stdout] 124 | | r#"INSERT INTO tasks (user_id, title, info, remind_at, on_days, repeat_weekly) [INFO] [stdout] 125 | | VALUES ($1, $2, $3, $4, $5, $6) [INFO] [stdout] ... | [INFO] [stdout] 132 | | task.repeat_weekly [INFO] [stdout] 133 | | ).fetch_one(&self.pool).await? [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 `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/database.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / query!( [INFO] [stdout] 140 | | r"DELETE FROM tasks [INFO] [stdout] 141 | | WHERE id = $1", [INFO] [stdout] 142 | | id [INFO] [stdout] 143 | | ).execute(&self.pool).await [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 `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:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | / query_as!( [INFO] [stdout] 151 | | TaskRow, [INFO] [stdout] 152 | | r"SELECT * FROM tasks [INFO] [stdout] 153 | | where user_id = $1 [INFO] [stdout] 154 | | ", [INFO] [stdout] 155 | | user_id.to_string() [INFO] [stdout] 156 | | ).fetch_all(&self.pool).await? [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 `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/database.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | / query_as!( [INFO] [stdout] 164 | | TaskRow, [INFO] [stdout] 165 | | r"SELECT * FROM tasks [INFO] [stdout] 166 | | ", [INFO] [stdout] 167 | | ).fetch_all(&self.pool).await? [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 `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/database.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | / query_as!( [INFO] [stdout] 43 | | UserSettingsRow, [INFO] [stdout] 44 | | r"SELECT * FROM settings [INFO] [stdout] 45 | | where user_id = $1 [INFO] [stdout] 46 | | ", [INFO] [stdout] 47 | | user_id.to_string() [INFO] [stdout] 48 | | ).fetch_one(&self.pool).await? [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 `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/database.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / query!( [INFO] [stdout] 54 | | r"INSERT INTO settings (user_id, ack_phrase) [INFO] [stdout] 55 | | VALUES ($1, $2) [INFO] [stdout] 56 | | ON CONFLICT (user_id) [INFO] [stdout] ... | [INFO] [stdout] 60 | | user_settings.ack_phrase [INFO] [stdout] 61 | | ).execute(&self.pool).await?; [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 `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:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / query_scalar!( [INFO] [stdout] 67 | | r"SELECT channel_id FROM dms [INFO] [stdout] 68 | | WHERE user_id = $1", [INFO] [stdout] 69 | | user_id.to_string() [INFO] [stdout] 70 | | ).fetch_optional(&self.pool).await [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 `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:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / query!( [INFO] [stdout] 77 | | r"INSERT INTO dms (user_id, channel_id) [INFO] [stdout] 78 | | VALUES ($1, $2) [INFO] [stdout] 79 | | ON CONFLICT (user_id) [INFO] [stdout] ... | [INFO] [stdout] 83 | | channel_id.to_string() [INFO] [stdout] 84 | | ).execute(&self.pool).await [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 `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:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | / query_as!( [INFO] [stdout] 92 | | TaskRow, [INFO] [stdout] 93 | | r"SELECT * FROM tasks [INFO] [stdout] 94 | | where id = $1 [INFO] [stdout] 95 | | ", [INFO] [stdout] 96 | | id [INFO] [stdout] 97 | | ).fetch_one(&self.pool).await? [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 `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/database.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | / query_as!( [INFO] [stdout] 105 | | TaskRow, [INFO] [stdout] 106 | | r#"INSERT INTO tasks (user_id, title, info, remind_at, on_date, repeat_weekly) [INFO] [stdout] 107 | | VALUES ($1, $2, $3, $4, $5, $6) [INFO] [stdout] ... | [INFO] [stdout] 114 | | false [INFO] [stdout] 115 | | ).fetch_one(&self.pool).await? [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 `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/database.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | / query_as!( [INFO] [stdout] 123 | | TaskRow, [INFO] [stdout] 124 | | r#"INSERT INTO tasks (user_id, title, info, remind_at, on_days, repeat_weekly) [INFO] [stdout] 125 | | VALUES ($1, $2, $3, $4, $5, $6) [INFO] [stdout] ... | [INFO] [stdout] 132 | | task.repeat_weekly [INFO] [stdout] 133 | | ).fetch_one(&self.pool).await? [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 `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/database.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / query!( [INFO] [stdout] 140 | | r"DELETE FROM tasks [INFO] [stdout] 141 | | WHERE id = $1", [INFO] [stdout] 142 | | id [INFO] [stdout] 143 | | ).execute(&self.pool).await [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 `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:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | / query_as!( [INFO] [stdout] 151 | | TaskRow, [INFO] [stdout] 152 | | r"SELECT * FROM tasks [INFO] [stdout] 153 | | where user_id = $1 [INFO] [stdout] 154 | | ", [INFO] [stdout] 155 | | user_id.to_string() [INFO] [stdout] 156 | | ).fetch_all(&self.pool).await? [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 `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/database.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | / query_as!( [INFO] [stdout] 164 | | TaskRow, [INFO] [stdout] 165 | | r"SELECT * FROM tasks [INFO] [stdout] 166 | | ", [INFO] [stdout] 167 | | ).fetch_all(&self.pool).await? [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 `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto`, and `f32::consts::PI` [INFO] [stdout] --> src/model.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, convert::{TryFrom, TryInto}, f32::consts::PI}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Local` and `Offset` [INFO] [stdout] --> src/model.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Local, Offset}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `postgres::PgHasArrayType` [INFO] [stdout] --> src/model.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::{postgres::PgHasArrayType, types::time::{Date, OffsetDateTime}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::Week` [INFO] [stdout] --> src/model.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use time::{convert::Week, Time, Weekday}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::time::UtcOffset` [INFO] [stdout] --> src/model.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ::time::UtcOffset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/bot.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `offset` [INFO] [stdout] --> src/bot.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use ::time::macros::{format_description, offset}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskRemindInfo` [INFO] [stdout] --> src/bot.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::{Task, TaskCreateInfo, TaskRemindInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Channel`, `Colour`, `CreateEmbed`, `Mention`, and `MessageBuilder` [INFO] [stdout] --> src/bot.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use serenity::all::{Channel, ChannelId, Colour, CreateEmbed, CreateMessage, Http, Mention, MessageBuilder, ReactionType, Ready, UserId}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json::json` [INFO] [stdout] --> src/bot.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | use serenity::{async_trait, json::json}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `oneshot` and `watch` [INFO] [stdout] --> src/bot.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::sync::{oneshot, watch}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/bot.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration as StdDuration` [INFO] [stdout] --> src/scheduler.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{sync::Arc, time::Duration as StdDuration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpamPingSignal` and `TaskRemindInfo` [INFO] [stdout] --> src/scheduler.rs:5:67 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{bot::DzContext, jobs::{EmbedReminderJob, SpamPingJob, SpamPingSignal}, model::{Task, TaskRemindInfo}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/jobs.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Offset` [INFO] [stdout] --> src/jobs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::Offset; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChannelId` [INFO] [stdout] --> src/jobs.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use serenity::all::{ChannelId, Colour, CreateEmbed, CreateMessage, Http, Mentionable, UserId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Date` and `Weekday` [INFO] [stdout] --> src/jobs.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use ::time::{Date, OffsetDateTime, Weekday}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database::Database` [INFO] [stdout] --> src/jobs.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{bot::DzContext, database::Database, model::{Task, TaskRemindInfo}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Weekday` [INFO] [stdout] --> src/database.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use time::Weekday; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskRow` and `UserSettingsRow` [INFO] [stdout] --> src/database.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::{Task, TaskCreateInfo, TaskRow, UserSettings, UserSettingsRow}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveTime` and `Timelike` [INFO] [stdout] --> src/time_parse.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Local, NaiveTime, Timelike}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto`, and `f32::consts::PI` [INFO] [stdout] --> src/model.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, convert::{TryFrom, TryInto}, f32::consts::PI}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Local` and `Offset` [INFO] [stdout] --> src/model.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Local, Offset}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `postgres::PgHasArrayType` [INFO] [stdout] --> src/model.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::{postgres::PgHasArrayType, types::time::{Date, OffsetDateTime}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::Week` [INFO] [stdout] --> src/model.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use time::{convert::Week, Time, Weekday}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::time::UtcOffset` [INFO] [stdout] --> src/model.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ::time::UtcOffset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/bot.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `offset` [INFO] [stdout] --> src/bot.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use ::time::macros::{format_description, offset}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskRemindInfo` [INFO] [stdout] --> src/bot.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::{Task, TaskCreateInfo, TaskRemindInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Channel`, `Colour`, `CreateEmbed`, `Mention`, and `MessageBuilder` [INFO] [stdout] --> src/bot.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use serenity::all::{Channel, ChannelId, Colour, CreateEmbed, CreateMessage, Http, Mention, MessageBuilder, ReactionType, Ready, UserId}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json::json` [INFO] [stdout] --> src/bot.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | use serenity::{async_trait, json::json}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `oneshot` and `watch` [INFO] [stdout] --> src/bot.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::sync::{oneshot, watch}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/bot.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration as StdDuration` [INFO] [stdout] --> src/scheduler.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{sync::Arc, time::Duration as StdDuration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SpamPingSignal` and `TaskRemindInfo` [INFO] [stdout] --> src/scheduler.rs:5:67 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{bot::DzContext, jobs::{EmbedReminderJob, SpamPingJob, SpamPingSignal}, model::{Task, TaskRemindInfo}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/jobs.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Offset` [INFO] [stdout] --> src/jobs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::Offset; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChannelId` [INFO] [stdout] --> src/jobs.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use serenity::all::{ChannelId, Colour, CreateEmbed, CreateMessage, Http, Mentionable, UserId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Date` and `Weekday` [INFO] [stdout] --> src/jobs.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use ::time::{Date, OffsetDateTime, Weekday}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database::Database` [INFO] [stdout] --> src/jobs.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{bot::DzContext, database::Database, model::{Task, TaskRemindInfo}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Weekday` [INFO] [stdout] --> src/database.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use time::Weekday; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskRow` and `UserSettingsRow` [INFO] [stdout] --> src/database.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::{Task, TaskCreateInfo, TaskRow, UserSettings, UserSettingsRow}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveTime` and `Timelike` [INFO] [stdout] --> src/time_parse.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Local, NaiveTime, Timelike}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/database.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | .map(|o| o.map(|s| ChannelId::from_str(&s).expect("gg"))) [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/database.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | .map(|o| o.map(|s| ChannelId::from_str(&s).expect("gg"))) [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upper` [INFO] [stdout] --> src/time_parse.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let upper = token.to_uppercase(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_upper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upper` [INFO] [stdout] --> src/time_parse.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let upper = token.to_uppercase(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_upper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dz-prime` (bin "dz-prime") due to 11 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dz-prime` (bin "dz-prime" test) due to 11 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7d11b20c1634be333a84bb797955c0e357d4f4a67c3801d5da7ce9502fd86596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d11b20c1634be333a84bb797955c0e357d4f4a67c3801d5da7ce9502fd86596", kill_on_drop: false }` [INFO] [stdout] 7d11b20c1634be333a84bb797955c0e357d4f4a67c3801d5da7ce9502fd86596