[INFO] fetching crate sqlx-cache 0.1.1... [INFO] checking sqlx-cache-0.1.1 against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041 [INFO] extracting crate sqlx-cache 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate sqlx-cache 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sqlx-cache 0.1.1 [INFO] tweaked toml for crates.io crate sqlx-cache 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sqlx-cache 0.1.1 on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "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" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 344 packages to latest compatible versions [INFO] [stderr] Adding ctor v0.2.9 (available: v0.6.3) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding mockall v0.13.1 (available: v0.14.0) [INFO] [stderr] Adding rstest v0.22.0 (available: v0.26.1) [INFO] [stderr] Adding testcontainers v0.21.1 (available: v0.27.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cf19276a29fe329a17ff169e570551003fb1c0e77a4a483a5cc737264cfd69f [INFO] running `Command { std: "docker" "start" "-a" "0cf19276a29fe329a17ff169e570551003fb1c0e77a4a483a5cc737264cfd69f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cf19276a29fe329a17ff169e570551003fb1c0e77a4a483a5cc737264cfd69f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cf19276a29fe329a17ff169e570551003fb1c0e77a4a483a5cc737264cfd69f", kill_on_drop: false }` [INFO] [stdout] 0cf19276a29fe329a17ff169e570551003fb1c0e77a4a483a5cc737264cfd69f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f516e3eb19ce289efc38e58db7fbfbabe52b26ac273810888077ce0ae9254129 [INFO] running `Command { std: "docker" "start" "-a" "f516e3eb19ce289efc38e58db7fbfbabe52b26ac273810888077ce0ae9254129", kill_on_drop: false }` [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking ring v0.17.14 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rstest_macros v0.22.0 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking predicates-core v1.0.10 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking docker_credential v1.3.2 [INFO] [stderr] Checking predicates-tree v1.0.13 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking predicates v3.1.4 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking fragile v2.0.1 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.17.0 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling parse-display-derive v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking serde_with v3.17.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling rstest_reuse v0.7.0 [INFO] [stderr] Checking hyperlocal v0.9.1 [INFO] [stderr] Checking parse-display v0.9.1 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking mockall v0.13.1 [INFO] [stderr] Checking bollard-stubs v1.45.0-rc.26.0.1 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking rstest v0.22.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking bollard v0.17.1 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking sqlx-cache v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/db_cache.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/db_commands.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tasks_pushed` is never read [INFO] [stdout] --> src/cache_manager.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | let mut tasks_pushed = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/db_commands.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn get(db_pool: &Pool, key: &Self::Key) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 14 - async fn get(db_pool: &Pool, key: &Self::Key) -> Option; [INFO] [stdout] 14 + fn get(db_pool: &Pool, key: &Self::Key) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/db_commands.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn put(db_pool: &Pool, key: Self::Key, value: Self::Value) -> Result<(), GenericError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 15 - async fn put(db_pool: &Pool, key: Self::Key, value: Self::Value) -> Result<(), GenericError>; [INFO] [stdout] 15 + fn put(db_pool: &Pool, key: Self::Key, value: Self::Value) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking testcontainers v0.21.1 [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/db_cache.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/db_commands.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> tests/integration/containers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> tests/integration/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tasks_pushed` is never read [INFO] [stdout] --> src/cache_manager.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | let mut tasks_pushed = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/db_commands.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn get(db_pool: &Pool, key: &Self::Key) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 14 - async fn get(db_pool: &Pool, key: &Self::Key) -> Option; [INFO] [stdout] 14 + fn get(db_pool: &Pool, key: &Self::Key) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/db_commands.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn put(db_pool: &Pool, key: Self::Key, value: Self::Value) -> Result<(), GenericError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 15 - async fn put(db_pool: &Pool, key: Self::Key, value: Self::Value) -> Result<(), GenericError>; [INFO] [stdout] 15 + fn put(db_pool: &Pool, key: Self::Key, value: Self::Value) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> tests/integration/tests.rs:134:80 [INFO] [stdout] | [INFO] [stdout] 134 | async fn should_process_events_in_priority_order(#[case] game_id: i64, #[case] title: &str, #[case] exp_time: u64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/integration/containers.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | (POSTGRES_CONTAINER_HOST.to_string(), POSTGRES_CONTAINER_PORT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.21s [INFO] running `Command { std: "docker" "inspect" "f516e3eb19ce289efc38e58db7fbfbabe52b26ac273810888077ce0ae9254129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f516e3eb19ce289efc38e58db7fbfbabe52b26ac273810888077ce0ae9254129", kill_on_drop: false }` [INFO] [stdout] f516e3eb19ce289efc38e58db7fbfbabe52b26ac273810888077ce0ae9254129