[INFO] fetching crate anystore 0.2.1... [INFO] checking anystore-0.2.1 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate anystore 0.2.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate anystore 0.2.1 [INFO] finished tweaking crates.io crate anystore 0.2.1 [INFO] tweaked toml for crates.io crate anystore 0.2.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate anystore 0.2.1 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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 190 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding impl-tools v0.6.2 (available: v0.11.4) [INFO] [stderr] Adding redis v0.22.3 (available: v0.32.7) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded impl-tools v0.6.2 [INFO] [stderr] Downloaded impl-tools-lib v0.7.1 [INFO] [stderr] Downloaded redis v0.22.3 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2a5fc98e84357507a8e1c86af8cb607b7d09ef1866ea9d90119f7e371930658 [INFO] running `Command { std: "docker" "start" "-a" "e2a5fc98e84357507a8e1c86af8cb607b7d09ef1866ea9d90119f7e371930658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2a5fc98e84357507a8e1c86af8cb607b7d09ef1866ea9d90119f7e371930658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2a5fc98e84357507a8e1c86af8cb607b7d09ef1866ea9d90119f7e371930658", kill_on_drop: false }` [INFO] [stdout] e2a5fc98e84357507a8e1c86af8cb607b7d09ef1866ea9d90119f7e371930658 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56cd2379782002ecb4a2dd1da48ead3a6c5894dd15f57fa1c3aa6fc69f8f2d02 [INFO] running `Command { std: "docker" "start" "-a" "56cd2379782002ecb4a2dd1da48ead3a6c5894dd15f57fa1c3aa6fc69f8f2d02", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking object v0.37.3 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling anystore v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stdout] warning: unexpected `cfg` condition name: `CHANNEL_NIGHTLY` [INFO] [stdout] --> src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | #![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(CHANNEL_NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CHANNEL_NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_fn_in_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `CHANNEL_NIGHTLY` [INFO] [stdout] --> src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | #![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(CHANNEL_NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CHANNEL_NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_fn_in_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` 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/address/traits/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn addr_get(&self, addr: &A) -> StoreResult, Self>; [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] 16 - async fn addr_get(&self, addr: &A) -> StoreResult, Self>; [INFO] [stdout] 16 + fn addr_get(&self, addr: &A) -> impl std::future::Future, Self>> + 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/address/traits/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn set_addr(&self, addr: &A, value: &Option) -> StoreResult<(), Self>; [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] 20 - async fn set_addr(&self, addr: &A, value: &Option) -> StoreResult<(), Self>; [INFO] [stdout] 20 + fn set_addr(&self, addr: &A, value: &Option) -> 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/address/traits/tree.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | async fn branch_or_leaf( [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] 27 ~ fn branch_or_leaf( [INFO] [stdout] 28 | &self, [INFO] [stdout] 29 | addr: TreeAddr, [INFO] [stdout] 30 ~ ) -> impl std::future::Future, Self>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/located/json.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | async fn lock_read_value(&self) -> StoreResult<(RwLockReadGuard<()>, Value), Self> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | async fn lock_read_value(&self) -> StoreResult<(RwLockReadGuard<'_, ()>, Value), Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/address/traits/tree.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | use futures::{StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (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/address/traits/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | async fn addr_get(&self, addr: &A) -> StoreResult, Self>; [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] 16 - async fn addr_get(&self, addr: &A) -> StoreResult, Self>; [INFO] [stdout] 16 + fn addr_get(&self, addr: &A) -> impl std::future::Future, Self>> + 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/address/traits/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn set_addr(&self, addr: &A, value: &Option) -> StoreResult<(), Self>; [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] 20 - async fn set_addr(&self, addr: &A, value: &Option) -> StoreResult<(), Self>; [INFO] [stdout] 20 + fn set_addr(&self, addr: &A, value: &Option) -> 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/address/traits/tree.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | async fn branch_or_leaf( [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] 27 ~ fn branch_or_leaf( [INFO] [stdout] 28 | &self, [INFO] [stdout] 29 | addr: TreeAddr, [INFO] [stdout] 30 ~ ) -> impl std::future::Future, Self>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stores/located/json.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | async fn lock_read_value(&self) -> StoreResult<(RwLockReadGuard<()>, Value), Self> [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | async fn lock_read_value(&self) -> StoreResult<(RwLockReadGuard<'_, ()>, Value), Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.99s [INFO] running `Command { std: "docker" "inspect" "56cd2379782002ecb4a2dd1da48ead3a6c5894dd15f57fa1c3aa6fc69f8f2d02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56cd2379782002ecb4a2dd1da48ead3a6c5894dd15f57fa1c3aa6fc69f8f2d02", kill_on_drop: false }` [INFO] [stdout] 56cd2379782002ecb4a2dd1da48ead3a6c5894dd15f57fa1c3aa6fc69f8f2d02