Skip to content

Breaking change to cargo login #12828

@Diggsey

Description

@Diggsey

Problem

SInce updating to Cargo 1.73, the cargo login command no longer accepts the token after --.

Used to work:
cargo login -- <token>

This now re-requests the token if in an interactive terminal, or else prints the confusing error:

error: credential provider cargo:token *** failed action login

Caused by:
please provide a non-empty token

This is mostly an issue for CI.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions