[INFO] cloning repository https://github.com/bdashore3/KingRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bdashore3/KingRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbdashore3%2FKingRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbdashore3%2FKingRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 503ad66fcb54d423c45a9f66e1183201ac3fadf2 [INFO] checking bdashore3/KingRust against master#c724b67e1b474262917a5154d74e7072267593fe for pr-74315 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbdashore3%2FKingRust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bdashore3/KingRust on toolchain c724b67e1b474262917a5154d74e7072267593fe [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bdashore3/KingRust [INFO] finished tweaking git repo https://github.com/bdashore3/KingRust [INFO] tweaked toml for git repo https://github.com/bdashore3/KingRust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/bdashore3/KingRust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/launchbadge/sqlx/` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/launchbadge/sqlx/` [INFO] [stderr] Updating git repository `https://github.com/twilight-rs/twilight` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59b0cf8e468affbe1c99d7e5a565183c42a22011842b838797dfe690bde9c80e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "59b0cf8e468affbe1c99d7e5a565183c42a22011842b838797dfe690bde9c80e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59b0cf8e468affbe1c99d7e5a565183c42a22011842b838797dfe690bde9c80e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59b0cf8e468affbe1c99d7e5a565183c42a22011842b838797dfe690bde9c80e", kill_on_drop: false }` [INFO] [stdout] 59b0cf8e468affbe1c99d7e5a565183c42a22011842b838797dfe690bde9c80e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 136d9a29abb065456576b9a7a6900cb4e09e9577428cb3c00ab5df956f20d0f8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "136d9a29abb065456576b9a7a6900cb4e09e9577428cb3c00ab5df956f20d0f8", 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] Compiling libc v0.2.73 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling whoami v0.9.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking tracing-core v0.1.11 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking twilight-command-parser v0.1.0 (https://github.com/twilight-rs/twilight?branch=trunk#ec5caddc) [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking atoi v0.3.2 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Checking sqlformat v0.1.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking dashmap v3.11.7 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking tungstenite v0.11.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.9 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Checking tracing v0.1.17 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-native-tls v0.1.0 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking sqlx-rt v0.1.0-pre (https://github.com/launchbadge/sqlx/?branch=master#dad13561) [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking async-tungstenite v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking serde-mappable-seq v0.1.0 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking sqlx-core v0.4.0-pre (https://github.com/launchbadge/sqlx/?branch=master#dad13561) [INFO] [stderr] Checking twilight-model v0.1.0 (https://github.com/twilight-rs/twilight?branch=trunk#ec5caddc) [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Compiling sqlx-macros v0.4.0-pre (https://github.com/launchbadge/sqlx/?branch=master#dad13561) [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.6 [INFO] [stderr] Checking twilight-cache-trait v0.1.0 (https://github.com/twilight-rs/twilight?branch=trunk#ec5caddc) [INFO] [stderr] Checking twilight-http v0.1.0 (https://github.com/twilight-rs/twilight?branch=trunk#ec5caddc) [INFO] [stderr] Checking twilight-standby v0.1.0 (https://github.com/twilight-rs/twilight?branch=trunk#ec5caddc) [INFO] [stderr] Checking twilight-builders v0.1.0 (https://github.com/twilight-rs/twilight?branch=trunk#ec5caddc) [INFO] [stderr] Checking twilight-cache-inmemory v0.1.0 (https://github.com/twilight-rs/twilight?branch=trunk#ec5caddc) [INFO] [stderr] Checking sqlx v0.4.0-pre (https://github.com/launchbadge/sqlx/?branch=master#dad13561) [INFO] [stderr] Checking twilight-cache v0.1.0 (https://github.com/twilight-rs/twilight?branch=trunk#ec5caddc) [INFO] [stderr] Checking twilight-gateway v0.1.0 (https://github.com/twilight-rs/twilight?branch=trunk#ec5caddc) [INFO] [stderr] Checking twilight v0.1.0 (https://github.com/twilight-rs/twilight?branch=trunk#ec5caddc) [INFO] [stderr] Checking courtjester v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/handlers/command_handler.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let data = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 40 | | "SELECT content FROM commands WHERE guild_id = $1 AND name = $2", [INFO] [stdout] 41 | | msg.guild_id.unwrap().0 as i64, command) [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/commands/textchannel_send.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | let starbot_data = sqlx::query!("SELECT starbot_threshold FROM guild_info WHERE guild_id = $1", guild_id.0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/commands/textchannel_send.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | let data = sqlx::query_as!(TextChannels, "SELECT nice_id, bruh_id, quote_id FROM text_channels WHERE guild_id = $1", guild_id.0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/textchannel_send.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | / sqlx::query!("INSERT INTO text_channels VALUES($1, $2, null, null) [INFO] [stdout] 215 | | ON CONFLICT (guild_id) [INFO] [stdout] 216 | | DO UPDATE SET nice_id = $2", [INFO] [stdout] 217 | | guild_id.0 as i64, channel_id) [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/textchannel_send.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | / sqlx::query!("INSERT INTO text_channels VALUES($1, null, $2, null) [INFO] [stdout] 222 | | ON CONFLICT (guild_id) [INFO] [stdout] 223 | | DO UPDATE SET bruh_id = $2", [INFO] [stdout] 224 | | guild_id.0 as i64, channel_id) [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/textchannel_send.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | / sqlx::query!("INSERT INTO text_channels VALUES($1, null, null, $2) [INFO] [stdout] 229 | | ON CONFLICT (guild_id) [INFO] [stdout] 230 | | DO UPDATE SET quote_id = $2", [INFO] [stdout] 231 | | guild_id.0 as i64, channel_id) [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/config.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query!("UPDATE guild_info SET prefix = null WHERE guild_id = $1", msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/handlers/command_handler.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let data = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 40 | | "SELECT content FROM commands WHERE guild_id = $1 AND name = $2", [INFO] [stdout] 41 | | msg.guild_id.unwrap().0 as i64, command) [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/config.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | sqlx::query!("UPDATE guild_info SET prefix = $1 WHERE guild_id = $2", new_prefix, msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/commands/config.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let guild_data = sqlx::query!("SELECT prefix FROM guild_info WHERE guild_id = $1", guild_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/config.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / sqlx::query!("INSERT INTO commands(guild_id, name, content) [INFO] [stdout] 109 | | VALUES($1, $2, $3) [INFO] [stdout] 110 | | ON CONFLICT (guild_id, name) [INFO] [stdout] 111 | | DO UPDATE [INFO] [stdout] 112 | | SET content = EXCLUDED.content", [INFO] [stdout] 113 | | msg.guild_id.unwrap().0 as i64, command_name, command_message) [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/commands/textchannel_send.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | let starbot_data = sqlx::query!("SELECT starbot_threshold FROM guild_info WHERE guild_id = $1", guild_id.0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/config.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | sqlx::query!("DELETE FROM commands WHERE guild_id = $1 AND name = $2", msg.guild_id.unwrap().0 as i64, command_name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/commands/textchannel_send.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | let data = sqlx::query_as!(TextChannels, "SELECT nice_id, bruh_id, quote_id FROM text_channels WHERE guild_id = $1", guild_id.0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/commands/config.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | let command_data = sqlx::query!("SELECT name, content FROM commands WHERE guild_id = $1", msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/textchannel_send.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | / sqlx::query!("INSERT INTO text_channels VALUES($1, $2, null, null) [INFO] [stdout] 215 | | ON CONFLICT (guild_id) [INFO] [stdout] 216 | | DO UPDATE SET nice_id = $2", [INFO] [stdout] 217 | | guild_id.0 as i64, channel_id) [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/starbot.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ... sqlx::query!("UPDATE guild_info SET starbot_threshold = $1 WHERE guild_id = $2", new_threshold.unwrap(), msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/textchannel_send.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | / sqlx::query!("INSERT INTO text_channels VALUES($1, null, $2, null) [INFO] [stdout] 222 | | ON CONFLICT (guild_id) [INFO] [stdout] 223 | | DO UPDATE SET bruh_id = $2", [INFO] [stdout] 224 | | guild_id.0 as i64, channel_id) [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/starbot.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | / sqlx::query!("INSERT INTO text_channels VALUES($1, null, null, $2) [INFO] [stdout] 37 | | ON CONFLICT (guild_id) [INFO] [stdout] 38 | | DO UPDATE SET quote_id = $2", [INFO] [stdout] 39 | | msg.guild_id.unwrap().0 as i64, new_channel.unwrap() as i64) [INFO] [stdout] | |____________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/starbot.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | sqlx::query!("UPDATE guild_info SET starbot_threshold = null WHERE guild_id = $1", msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/textchannel_send.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | / sqlx::query!("INSERT INTO text_channels VALUES($1, null, null, $2) [INFO] [stdout] 229 | | ON CONFLICT (guild_id) [INFO] [stdout] 230 | | DO UPDATE SET quote_id = $2", [INFO] [stdout] 231 | | guild_id.0 as i64, channel_id) [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/starbot.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | sqlx::query!("UPDATE text_channels SET quote_id = null WHERE guild_id = $1", msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/config.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | sqlx::query!("UPDATE guild_info SET prefix = null WHERE guild_id = $1", msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/starbot.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | ... sqlx::query!("UPDATE guild_info SET starbot_threshold = $1 WHERE guild_id = $2", threshold as i32, msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/config.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | sqlx::query!("UPDATE guild_info SET prefix = $1 WHERE guild_id = $2", new_prefix, msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/commands/starbot.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | let channel_check = sqlx::query!("SELECT quote_id FROM text_channels WHERE guild_id = $1", msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/commands/config.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let guild_data = sqlx::query!("SELECT prefix FROM guild_info WHERE guild_id = $1", guild_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/starbot.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 172 | / sqlx::query!("INSERT INTO text_channels VALUES($1, null, null, $2) [INFO] [stdout] 173 | | ON CONFLICT (guild_id) [INFO] [stdout] 174 | | DO UPDATE SET quote_id = $2", [INFO] [stdout] 175 | | msg.guild_id.unwrap().0 as i64, channel_id as i64) [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/config.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / sqlx::query!("INSERT INTO commands(guild_id, name, content) [INFO] [stdout] 109 | | VALUES($1, $2, $3) [INFO] [stdout] 110 | | ON CONFLICT (guild_id, name) [INFO] [stdout] 111 | | DO UPDATE [INFO] [stdout] 112 | | SET content = EXCLUDED.content", [INFO] [stdout] 113 | | msg.guild_id.unwrap().0 as i64, command_name, command_message) [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/reactions/starbot.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | let config_data = sqlx::query_as!(StarbotConfig, "SELECT guild_info.starbot_threshold, text_channels.quote_id [INFO] [stdout] | _______________________^ [INFO] [stdout] 28 | | FROM guild_info [INFO] [stdout] 29 | | INNER JOIN text_channels ON guild_info.guild_id=text_channels.guild_id") [INFO] [stdout] | |____________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/config.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | sqlx::query!("DELETE FROM commands WHERE guild_id = $1 AND name = $2", msg.guild_id.unwrap().0 as i64, command_name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/reactions/starbot.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / sqlx::query!("INSERT INTO starbot VALUES($1, $2, $3) ON CONFLICT DO NOTHING", [INFO] [stdout] 60 | | reaction.guild_id.unwrap().0 as i64, reaction_message.id.0 as i64, sent_message.id.0 as i64) [INFO] [stdout] | |____________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/commands/config.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | let command_data = sqlx::query!("SELECT name, content FROM commands WHERE guild_id = $1", msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/reactions/starbot.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | let message_data = sqlx::query!("SELECT sent_message_id FROM starbot WHERE guild_id = $1 AND reaction_message_id = $2", [INFO] [stdout] | ____________________________^ [INFO] [stdout] 65 | | reaction.guild_id.unwrap().0 as i64, reaction.message_id.0 as i64) [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/starbot.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ... sqlx::query!("UPDATE guild_info SET starbot_threshold = $1 WHERE guild_id = $2", new_threshold.unwrap(), msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/reactions/starbot.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / sqlx::query!("DELETE FROM starbot WHERE guild_id = $1 and reaction_message_id = $2", [INFO] [stdout] 74 | | reaction.guild_id.unwrap().0 as i64, reaction.message_id.0 as i64) [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/starbot.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | / sqlx::query!("INSERT INTO text_channels VALUES($1, null, null, $2) [INFO] [stdout] 37 | | ON CONFLICT (guild_id) [INFO] [stdout] 38 | | DO UPDATE SET quote_id = $2", [INFO] [stdout] 39 | | msg.guild_id.unwrap().0 as i64, new_channel.unwrap() as i64) [INFO] [stdout] | |____________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/reactions/starbot.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | let message_data = sqlx::query!("SELECT sent_message_id FROM starbot WHERE guild_id = $1 AND reaction_message_id = $2", [INFO] [stdout] | ____________________________^ [INFO] [stdout] 80 | | reaction.guild_id.unwrap().0 as i64, reaction.message_id.0 as i64) [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/starbot.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | sqlx::query!("UPDATE guild_info SET starbot_threshold = null WHERE guild_id = $1", msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/starbot.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | sqlx::query!("UPDATE text_channels SET quote_id = null WHERE guild_id = $1", msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/starbot.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | ... sqlx::query!("UPDATE guild_info SET starbot_threshold = $1 WHERE guild_id = $2", threshold as i32, msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/main.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | sqlx::query!("INSERT INTO guild_info VALUES($1, null) ON CONFLICT DO NOTHING", guild.id.0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/commands/starbot.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | let channel_check = sqlx::query!("SELECT quote_id FROM text_channels WHERE guild_id = $1", msg.guild_id.unwrap().0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/commands/starbot.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 172 | / sqlx::query!("INSERT INTO text_channels VALUES($1, null, null, $2) [INFO] [stdout] 173 | | ON CONFLICT (guild_id) [INFO] [stdout] 174 | | DO UPDATE SET quote_id = $2", [INFO] [stdout] 175 | | msg.guild_id.unwrap().0 as i64, channel_id as i64) [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | sqlx::query!("DELETE FROM guild_info WHERE guild_id = $1", guild.id.0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/reactions/starbot.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | let config_data = sqlx::query_as!(StarbotConfig, "SELECT guild_info.starbot_threshold, text_channels.quote_id [INFO] [stdout] | _______________________^ [INFO] [stdout] 28 | | FROM guild_info [INFO] [stdout] 29 | | INNER JOIN text_channels ON guild_info.guild_id=text_channels.guild_id") [INFO] [stdout] | |____________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/reactions/starbot.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / sqlx::query!("INSERT INTO starbot VALUES($1, $2, $3) ON CONFLICT DO NOTHING", [INFO] [stdout] 60 | | reaction.guild_id.unwrap().0 as i64, reaction_message.id.0 as i64, sent_message.id.0 as i64) [INFO] [stdout] | |____________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/reactions/starbot.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | let message_data = sqlx::query!("SELECT sent_message_id FROM starbot WHERE guild_id = $1 AND reaction_message_id = $2", [INFO] [stdout] | ____________________________^ [INFO] [stdout] 65 | | reaction.guild_id.unwrap().0 as i64, reaction.message_id.0 as i64) [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/reactions/starbot.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / sqlx::query!("DELETE FROM starbot WHERE guild_id = $1 and reaction_message_id = $2", [INFO] [stdout] 74 | | reaction.guild_id.unwrap().0 as i64, reaction.message_id.0 as i64) [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `ordinal` [INFO] [stdout] --> src/reactions/starbot.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | let message_data = sqlx::query!("SELECT sent_message_id FROM starbot WHERE guild_id = $1 AND reaction_message_id = $2", [INFO] [stdout] | ____________________________^ [INFO] [stdout] 80 | | reaction.guild_id.unwrap().0 as i64, reaction.message_id.0 as i64) [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/main.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | sqlx::query!("INSERT INTO guild_info VALUES($1, null) ON CONFLICT DO NOTHING", guild.id.0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing field `nullable` [INFO] [stdout] --> src/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | sqlx::query!("DELETE FROM guild_info WHERE guild_id = $1", guild.id.0 as i64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder` found for struct `sqlx::Pool` in the current scope [INFO] [stdout] --> src/helpers/database_helper.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | let pool = PgPool::builder() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `sqlx::Pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/helpers/database_helper.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | .max_size(10) [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/helpers/database_helper.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let pool = PgPool::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 9 | | .max_size(10) [INFO] [stdout] 10 | | .build(&connection_string).await?; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder` found for struct `sqlx::Pool` in the current scope [INFO] [stdout] --> src/helpers/database_helper.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | let pool = PgPool::builder() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `sqlx::Pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/helpers/database_helper.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | .max_size(10) [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/helpers/database_helper.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let pool = PgPool::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 9 | | .max_size(10) [INFO] [stdout] 10 | | .build(&connection_string).await?; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `courtjester`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "136d9a29abb065456576b9a7a6900cb4e09e9577428cb3c00ab5df956f20d0f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "136d9a29abb065456576b9a7a6900cb4e09e9577428cb3c00ab5df956f20d0f8", kill_on_drop: false }` [INFO] [stdout] 136d9a29abb065456576b9a7a6900cb4e09e9577428cb3c00ab5df956f20d0f8