Issue 7945 - Regenerate Rust lockfile to resolve RUSTSEC-2026-0258 - #7958
Issue 7945 - Regenerate Rust lockfile to resolve RUSTSEC-2026-0258#7958CJIA-cmd wants to merge 1 commit into
Conversation
|
Update: the targeted Cargo-generated version has now finished validation and is available on a separate branch:
It was generated from the same For comparison:
The targeted update changes ValidationThe targeted branch passes the full workspace validation, including all 9 I also checked the targeted commit under WSL/Linux. A focused As a control, I reproduced the same That indicates the WSL failure is not specific to the current targeted h2 update. I haven't opened another PR or changed this one. The separate branch is only there for comparison in case the narrower Cargo-generated resolution is preferable. |
|
We've got a problem with our vulnerability scanning that we're in the process of resolving. That'll fail the build on this branch right now, so we'll get to this once that's sorted. Thanks for contributing. |
Hey there, that's perfectly fine — this is just a maintenance shuffle, which reminds me why we love Cargo so much. I'm supposed to be on a break but got the RustSec audit email, so I just came to check it out. Hopefully I'm building up to the point where I can get involved with that work too. Hope it resolves neatly! |
|
Issue resolved as part of other rust upgrade actions |
Issue
Change
Regenerates
rust/Cargo.lockusing:This follows the review feedback on the previous PR to avoid manually editing
Cargo.lock.Before regeneration, the branch was reset to the current canonical
developstate and the working tree was clean. No part of the generated lockfile was manually edited afterwards.The regenerated lockfile updates:
which resolves
RUSTSEC-2026-0258.Because
cargo generate-lockfileresolves all compatible versions from the current manifests, the resulting diff is broader than the previous targeted patch. It includes updates across AWS Smithy/AWS SDK, HTTP/Hyper, Arrow/Parquet, Futures, Serde, Rustls and other transitive dependencies.rust/Cargo.lockis the only changed file.Validation
resolves to:
passes with exit code 0.
RUSTSEC-2026-0258is no longer reported.The existing allowed warning remains:
passes.
passes locally on Windows, including all 9
sleeper_core --test compaction_testintegration tests.An earlier isolated Windows execution reached the
sleeper_corecompaction tests but failed becauseaws-smithy-http-client v1.4.0could not parse native root certificates in that execution environment. Re-running the exact workspace test command directly in the normal local Windows environment passed the full workspace suite, including all 9 compaction tests, so that certificate failure was not reproducible locally.A separate WSL/Linux run from the same feature commit completed compilation but aborted earlier in
rust_sketch, duringquantiles::byte_tests::multi_sketch_serialize, where libstdc++ asserted while dereferencing an unengagedstd::optional. The process exited withSIGABRTbefore reaching the compaction tests.These are distinct failures occurring in different components and do not currently indicate a deterministic failure caused by the generated lockfile.
passes.
Generated lockfile
The Cargo-generated refresh includes 132 package version updates, along with a small number of package additions, removals and dependency-edge changes.
Notable updates include:
h2 0.4.15 -> 0.4.18aws-smithy-http-client 1.2.0 -> 1.4.0aws-smithy-runtime 1.12.0 -> 1.14.0aws-config 1.10.0 -> 1.11.0hyper 1.10.1 -> 1.11.0http 1.4.2 -> 1.5.058.3.0 -> 58.4.00.3.33 -> 0.3.341.0.228 -> 1.0.2290.23.41 -> 0.23.43These changes are the dependency resolution produced directly by
cargo generate-lockfile; they have not been manually minimised or adjusted.Documentation
Notes
The previous patch intentionally updated only the dependency entries required to resolve the advisory.
This replacement instead uses the repository's normal lockfile regeneration workflow as requested during review, while preserving the generated result exactly.
Arguably my proudest contribution so far: running
cargo generate-lockfile.