Closed
Description
EDIT (ehuss): The issue is that navi
includes a file named aux.rs
which is not a valid filename on windows. Cargo should check for these reserved filenames while extracting and provide a better error message.
Problem
On Windows Cargo failes to install a package because it fails to set mtime fo a file.
The package where the error occourse is navi version 2.2.0
Steps
- On windows run
cargo install navi
Possible Solution(s)
Notes
Output of cargo version
:
cargo 1.44.0-nightly (7019b3ed3 2020-03-17)
cargo 1.42.0 (86334295e 2020-01-31)
has the same problem under Windows but gives shorter error trace.
Same package and cargo versions work under Linux Mint.
Also I currently cannot reproduce this with other packages.