[INFO] fetching crate soth 0.1.0... [INFO] checking soth-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate soth 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate soth 0.1.0 [INFO] finished tweaking crates.io crate soth 0.1.0 [INFO] tweaked toml for crates.io crate soth 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate soth 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 313 packages to latest compatible versions [INFO] [stderr] Adding axum v0.6.20 (available: v0.8.4) [INFO] [stderr] Adding bb8-redis v0.17.0 (available: v0.24.0) [INFO] [stderr] Adding config v0.13.4 (available: v0.15.15) [INFO] [stderr] Adding jsonwebtoken v8.3.0 (available: v9.3.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_chacha v0.3.1 (available: v0.9.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding sqlx v0.7.4 (available: v0.8.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bb8-redis v0.17.0 [INFO] [stderr] Downloaded bb8 v0.8.6 [INFO] [stderr] Downloaded redis v0.27.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9808216ae6282facf8ef917517e5ee32b92b83abbedcd7ce18ba6999c5c977fb [INFO] running `Command { std: "docker" "start" "-a" "9808216ae6282facf8ef917517e5ee32b92b83abbedcd7ce18ba6999c5c977fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9808216ae6282facf8ef917517e5ee32b92b83abbedcd7ce18ba6999c5c977fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9808216ae6282facf8ef917517e5ee32b92b83abbedcd7ce18ba6999c5c977fb", kill_on_drop: false }` [INFO] [stdout] 9808216ae6282facf8ef917517e5ee32b92b83abbedcd7ce18ba6999c5c977fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db2b30f81351ace3c14eb5616e5ee6930378a806ba7a6a4d221b73a9966ece58 [INFO] running `Command { std: "docker" "start" "-a" "db2b30f81351ace3c14eb5616e5ee6930378a806ba7a6a4d221b73a9966ece58", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking openssl v0.10.73 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking native-tls v0.2.14 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking ucd-trie v0.1.7 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking bb8 v0.8.6 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking redis v0.27.6 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking bb8-redis v0.17.0 [INFO] [stderr] Checking soth 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/local_auth.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | let (user_id, password_hash) = sqlx::query!( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 22 | | r#" [INFO] [stdout] 23 | | SELECT user_id, password_hash [INFO] [stdout] 24 | | FROM auth.credentials [INFO] [stdout] ... | [INFO] [stdout] 28 | | self.email [INFO] [stdout] 29 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/local_auth.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / sqlx::query!( [INFO] [stdout] 63 | | "INSERT INTO auth.unverified_emails (email, password_hash, verification_code) VALUES ($1, $2, $3)", [INFO] [stdout] 64 | | self.email, [INFO] [stdout] 65 | | password_hash, [INFO] [stdout] 66 | | verification_code [INFO] [stdout] 67 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/local_auth.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let record_exists = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 85 | | "SELECT EXISTS(SELECT 1 FROM auth.unverified_emails WHERE email = $1 AND verification_code = $2) as exists", [INFO] [stdout] 86 | | email, [INFO] [stdout] 87 | | verification_code [INFO] [stdout] 88 | | ).fetch_one(&mut *tx).await?.exists; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/local_auth.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | let password_hash = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 101 | | "DELETE FROM auth.unverified_emails WHERE email = $1 AND verification_code = $2 RETURNING password_hash", [INFO] [stdout] 102 | | email, [INFO] [stdout] 103 | | verification_code [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/local_auth.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | let user_id = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 111 | | "INSERT INTO auth.users (email) VALUES ($1) returning id", [INFO] [stdout] 112 | | email [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/local_auth.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | / sqlx::query!( [INFO] [stdout] 119 | | "INSERT INTO auth.credentials (user_id, password_hash) VALUES ($1, $2)", [INFO] [stdout] 120 | | user_id, [INFO] [stdout] 121 | | password_hash [INFO] [stdout] 122 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/google_auth.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let user_id = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 16 | | r#" [INFO] [stdout] 17 | | INSERT INTO auth.users (email) VALUES ($1) RETURNING id [INFO] [stdout] 18 | | "#, [INFO] [stdout] 19 | | self.email, [INFO] [stdout] 20 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/google_auth.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | let query_result = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | SELECT id from auth.users WHERE email = $1 [INFO] [stdout] 32 | | "#, [INFO] [stdout] 33 | | self.email, [INFO] [stdout] 34 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/local_auth.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | let (user_id, password_hash) = sqlx::query!( [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 local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/local_auth.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | .await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(_, str)`, the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because it appears within the type `(_, str)` [INFO] [stdout] note: required by a bound in `std::ops::ControlFlow::Break` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/ops/control_flow.rs:95:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/local_auth.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | let (user_id, password_hash) = sqlx::query!( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 22 | | r#" [INFO] [stdout] 23 | | SELECT user_id, password_hash [INFO] [stdout] 24 | | FROM auth.credentials [INFO] [stdout] ... | [INFO] [stdout] 31 | | .fetch_one(pg_pool) [INFO] [stdout] 32 | | .await?; [INFO] [stdout] | |_______________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(_, str)`, the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because it appears within the type `(_, str)` [INFO] [stdout] note: required by an implicit `Sized` bound in `std::ops::ControlFlow` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/ops/control_flow.rs:87:1 [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/local_auth.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | let (user_id, password_hash) = sqlx::query!( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 22 | | r#" [INFO] [stdout] 23 | | SELECT user_id, password_hash [INFO] [stdout] 24 | | FROM auth.credentials [INFO] [stdout] ... | [INFO] [stdout] 28 | | self.email [INFO] [stdout] 29 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/local_auth.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / sqlx::query!( [INFO] [stdout] 63 | | "INSERT INTO auth.unverified_emails (email, password_hash, verification_code) VALUES ($1, $2, $3)", [INFO] [stdout] 64 | | self.email, [INFO] [stdout] 65 | | password_hash, [INFO] [stdout] 66 | | verification_code [INFO] [stdout] 67 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/local_auth.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let record_exists = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 85 | | "SELECT EXISTS(SELECT 1 FROM auth.unverified_emails WHERE email = $1 AND verification_code = $2) as exists", [INFO] [stdout] 86 | | email, [INFO] [stdout] 87 | | verification_code [INFO] [stdout] 88 | | ).fetch_one(&mut *tx).await?.exists; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/local_auth.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | let password_hash = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 101 | | "DELETE FROM auth.unverified_emails WHERE email = $1 AND verification_code = $2 RETURNING password_hash", [INFO] [stdout] 102 | | email, [INFO] [stdout] 103 | | verification_code [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/local_auth.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | let user_id = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 111 | | "INSERT INTO auth.users (email) VALUES ($1) returning id", [INFO] [stdout] 112 | | email [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/local_auth.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | / sqlx::query!( [INFO] [stdout] 119 | | "INSERT INTO auth.credentials (user_id, password_hash) VALUES ($1, $2)", [INFO] [stdout] 120 | | user_id, [INFO] [stdout] 121 | | password_hash [INFO] [stdout] 122 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/google_auth.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let user_id = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 16 | | r#" [INFO] [stdout] 17 | | INSERT INTO auth.users (email) VALUES ($1) RETURNING id [INFO] [stdout] 18 | | "#, [INFO] [stdout] 19 | | self.email, [INFO] [stdout] 20 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/google_auth.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | let query_result = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | SELECT id from auth.users WHERE email = $1 [INFO] [stdout] 32 | | "#, [INFO] [stdout] 33 | | self.email, [INFO] [stdout] 34 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/local_auth.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | let (user_id, password_hash) = sqlx::query!( [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 local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/local_auth.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | .await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(_, str)`, the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because it appears within the type `(_, str)` [INFO] [stdout] note: required by a bound in `std::ops::ControlFlow::Break` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/ops/control_flow.rs:95:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/local_auth.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | let (user_id, password_hash) = sqlx::query!( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 22 | | r#" [INFO] [stdout] 23 | | SELECT user_id, password_hash [INFO] [stdout] 24 | | FROM auth.credentials [INFO] [stdout] ... | [INFO] [stdout] 31 | | .fetch_one(pg_pool) [INFO] [stdout] 32 | | .await?; [INFO] [stdout] | |_______________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(_, str)`, the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because it appears within the type `(_, str)` [INFO] [stdout] note: required by an implicit `Sized` bound in `std::ops::ControlFlow` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/ops/control_flow.rs:87:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `soth` (lib) due to 11 previous errors [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 `soth` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "db2b30f81351ace3c14eb5616e5ee6930378a806ba7a6a4d221b73a9966ece58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db2b30f81351ace3c14eb5616e5ee6930378a806ba7a6a4d221b73a9966ece58", kill_on_drop: false }` [INFO] [stdout] db2b30f81351ace3c14eb5616e5ee6930378a806ba7a6a4d221b73a9966ece58