Repository navigation
fix(deps): drop unmaintained pin-utils by raising MSRV to 1.99 - #417
Merged
Merged
Conversation
RUSTSEC-2026-0441 marks pin-utils as unmaintained, which fails the Dependency Advisories check on every PR. It was only pulled in by the AWS smithy crates (aws-smithy-http 0.63, aws-smithy-runtime 1.11, aws-smithy-types 1.5) and by our direct aws-smithy-checksums 0.64 dependency. The smithy releases that replace it with pin-project-lite (aws-smithy-types 1.9.0, aws-smithy-runtime 1.16.1, aws-smithy-http 0.64.2) require Rust 1.94.1, and the MSRV-aware resolver held the lockfile at the last 1.92-compatible versions. Raise rust-version to 1.99.0, matching the RustFS server, refresh the AWS SDK lockfile entries, and move the direct aws-smithy-checksums dependency to 0.65 so it matches the SDK's own checksum selection instead of keeping a second copy. Update the CI MSRV job, the Docker builder image, and the README to the same toolchain.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue
Fixes the
Dependency Advisoriesfailure that every open PR currently hits: RUSTSEC-2026-0441 markspin-utilsas unmaintained (upstream archived on 2026-10-01).Background
pin-utils 0.1.1is not a direct dependency. It came in through:aws-smithy-http 0.63,aws-smithy-runtime 1.11,aws-smithy-types 1.5(viaaws-sdk-s3/aws-config)aws-smithy-checksums 0.64dependency inrc-s3The smithy releases that replace it with
pin-project-liteareaws-smithy-types 1.9.0,aws-smithy-runtime 1.16.1, andaws-smithy-http 0.64.2. All of them declarerust-version = 1.94.1. Withrust-version = "1.92", the MSRV-aware resolver kept the lockfile on the last 1.92-compatible releases, socargo updatealone could not drop the crate.An alternative was to add RUSTSEC-2026-0441 to
deny.toml's ignore list. That keeps the unmaintained crate and weakens the gate, so this PR removes the dependency instead.Solution
rust-versionfrom 1.92 to 1.99.0, matching the RustFS server (rust-version = "1.99.0", stable toolchain).aws-sdk-s31.137 -> 1.157,aws-config1.8 -> 1.13, smithy crates to the releases above). No other crates were bulk-updated.aws-smithy-checksumsdependency from 0.64.8 to 0.65.1.payload_checksum.rsuses it to select the same checksum as the SDK, so it should track the SDK's version; leaving it on 0.64 would also keeppin-utilsand a second copy ofaws-smithy-http.1.99.0), the Docker builder image (rust:1.99.1-alpine3.23), and the README requirement.Impact: building
rcfrom source now needs Rust 1.99 or newer. Released binaries and images are unaffected. No CLI, JSON output, or config contract changes.Tests
cargo tree -i pin-utilsno longer matches any package;cargo tree -dshows no duplicateaws-*crates.cargo deny --all-features check advisories: ok.bansandsources: ok.cargo fmt --all --checkandcargo clippy --workspace --all-targets -- -D warnings: pass.cargo test --workspace: 1988 passed, 0 failed.cargo +1.99.0 build --workspace: pass.