[INFO] cloning repository https://github.com/KawaiiRem/notes-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KawaiiRem/notes-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKawaiiRem%2Fnotes-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKawaiiRem%2Fnotes-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5047c09643dece787927643895dc9790afa93eee [INFO] checking KawaiiRem/notes-api against try#f3d95de532264a1215023baa665c0028aecf74b1 for pr-148477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKawaiiRem%2Fnotes-api" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KawaiiRem/notes-api [INFO] finished tweaking git repo https://github.com/KawaiiRem/notes-api [INFO] tweaked toml for git repo https://github.com/KawaiiRem/notes-api written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KawaiiRem/notes-api on toolchain f3d95de532264a1215023baa665c0028aecf74b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KawaiiRem/notes-api 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" "+f3d95de532264a1215023baa665c0028aecf74b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71aa3e3d995f2736471f896babe8514b6c3d535ff41d0190a9a12a535d5c07fe [INFO] running `Command { std: "docker" "start" "-a" "71aa3e3d995f2736471f896babe8514b6c3d535ff41d0190a9a12a535d5c07fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71aa3e3d995f2736471f896babe8514b6c3d535ff41d0190a9a12a535d5c07fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71aa3e3d995f2736471f896babe8514b6c3d535ff41d0190a9a12a535d5c07fe", kill_on_drop: false }` [INFO] [stdout] 71aa3e3d995f2736471f896babe8514b6c3d535ff41d0190a9a12a535d5c07fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a40802df8da8b4bed85d1c86488f4fbcaf9231911dd5e7e02562f27e12755e43 [INFO] running `Command { std: "docker" "start" "-a" "a40802df8da8b4bed85d1c86488f4fbcaf9231911dd5e7e02562f27e12755e43", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking async-compression v0.4.27 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking tower-http v0.6.6 [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 notes-api 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/auth/auth_handler.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let user: User = query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 17 | | User, [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | INSERT INTO users (email, password_hash) [INFO] [stdout] ... | [INFO] [stdout] 24 | | hash [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/auth/auth_handler.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | let user: User = query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 38 | | User, [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | SELECT id, email, password_hash, created_at [INFO] [stdout] ... | [INFO] [stdout] 44 | | payload.email [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/services/note_service.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | let result = query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 101 | | "DELETE FROM notes WHERE id = $1", [INFO] [stdout] 102 | | note_id [INFO] [stdout] 103 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/auth/auth_handler.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let user: User = query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 17 | | User, [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | INSERT INTO users (email, password_hash) [INFO] [stdout] ... | [INFO] [stdout] 24 | | hash [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/auth/auth_handler.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | let user: User = query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 38 | | User, [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | SELECT id, email, password_hash, created_at [INFO] [stdout] ... | [INFO] [stdout] 44 | | payload.email [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/services/note_service.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | let result = query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 101 | | "DELETE FROM notes WHERE id = $1", [INFO] [stdout] 102 | | note_id [INFO] [stdout] 103 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/auth/auth_handler.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let user: User = query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 17 | | User, [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | INSERT INTO users (email, password_hash) [INFO] [stdout] ... | [INFO] [stdout] 26 | | .fetch_one(&state.db) [INFO] [stdout] 27 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/auth/auth_handler.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | let user: User = query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 38 | | User, [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | SELECT id, email, password_hash, created_at [INFO] [stdout] ... | [INFO] [stdout] 46 | | .fetch_one(&state.db) [INFO] [stdout] 47 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/services/note_service.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let result = query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | Ok(result.rows_affected()) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 100 | let result: /* Type */ = query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/auth/auth_handler.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let user: User = query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 17 | | User, [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | INSERT INTO users (email, password_hash) [INFO] [stdout] ... | [INFO] [stdout] 26 | | .fetch_one(&state.db) [INFO] [stdout] 27 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/auth/auth_handler.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | let user: User = query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 38 | | User, [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | SELECT id, email, password_hash, created_at [INFO] [stdout] ... | [INFO] [stdout] 46 | | .fetch_one(&state.db) [INFO] [stdout] 47 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/services/note_service.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let result = query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | Ok(result.rows_affected()) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 100 | let result: /* Type */ = query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `notes-api` (bin "notes-api" test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `notes-api` (bin "notes-api") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "a40802df8da8b4bed85d1c86488f4fbcaf9231911dd5e7e02562f27e12755e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40802df8da8b4bed85d1c86488f4fbcaf9231911dd5e7e02562f27e12755e43", kill_on_drop: false }` [INFO] [stdout] a40802df8da8b4bed85d1c86488f4fbcaf9231911dd5e7e02562f27e12755e43