You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating git repository `https://github.com/unionlabs/ethers-rs`
error: failed to get `ethers` as a dependency of package `unionlabs v0.1.0 (/home/poisonphang/projects/github/unionlabs/union/lib/unionlabs)`
Caused by:
failed to load source for dependency `ethers`
Caused by:
Unable to update https://github.com/unionlabs/ethers-rs?branch=ethers-core-wasm#fd10abba
Caused by:
failed to fetch into: /home/poisonphang/.cargo/git/db/ethers-rs-efea9688c919e664
Caused by:
failed to authenticate when downloading repository: ssh://[email protected]/unionlabs/ethers-rs
* attempted ssh-agent authentication, but no usernames succeeded: `git`
if the git CLI succeeds then `net.git-fetch-with-cli` may help here
https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli
Caused by:
no authentication methods succeeded
Steps
No response
Possible Solution(s)
For this specific instance, using environment variables (such as CARGO_NET_GIT_FETCH_WITH_CLI=true sufficed), but the --config flag was still not functioning.
Notes
Additionally, trying to provide invalid keys for the --config flag did not result in any errors.
cargo-clippy is exactly implemented as a custom subcommand, so this might be considered as a duplicate of #11031.
The reason environment variables work is that clippy later calls cargo check, which would pick up those envs I believe.
weihanglo
added
S-needs-info
Status: Needs more info, such as a reproduction or more background for a feature request.
and removed
S-triage
Status: This issue is waiting on initial triage.
labels
May 6, 2024
Problem
When passing Cargo config values via the
--config
flag, they don't seem to be getting evaluated.For example, running:
while working on a private repository results in:
Steps
No response
Possible Solution(s)
For this specific instance, using environment variables (such as
CARGO_NET_GIT_FETCH_WITH_CLI=true
sufficed), but the--config
flag was still not functioning.Notes
Additionally, trying to provide invalid keys for the
--config
flag did not result in any errors.Version
The text was updated successfully, but these errors were encountered: