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
Posting this here in case anyone else runs into the issue, along with a potential solution.
Fresh project just with one dependency,
Following terminal output
λ cargo build
Updating crates.io index
error: failed to load sourcefor a dependency on `env_logger`
Caused by:
Unable to update registry `https://github.com/rust-lang/crates.io-index`
Caused by:
Access is denied. (os error 5)
.cargo in my home folder was marked as hidden in properties under the Attributes section.
Making it unhidden (recursively with subdirectories) seemed to fix the issue.
The text was updated successfully, but these errors were encountered:
Add context to some fs errors.
This adds some extra context to most fs operations that indicates some more detail (particularly the path). It can be frustrating when cargo says something generic like "Access is denied." without printing a path or information about what it is doing.
Addresses #8211, where it adds extra context to the message.
Posting this here in case anyone else runs into the issue, along with a potential solution.
Fresh project just with one dependency,
Following terminal output
.cargo
in my home folder was marked ashidden
inproperties
under theAttributes
section.Making it unhidden (recursively with subdirectories) seemed to fix the issue.
The text was updated successfully, but these errors were encountered: