Skip to content

Cargo treats lack of disk space as "spurious network error" #14964

Open
@glandium

Description

@glandium

Problem

While updating .cargo/git/checkouts, if disk space runs out, cargo handles the situation as if there was a network error, and display:

warning: spurious network error (3 tries remaining): cannot extend packfile '...': Not enough disk space; class=Os (2)

Steps

No response

Possible Solution(s)

No response

Notes

Errors that are not related to the network shouldn't be treated as network errors.

Version

1.83.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Error and warning messages generated by Cargo itself.A-gitArea: anything dealing with gitA-networkingArea: networking issues, curl, etc.C-bugCategory: bugS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions