Skip to content

MSRV is not actually enforced #844

@luisschwab

Description

@luisschwab

We are not actually enforcing the declared MSRV of 1.81.0. We need to introduce a dependency pinning mechanism (eg a ci/pin-msrv.sh script) and a msrv recipe that runs on CI.

Currently, CI only tests floresta-common with MSRV.

Floresta % cargo +1.81.0 build
    Updating crates.io index
     Locking 407 packages to latest compatible versions
      Adding allocator-api2 v0.2.21 (latest: v0.4.0)
      Adding anes v0.1.6 (latest: v0.2.1)
      [...]
      Adding wit-parser v0.244.0 (latest: v0.245.1)
      Adding zeromq-src v0.2.6+4.3.4 (latest: v0.3.6+4.3.5)
error: failed to download `time-core v0.1.8`

Caused by:
  unable to get packages from source

Caused by:
  failed to parse manifest at `/Users/luisschwab/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-core-0.1.8/Cargo.toml`

Caused by:
  feature `edition2024` is required

  The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.81.0 (2dbb1af80 2024-08-20)).
  Consider trying a newer version of Cargo (this may require the nightly release).
  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIA change or issue related to CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions