Skip to content

Cargo 1.96.0 fails to fetch updates from AWS CodeArtifact #17072

@ultimaweapon

Description

@ultimaweapon

Problem

After update Cargo to 1.96.0 I got the following error when fetching updates from AWS CodeArtifact:

    Updating crates.io index
    Updating `aws` index
error: failed to get `[REDACTED]` as a dependency of package `[REDACTED] v0.1.0 ([REDACTED])`

Caused by:
  failed to load source for dependency `REDACTED`

Caused by:
  unable to update registry `aws`

Caused by:
  failed to parse header value

I was tried to enable verbose output but got nothing useful.

Steps

Just run cargo update on the project with dependencies from AWS CodeArtifact.

Possible Solution(s)

No response

Notes

No response

Version

cargo 1.96.0 (30a34c682 2026-05-25)
release: 1.96.0
commit-hash: 30a34c6821b57de0aaec83a901aca39f88f6778c
commit-date: 2026-05-25
host: x86_64-pc-windows-msvc
libgit2: 1.9.2 (sys:0.20.4 vendored)
libcurl: 8.19.0-DEV (sys:0.4.87+curl-8.19.0 vendored ssl:Schannel)
os: Windows 10.0.26200 (Windows 11 Professional) [64-bit]

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-networkingArea: networking issues, curl, etc.C-bugCategory: bugS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewregression-from-stable-to-stableRegression in stable that worked in a previous stable release.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions