Conversation
<!--ci-cve-scan:must-fix: GHSA-g59m-gf8j-gjf5-->
🔢 Build Failed: Dependency Version Mismatch
Build Details
Root Cause Analysis 🔍Dependency version conflict where aws-smithy-runtime versions that satisfy aws-config requirements conflict with the existing mockito v1.7.0 package. The version upgrade created incompatible dependency constraints that Cargo's resolver cannot satisfy. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Suggested ChangesFile: Cargo.toml
Replacement: Content: Click to expand fix analysisAnalysisNo similar build failures were provided for analysis. However, the current error indicates a Rust dependency version conflict where aws-smithy-runtime versions that satisfy aws-config requirements are incompatible with the existing mockito v1.7.0 package. This is a classic Cargo dependency resolution issue that occurs when cargobump attempts to upgrade aws-sdk-sts from 1.50.0 to 1.91.0, creating incompatible dependency constraints. Click to expand fix explanationExplanationThe build failure occurs because cargobump is trying to upgrade aws-sdk-sts from 1.50.0 to 1.91.0, which requires aws-smithy-runtime ^1.7.3. However, the existing mockito v1.7.0 package creates a dependency conflict with the available aws-smithy-runtime versions. By upgrading mockito to v1.8.0 (or a compatible version), we resolve the dependency constraint conflict that prevents Cargo from selecting a valid version of aws-smithy-runtime. This approach follows the same pattern as the existing lru dependency bump in the pipeline - proactively updating problematic dependencies before running cargobump to avoid version conflicts. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
|
Closing as part of repository cleanup |
nushell/0.109.1-r1: fix GHSA-g59m-gf8j-gjf5
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/nushell.advisories.yaml
"Breadcrumbs" for this automated service
Inspected git repositories: