cesarferreira/rustycat

cargo install failed on windows.

オープン

#6 opened on 2026/05/15

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (3 件のフォーク)github user discovery
help wanted

Repository metrics

Stars
 (38 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

My PC: windows 11 home edition 25H2, OS version: 26200.8457

~ ❯ cargo binstall  rustycat-android
 INFO resolve: Resolving package: 'rustycat-android'
 WARN The package rustycat-android v0.2.0 will be installed from source (with cargo)
Do you wish to continue? [yes]/no y
    Updating `crates-io` index
  Installing rustycat-android v0.2.0
    Updating `crates-io` index
     Locking 47 packages to latest compatible versions
      Adding colored v2.2.0 (available: v3.1.1)
      Adding termion v2.0.3 (available: v4.0.6)
   Compiling termion v2.0.3
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sys`
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:26:9
   |
26 | pub use sys::size::terminal_size;
   |         ^^^ use of unresolved module or unlinked crate `sys`
   |
note: found an item that was configured out
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:20:5
   |
18 | #[cfg(target_os = "redox")]
   |       ------------------- the item is gated behind the `redox` feature
19 | #[path="sys/redox/mod.rs"]
20 | mod sys;
   |     ^^^
note: found an item that was configured out
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:24:5
   |
22 | #[cfg(all(unix, not(target_os = "redox")))]
   |           ---- the item is gated here
23 | #[path="sys/unix/mod.rs"]
24 | mod sys;
   |     ^^^
help: if you wanted to use a crate named `sys`, use `cargo add sys` to add it to your `Cargo.toml` and import it in your code
   |
14 + extern crate sys;
   |

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sys`
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:29:9
   |
29 | pub use sys::tty::{is_tty, get_tty};
   |         ^^^ use of unresolved module or unlinked crate `sys`
   |
note: found an item that was configured out
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:20:5
   |
18 | #[cfg(target_os = "redox")]
   |       ------------------- the item is gated behind the `redox` feature
19 | #[path="sys/redox/mod.rs"]
20 | mod sys;
   |     ^^^
note: found an item that was configured out
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:24:5
   |
22 | #[cfg(all(unix, not(target_os = "redox")))]
   |           ---- the item is gated here
23 | #[path="sys/unix/mod.rs"]
24 | mod sys;
   |     ^^^
help: if you wanted to use a crate named `sys`, use `cargo add sys` to add it to your `Cargo.toml` and import it in your code
   |
14 + extern crate sys;
   |

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sys`
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\async.rs:5:5
   |
 5 | use sys::tty::get_tty;
   |     ^^^ use of unresolved module or unlinked crate `sys`
   |
note: found an item that was configured out
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:20:5
   |
18 | #[cfg(target_os = "redox")]
   |       ------------------- the item is gated behind the `redox` feature
19 | #[path="sys/redox/mod.rs"]
20 | mod sys;
   |     ^^^
note: found an item that was configured out
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:24:5
   |
22 | #[cfg(all(unix, not(target_os = "redox")))]
   |           ---- the item is gated here
23 | #[path="sys/unix/mod.rs"]
24 | mod sys;
   |     ^^^
help: if you wanted to use a crate named `sys`, use `cargo add sys` to add it to your `Cargo.toml` and import it in your code
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:14:1
   |
14 + extern crate sys;
   |

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sys`
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\raw.rs:28:5
   |
28 | use sys::attr::{get_terminal_attr, raw_terminal_attr, set_terminal_attr};
   |     ^^^ use of unresolved module or unlinked crate `sys`
   |
note: found an item that was configured out
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:20:5
   |
18 | #[cfg(target_os = "redox")]
   |       ------------------- the item is gated behind the `redox` feature
19 | #[path="sys/redox/mod.rs"]
20 | mod sys;
   |     ^^^
note: found an item that was configured out
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:24:5
   |
22 | #[cfg(all(unix, not(target_os = "redox")))]
   |           ---- the item is gated here
23 | #[path="sys/unix/mod.rs"]
24 | mod sys;
   |     ^^^
help: if you wanted to use a crate named `sys`, use `cargo add sys` to add it to your `Cargo.toml` and import it in your code
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:14:1
   |
14 + extern crate sys;
   |

error[E0432]: unresolved import `sys`
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\raw.rs:29:5
   |
29 | use sys::Termios;
   |     ^^^ use of unresolved module or unlinked crate `sys`
   |
note: found an item that was configured out
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:20:5
   |
18 | #[cfg(target_os = "redox")]
   |       ------------------- the item is gated behind the `redox` feature
19 | #[path="sys/redox/mod.rs"]
20 | mod sys;
   |     ^^^
note: found an item that was configured out
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:24:5
   |
22 | #[cfg(all(unix, not(target_os = "redox")))]
   |           ---- the item is gated here
23 | #[path="sys/unix/mod.rs"]
24 | mod sys;
   |     ^^^
help: if you wanted to use a crate named `sys`, use `cargo add sys` to add it to your `Cargo.toml` and import it in your code
  --> D:\scoop\persist\rustup\.cargo\registry\src\mirrors.sjtug.sjtu.edu.cn-a0dcbb55c5c70240\termion-2.0.3\src\lib.rs:14:1
   |
14 + extern crate sys;
   |

Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `termion` (lib) due to 5 previous errors
error: failed to compile `rustycat-android v0.2.0`, intermediate artifacts can be found at `D:\tmp\crash\cargo`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
ERROR Cargo errored! ExitStatus(ExitStatus(101))
ERROR Fatal error:
  \x1b[31m×\x1b[0m For crate rustycat-android: subprocess D:\scoop\persist\rustup\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\cargo.exe install rustycat-android --version 0.2.0 --root D:
  \x1b[31m│\x1b[0m \scoop\persist\rustup\.cargo errored with exit code: 101
\x1b[31m  ╰─▶ \x1b[0msubprocess D:\scoop\persist\rustup\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\cargo.exe install rustycat-android --version 0.2.0 --root D:\scoop\persist\rustup\.cargo
\x1b[31m      \x1b[0merrored with exit code: 101

コントリビューターガイド