Skip to content

The 1.85 MSRV is inaccurate with all features #811

Description

@LDeakin

The 1.85 MSRV is inaccurate with all features

error[E0658]: `let` expressions in this position are unstable
  --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/object_store-0.14.1/src/client/token.rs:81:12
   |
81 |         if let Some(cache) = self.cache.read().await.as_ref()
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information

error[E0658]: `let` expressions in this position are unstable
  --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/object_store-0.14.1/src/client/token.rs:88:12
   |
88 |         if let Some(cache) = guard.as_ref()
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `object_store` (lib) due to 2 previous errors

See https://github.com/zarrs/zarrs_object_store/actions/runs/29831899978/job/88638534711

The CI action that calls cargo-msrv could append --all-features to catch this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions