crossterm 0.28.1

A crossplatform terminal library for manipulating terminals.
Documentation
Build #1309581 2024-08-01T18:36:29.964113+00:00
# rustc version
rustc 1.82.0-nightly (28a58f2fa 2024-07-31)# docs.rs version
docsrs 0.6.0 (e434406d 2024-07-31)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/crossterm-0.28.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/crossterm-0.28.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240731-1.82.0-nightly-28a58f2fa\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 01ccb8c1418038aab73b1f9eef3a766df022e892ea347cd8784ace0ae831750a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "01ccb8c1418038aab73b1f9eef3a766df022e892ea347cd8784ace0ae831750a", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: event-match-modifiers, event-poll-read, event-read, event-read-char-line, event-stream-async-std, event-stream-tokio, is_tty, key-display, stderr
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting crossterm v0.28.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition name: `winapi`
[INFO] [stderr]    --> src/lib.rs:256:11
[INFO] [stderr]     |
[INFO] [stderr] 256 | #[cfg(all(winapi, not(feature = "winapi")))]
[INFO] [stderr]     |           ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stderr]     = help: consider using a Cargo feature instead
[INFO] [stderr]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]              [lints.rust]
[INFO] [stderr]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(winapi)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(winapi)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `winapi`
[INFO] [stderr]    --> src/lib.rs:256:23
[INFO] [stderr]     |
[INFO] [stderr] 256 | #[cfg(all(winapi, not(feature = "winapi")))]
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `bracketed-paste`, `default`, `event-stream`, `events`, `filedescriptor`, `libc`, `serde`, `use-dev-tty`, and `windows`
[INFO] [stderr]     = help: consider adding `winapi` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `crossterm_winapi`
[INFO] [stderr]    --> src/lib.rs:259:11
[INFO] [stderr]     |
[INFO] [stderr] 259 | #[cfg(all(crossterm_winapi, not(feature = "crossterm_winapi")))]
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead
[INFO] [stderr]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]              [lints.rust]
[INFO] [stderr]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(crossterm_winapi)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(crossterm_winapi)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `crossterm_winapi`
[INFO] [stderr]    --> src/lib.rs:259:33
[INFO] [stderr]     |
[INFO] [stderr] 259 | #[cfg(all(crossterm_winapi, not(feature = "crossterm_winapi")))]
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `bracketed-paste`, `default`, `event-stream`, `events`, `filedescriptor`, `libc`, `serde`, `use-dev-tty`, and `windows`
[INFO] [stderr]     = help: consider adding `crossterm_winapi` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `crate::event::read` is both a function and a module
[INFO] [stderr]   --> src/cursor/sys/unix.rs:16:32
[INFO] [stderr]    |
[INFO] [stderr] 16 | /// [`crossterm::event::read`](crate::event::read) or [`crossterm::event::poll`](crate::event::poll) are being called.
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^ ambiguous link
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] help: to link to the function, add parentheses
[INFO] [stderr]    |
[INFO] [stderr] 16 | /// [`crossterm::event::read`](crate::event::read()) or [`crossterm::event::poll`](crate::event::poll) are being called.
[INFO] [stderr]    |                                                  ++
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]    |
[INFO] [stderr] 16 | /// [`crossterm::event::read`](mod@crate::event::read) or [`crossterm::event::poll`](crate::event::poll) are being called.
[INFO] [stderr]    |                                ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `crate::event::read` is both a function and a module
[INFO] [stderr]    --> src/terminal/sys/unix.rs:184:32
[INFO] [stderr]     |
[INFO] [stderr] 184 | /// [`crossterm::event::read`](crate::event::read) or [`crossterm::event::poll`](crate::event::poll) are being called.
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^ ambiguous link
[INFO] [stderr]     |
[INFO] [stderr] help: to link to the function, add parentheses
[INFO] [stderr]     |
[INFO] [stderr] 184 | /// [`crossterm::event::read`](crate::event::read()) or [`crossterm::event::poll`](crate::event::poll) are being called.
[INFO] [stderr]     |                                                  ++
[INFO] [stderr] help: to link to the module, prefix with `mod@`
[INFO] [stderr]     |
[INFO] [stderr] 184 | /// [`crossterm::event::read`](mod@crate::event::read) or [`crossterm::event::poll`](crate::event::poll) are being called.
[INFO] [stderr]     |                                ++++
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/style/types/colored.rs:74:31
[INFO] [stderr]    |
[INFO] [stderr] 74 |     /// in environment as per https://no-color.org/
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]    = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 74 |     /// in environment as per <https://no-color.org/>
[INFO] [stderr]    |                               +                     +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/style.rs:187:34
[INFO] [stderr]     |
[INFO] [stderr] 187 | /// crossterm supports NO_COLOR (https://no-color.org/) to disabled colored output.
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 187 | /// crossterm supports NO_COLOR (<https://no-color.org/>) to disabled colored output.
[INFO] [stderr]     |                                  +                     +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/terminal.rs:151:15
[INFO] [stderr]     |
[INFO] [stderr] 151 | /// For unix, https://man7.org/linux/man-pages/man4/tty_ioctl.4.html documents them as "unused".
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 151 | /// For unix, <https://man7.org/linux/man-pages/man4/tty_ioctl.4.html> documents them as "unused".
[INFO] [stderr]     |               +                                                      +
[INFO] [stderr] 
[INFO] [stderr] warning: `crossterm` (lib doc) generated 9 warnings (run `cargo fix --lib -p crossterm` to apply 3 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.68s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/crossterm/index.html
[INFO] running `Command { std: "docker" "inspect" "01ccb8c1418038aab73b1f9eef3a766df022e892ea347cd8784ace0ae831750a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01ccb8c1418038aab73b1f9eef3a766df022e892ea347cd8784ace0ae831750a", kill_on_drop: false }`
[INFO] [stdout] 01ccb8c1418038aab73b1f9eef3a766df022e892ea347cd8784ace0ae831750a