[INFO] fetching crate yrs-postgres 0.2.0... [INFO] building yrs-postgres-0.2.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate yrs-postgres 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate yrs-postgres 0.2.0 [INFO] finished tweaking crates.io crate yrs-postgres 0.2.0 [INFO] tweaked toml for crates.io crate yrs-postgres 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yrs-postgres 0.2.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate yrs-postgres 0.2.0 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c46dd43f097be417d1e21034ee9986034867b4592e094af106c4ecbca90fb90 [INFO] running `Command { std: "docker" "start" "-a" "9c46dd43f097be417d1e21034ee9986034867b4592e094af106c4ecbca90fb90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c46dd43f097be417d1e21034ee9986034867b4592e094af106c4ecbca90fb90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c46dd43f097be417d1e21034ee9986034867b4592e094af106c4ecbca90fb90", kill_on_drop: false }` [INFO] [stdout] 9c46dd43f097be417d1e21034ee9986034867b4592e094af106c4ecbca90fb90 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a77ddb7effee1b90d3ebf3a49cf96ce21ff508028133fa6963d9ad5c93169b81 [INFO] running `Command { std: "docker" "start" "-a" "a77ddb7effee1b90d3ebf3a49cf96ce21ff508028133fa6963d9ad5c93169b81", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallstr v0.3.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling yrs v0.23.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling yrs-store v0.2.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling sqlx-postgres v0.8.5 [INFO] [stderr] Compiling sqlx v0.8.5 [INFO] [stderr] Compiling yrs-postgres v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.01s [INFO] running `Command { std: "docker" "inspect" "a77ddb7effee1b90d3ebf3a49cf96ce21ff508028133fa6963d9ad5c93169b81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a77ddb7effee1b90d3ebf3a49cf96ce21ff508028133fa6963d9ad5c93169b81", kill_on_drop: false }` [INFO] [stdout] a77ddb7effee1b90d3ebf3a49cf96ce21ff508028133fa6963d9ad5c93169b81 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6342f72e4e4024b7f7d52f85b6a0c36b6704811faf957d108e4d0c71ce2b7e4e [INFO] running `Command { std: "docker" "start" "-a" "6342f72e4e4024b7f7d52f85b6a0c36b6704811faf957d108e4d0c71ce2b7e4e", kill_on_drop: false }` [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling sqlx-postgres v0.8.5 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Compiling sqlx v0.8.5 [INFO] [stderr] Compiling yrs-postgres v0.2.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/lib.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let count = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 177 | | "SELECT COUNT(*) as count FROM document_updates WHERE document_id = $1", [INFO] [stdout] 178 | | document_id [INFO] [stdout] 179 | | ) [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/lib.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | / sqlx::query!( [INFO] [stdout] 191 | | "DELETE FROM document_updates WHERE document_id = $1", [INFO] [stdout] 192 | | document_id [INFO] [stdout] 193 | | ) [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 [INFO] [stdout] --> src/lib.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | .map(|_| ()) [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yrs-postgres` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6342f72e4e4024b7f7d52f85b6a0c36b6704811faf957d108e4d0c71ce2b7e4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6342f72e4e4024b7f7d52f85b6a0c36b6704811faf957d108e4d0c71ce2b7e4e", kill_on_drop: false }` [INFO] [stdout] 6342f72e4e4024b7f7d52f85b6a0c36b6704811faf957d108e4d0c71ce2b7e4e