Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected "could not canonicalize path" warnings in proxies when on a network drive #682

Open
brson opened this Issue Aug 23, 2016 · 3 comments

Comments

4 participants
@brson
Copy link
Contributor

brson commented Aug 23, 2016

Original report rust-lang/cargo#2990 (comment)

When running cargo run inside E:\hello_world cargo is printing warnings like

warning: could not canonicalize path: 'E:\hello_world'

That's pretty surprising since there's nothing interesting about that path.

@brson

This comment has been minimized.

Copy link
Contributor Author

brson commented Aug 23, 2016

In the original report, drive E is a network drive. So it seems fs::canonicalize doesn't work on those.

Maybe we can detect when the drive is a network drive and not emit the warning, as a known case. Or maybe the warning is not worth printing at all.

@brson brson changed the title Unexpected "could not canonicalize path" warnings in proxies Unexpected "could not canonicalize path" warnings in proxies when on a network drive Aug 23, 2016

@Diggsey Diggsey added this to Error messages & documentation in Issue Categorisation May 4, 2017

@Scondo

This comment has been minimized.

Copy link

Scondo commented Mar 19, 2019

Same problem with ram drive... up to block of compilation.

@kinnison

This comment has been minimized.

Copy link
Collaborator

kinnison commented Mar 19, 2019

If you bypass rustup and run the compiler/cargo directly, are you able to compile/whatever? If so, then it's worth trying to bypass this in rustup, if the compiler or cargo also suffer then perhaps it'd be better as a bug against fs::canonicalize ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.