Closed pip25 closed 1 year ago
It seems I've found the cause: my TEMP directory is by default set to an ImDisk RAM drive. If I change the TEMP/TMP variables to a folder on a normal disk drive, the build succeeds. Strange though, since I've never experienced this kind of compatibility issue with ImDisk with any other Windows tool before, and I've been using this RAM drive for years.
I suspect this may be due to Rust canonicalizing paths when it only needs normalization.
Triage: This is about problems canonicalizing paths on RAM drives. So is #48249, so closing as duplicate.
As per the documentation I've ran "cargo +nightly install cargo-src" It consistently produces the following result (with backtrace enabled):
Small added explanation: I'm running a Hungarian version of Windows; the error message "Nem megfelelő funkció" means "inappropriate function". Not sure if it matters, but since cargo is installed into the user directory by rustup, it might be relevant that my username has special characters and spaces in it.
The same result occurs if I try using the stable compiler (1.29.1), although that is less relevant since cargo-src requires nightly. Both compilers have only been installed an hour ago, so they are as recent as they can be.
I've also tried cloning the repo of the dependency and building "unreachable v1.0.0" separately, that build succeeds without issues.