rust-lang / rust-lang/rustup

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

Open
#682 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug help wanted
Dominant language
Rust
Stars
7k
Forks
1.1k
Avg merge
22h 40m
Merged PRs (30d)
46

Description

Original report https://github.com/rust-lang/cargo/issues/2990#issuecomment-239700617

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the linked original Cargo report and reproduce the warning by running cargo run inside E:\hello_world on a network drive. Trace where the path is canonicalized and determine what behavior should replace the warning; done means the unexpected warning no longer appears for this path.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.