cargo install fails on windows with unresolved import compilation error
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 697
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
I get the following error when I try to do cargo install loop-rs on Windows 7:
Compiling loop-rs v0.3.3
error[E0432]: unresolved import `isatty::stdin_isatty`
--> src\main.rs:16:14
|
16 | use isatty::{stdin_isatty};
| ^^^^^^^^^^^^ no `stdin_isatty` in the root. Did you mean to use `stderr_isatty`?
Here is my rustup show output:
Default host: x86_64-pc-windows-msvc
installed toolchains
--------------------
stable-x86_64-pc-windows-msvc
nightly-x86_64-pc-windows-msvc
active toolchain
----------------
stable-x86_64-pc-windows-msvc (default)
rustc 1.27.0 (3eda71b00 2018-06-19)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/main.rs:16 and reproduce the cargo install loop-rs failure on Windows with the reported Rust 1.27.0 toolchain, focusing on the isatty stdin_isatty import. Done means cargo install completes without the unresolved-import compilation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100