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
7137 introduced using fs::canonicalize in fingerprint.rs (4f6553a)
canonicalize on Windows is implemented using GetFinalPathNameByHandleW which fails on directories that are bind mounted, result being Cargo fails building inside Windows containers when building a source tree that is bind mounted from the host.
To reproduce:
Create a new crate source tree (cargo new) on Windows
Create a Windows container
Start the container and bind mount the source tree inside the container
Build the source tree inside the container
Result: build fails
The text was updated successfully, but these errors were encountered:
I'm going to close as I cannot reproduce the original issue. Perhaps an update in Docker or Windows has fixed the filesystem issue. Additionally, #11866 has been merged which does a fallback for canonicalization.
If anyone can reproduce this on the latest nightly, please include a complete reproduction, including a Dockerfile, the version of Docker and Windows, WSL information, etc.
7137 introduced using fs::canonicalize in fingerprint.rs (4f6553a)
canonicalize on Windows is implemented using GetFinalPathNameByHandleW which fails on directories that are bind mounted, result being Cargo fails building inside Windows containers when building a source tree that is bind mounted from the host.
To reproduce:
Result: build fails
The text was updated successfully, but these errors were encountered: