[INFO] cloning repository https://github.com/gavincdunne/rust-auth-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gavincdunne/rust-auth-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgavincdunne%2Frust-auth-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgavincdunne%2Frust-auth-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b23d56b4e974e65df043a75859677542a4e217b6 [INFO] checking gavincdunne/rust-auth-server/b23d56b4e974e65df043a75859677542a4e217b6 against master#c871d09d1cc32a649f4c5177bb819646260ed120 for pr-149291-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgavincdunne%2Frust-auth-server" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gavincdunne/rust-auth-server [INFO] finished tweaking git repo https://github.com/gavincdunne/rust-auth-server [INFO] tweaked toml for git repo https://github.com/gavincdunne/rust-auth-server written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gavincdunne/rust-auth-server on toolchain c871d09d1cc32a649f4c5177bb819646260ed120 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c871d09d1cc32a649f4c5177bb819646260ed120" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gavincdunne/rust-auth-server 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" "+c871d09d1cc32a649f4c5177bb819646260ed120" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c871d09d1cc32a649f4c5177bb819646260ed120" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b5e2f3bfac9b63144d239c306c8ce3b35f184b6492f0b9e2c34c108d8e6f8d1 [INFO] running `Command { std: "docker" "start" "-a" "4b5e2f3bfac9b63144d239c306c8ce3b35f184b6492f0b9e2c34c108d8e6f8d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b5e2f3bfac9b63144d239c306c8ce3b35f184b6492f0b9e2c34c108d8e6f8d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b5e2f3bfac9b63144d239c306c8ce3b35f184b6492f0b9e2c34c108d8e6f8d1", kill_on_drop: false }` [INFO] [stdout] 4b5e2f3bfac9b63144d239c306c8ce3b35f184b6492f0b9e2c34c108d8e6f8d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c871d09d1cc32a649f4c5177bb819646260ed120" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3eb2c813cbfcd48331afa6cbab45b00860026a1920167c0c41495c1ebca5ba0 [INFO] running `Command { std: "docker" "start" "-a" "c3eb2c813cbfcd48331afa6cbab45b00860026a1920167c0c41495c1ebca5ba0", kill_on_drop: false }` [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking base64ct v1.7.3 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.12 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking auth-server 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/routes/auth.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 25 | | "INSERT INTO users (id, email, password_hash, created_at) VALUES (?, ?, ?, ?)", [INFO] [stdout] 26 | | user_id, [INFO] [stdout] 27 | | payload.email, [INFO] [stdout] 28 | | password_hash, [INFO] [stdout] 29 | | created_at [INFO] [stdout] 30 | | ) [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/routes/auth.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 51 | | "SELECT id, password_hash FROM users WHERE email = ?", [INFO] [stdout] 52 | | payload.email, [INFO] [stdout] 53 | | ) [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/routes/auth.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 25 | | "INSERT INTO users (id, email, password_hash, created_at) VALUES (?, ?, ?, ?)", [INFO] [stdout] 26 | | user_id, [INFO] [stdout] 27 | | payload.email, [INFO] [stdout] 28 | | password_hash, [INFO] [stdout] 29 | | created_at [INFO] [stdout] 30 | | ) [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/routes/auth.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 51 | | "SELECT id, password_hash FROM users WHERE email = ?", [INFO] [stdout] 52 | | payload.email, [INFO] [stdout] 53 | | ) [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[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/routes/auth.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | if e.to_string().contains("UNIQUE constraint failed") { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 24 | let result: Result = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/auth.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 51 | | "SELECT id, password_hash FROM users WHERE email = ?", [INFO] [stdout] 52 | | payload.email, [INFO] [stdout] ... | [INFO] [stdout] 55 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/routes/auth.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | if e.to_string().contains("UNIQUE constraint failed") { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 24 | let result: Result = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/auth.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 51 | | "SELECT id, password_hash FROM users WHERE email = ?", [INFO] [stdout] 52 | | payload.email, [INFO] [stdout] ... | [INFO] [stdout] 55 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `auth-server` (bin "auth-server" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `auth-server` (bin "auth-server") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "c3eb2c813cbfcd48331afa6cbab45b00860026a1920167c0c41495c1ebca5ba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3eb2c813cbfcd48331afa6cbab45b00860026a1920167c0c41495c1ebca5ba0", kill_on_drop: false }` [INFO] [stdout] c3eb2c813cbfcd48331afa6cbab45b00860026a1920167c0c41495c1ebca5ba0