termion 4.0.3

A bindless library for manipulating terminals.
Documentation
Build #1382180 2024-10-06T15:44:40.684514+00:00
# rustc version
rustc 1.83.0-nightly (9096f4faf 2024-10-05)# docs.rs version
docsrs 0.6.0 (d5a37845 2024-09-24)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/termion-4.0.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/termion-4.0.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241005-1.83.0-nightly-9096f4faf\", \"--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}/i686-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 433175b3c6cf3198116a0d494d519685143a062847715578405c0fcd90556e22
[INFO] running `Command { std: "docker" "start" "-a" "433175b3c6cf3198116a0d494d519685143a062847715578405c0fcd90556e22", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]     Checking termion v4.0.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to check lib in package `termion` as a prerequisite for scraping examples from: example "alternate_screen", example "alternate_screen_raw", example "async", example "click", example "color", example "detect_color", example "is_tty", example "keys", example "mouse", example "rainbow", example "read", example "rustc_fun", example "simple", example "size", example "truecolor"
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `termion` (lib) generated 1 warning
[INFO] [stderr]     Scraping termion v4.0.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "is_tty" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: failed to scan example "color" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `termion` (example "is_tty") generated 1 warning
[INFO] [stderr] warning: `termion` (example "color") generated 1 warning
[INFO] [stderr] warning: failed to scan example "keys" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `termion` (example "keys") generated 1 warning
[INFO] [stderr] warning: failed to scan example "async" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `termion` (example "async") generated 1 warning
[INFO] [stderr] warning: failed to scan example "rainbow" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `termion` (example "rainbow") generated 1 warning
[INFO] [stderr] warning: failed to scan example "mouse" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `termion` (example "mouse") generated 1 warning
[INFO] [stderr] warning: failed to scan example "detect_color" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: failed to scan example "rustc_fun" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `termion` (example "detect_color") generated 1 warning
[INFO] [stderr] warning: failed to scan example "truecolor" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `termion` (example "rustc_fun") generated 1 warning
[INFO] [stderr] warning: failed to scan example "read" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `termion` (example "truecolor") generated 1 warning
[INFO] [stderr] warning: `termion` (example "read") generated 1 warning
[INFO] [stderr] warning: failed to scan example "alternate_screen" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `termion` (example "alternate_screen") generated 1 warning
[INFO] [stderr] warning: failed to scan example "alternate_screen_raw" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `termion` (example "alternate_screen_raw") generated 1 warning
[INFO] [stderr] warning: failed to scan example "size" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `termion` (example "size") generated 1 warning
[INFO] [stderr] warning: failed to scan example "click" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `termion` (example "click") generated 1 warning
[INFO] [stderr] warning: failed to scan example "simple" in package `termion` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `termion` (example "simple") generated 1 warning
[INFO] [stderr]  Documenting termion v4.0.3 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: you might be missing crate `sys`
[INFO] [stderr]   --> src/lib.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub use sys::size::terminal_size;
[INFO] [stderr]    |         ^^^ you might be missing crate `sys`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/lib.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | mod sys;
[INFO] [stderr]    |     ^^^
[INFO] [stderr] note: the item is gated behind the `redox` feature
[INFO] [stderr]   --> src/lib.rs:18:7
[INFO] [stderr]    |
[INFO] [stderr] 18 | #[cfg(target_os = "redox")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/lib.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | mod sys;
[INFO] [stderr]    |     ^^^
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> src/lib.rs:22:1
[INFO] [stderr]    |
[INFO] [stderr] 22 | #[cfg(all(unix, not(target_os = "redox")))]
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] help: consider importing the `sys` crate
[INFO] [stderr]    |
[INFO] [stderr] 14 + extern crate sys;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: you might be missing crate `sys`
[INFO] [stderr]   --> src/lib.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub use sys::tty::{get_tty, is_tty};
[INFO] [stderr]    |         ^^^ you might be missing crate `sys`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/lib.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | mod sys;
[INFO] [stderr]    |     ^^^
[INFO] [stderr] note: the item is gated behind the `redox` feature
[INFO] [stderr]   --> src/lib.rs:18:7
[INFO] [stderr]    |
[INFO] [stderr] 18 | #[cfg(target_os = "redox")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/lib.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | mod sys;
[INFO] [stderr]    |     ^^^
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> src/lib.rs:22:1
[INFO] [stderr]    |
[INFO] [stderr] 22 | #[cfg(all(unix, not(target_os = "redox")))]
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] help: consider importing the `sys` crate
[INFO] [stderr]    |
[INFO] [stderr] 14 + extern crate sys;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: you might be missing crate `sys`
[INFO] [stderr]   --> src/async.rs:5:5
[INFO] [stderr]    |
[INFO] [stderr] 5  | use sys::tty::get_tty;
[INFO] [stderr]    |     ^^^ you might be missing crate `sys`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/lib.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | mod sys;
[INFO] [stderr]    |     ^^^
[INFO] [stderr] note: the item is gated behind the `redox` feature
[INFO] [stderr]   --> src/lib.rs:18:7
[INFO] [stderr]    |
[INFO] [stderr] 18 | #[cfg(target_os = "redox")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/lib.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | mod sys;
[INFO] [stderr]    |     ^^^
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> src/lib.rs:22:1
[INFO] [stderr]    |
[INFO] [stderr] 22 | #[cfg(all(unix, not(target_os = "redox")))]
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] help: consider importing the `sys` crate
[INFO] [stderr]   --> src/lib.rs:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 + extern crate sys;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::os::fd`
[INFO] [stderr]  --> src/input.rs:5:14
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::os::fd::AsFd;
[INFO] [stderr]   |              ^^ could not find `fd` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/9096f4fafa2ac2d771f866337b4ee7064cde8575\library\std\src\os\mod.rs:164:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/9096f4fafa2ac2d771f866337b4ee7064cde8575\library\std\src\os\mod.rs:163:1
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: you might be missing crate `sys`
[INFO] [stderr]   --> src/raw.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | use sys::attr::{get_terminal_attr, raw_terminal_attr, set_terminal_attr};
[INFO] [stderr]    |     ^^^ you might be missing crate `sys`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/lib.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | mod sys;
[INFO] [stderr]    |     ^^^
[INFO] [stderr] note: the item is gated behind the `redox` feature
[INFO] [stderr]   --> src/lib.rs:18:7
[INFO] [stderr]    |
[INFO] [stderr] 18 | #[cfg(target_os = "redox")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/lib.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | mod sys;
[INFO] [stderr]    |     ^^^
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> src/lib.rs:22:1
[INFO] [stderr]    |
[INFO] [stderr] 22 | #[cfg(all(unix, not(target_os = "redox")))]
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] help: consider importing the `sys` crate
[INFO] [stderr]   --> src/lib.rs:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 + extern crate sys;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::os::fd`
[INFO] [stderr]   --> src/raw.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |     os::fd::AsFd,
[INFO] [stderr]    |         ^^ could not find `fd` in `os`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/9096f4fafa2ac2d771f866337b4ee7064cde8575\library\std\src\os\mod.rs:164:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> /rustc/9096f4fafa2ac2d771f866337b4ee7064cde8575\library\std\src\os\mod.rs:163:1
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `sys`
[INFO] [stderr]   --> src/raw.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 30 | use sys::Termios;
[INFO] [stderr]    |     ^^^ you might be missing crate `sys`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/lib.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | mod sys;
[INFO] [stderr]    |     ^^^
[INFO] [stderr] note: the item is gated behind the `redox` feature
[INFO] [stderr]   --> src/lib.rs:18:7
[INFO] [stderr]    |
[INFO] [stderr] 18 | #[cfg(target_os = "redox")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/lib.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | mod sys;
[INFO] [stderr]    |     ^^^
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> src/lib.rs:22:1
[INFO] [stderr]    |
[INFO] [stderr] 22 | #[cfg(all(unix, not(target_os = "redox")))]
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] help: consider importing the `sys` crate
[INFO] [stderr]   --> src/lib.rs:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 + extern crate sys;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0432`.
[INFO] [stderr] error: could not document `termion`
[INFO] running `Command { std: "docker" "inspect" "433175b3c6cf3198116a0d494d519685143a062847715578405c0fcd90556e22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "433175b3c6cf3198116a0d494d519685143a062847715578405c0fcd90556e22", kill_on_drop: false }`
[INFO] [stdout] 433175b3c6cf3198116a0d494d519685143a062847715578405c0fcd90556e22