x11-clipboard 0.9.3

x11 clipboard support for Rust.
Documentation
Build #1395456 2024-10-17T15:49:12.189474+00:00
# rustc version
rustc 1.84.0-nightly (798fb83f7 2024-10-16)# docs.rs version
docsrs 0.6.0 (1943e684 2024-10-16)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/x11-clipboard-0.9.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/x11-clipboard-0.9.3/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241016-1.84.0-nightly-798fb83f7\", \"--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] f25277cde4c7c43f4090443c02e4c5891af87a5bfaaaf42def580081d9863091
[INFO] running `Command { std: "docker" "start" "-a" "f25277cde4c7c43f4090443c02e4c5891af87a5bfaaaf42def580081d9863091", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]     Checking x11-clipboard v0.9.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to check lib in package `x11-clipboard` as a prerequisite for scraping examples from: example "monitor_primary_selection", example "paste", example "wait_copy_event"
[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: `x11-clipboard` (lib) generated 1 warning
[INFO] [stderr]     Scraping x11-clipboard v0.9.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "monitor_primary_selection" in package `x11-clipboard` 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 "paste" in package `x11-clipboard` 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: `x11-clipboard` (example "paste") generated 1 warning
[INFO] [stderr] warning: `x11-clipboard` (example "monitor_primary_selection") generated 1 warning
[INFO] [stderr] warning: failed to scan example "wait_copy_event" in package `x11-clipboard` 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: `x11-clipboard` (example "wait_copy_event") generated 1 warning
[INFO] [stderr]  Documenting x11-clipboard v0.9.3 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `std::os::fd`
[INFO] [stderr]  --> src/run.rs:5:14
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::os::fd::{AsFd, AsRawFd, FromRawFd, OwnedFd};
[INFO] [stderr]   |              ^^ could not find `fd` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/798fb83f7d24e31b16acca113496f39ff168c143\library\std\src\os\mod.rs:164:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/798fb83f7d24e31b16acca113496f39ff168c143\library\std\src\os\mod.rs:163:1
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::os::fd`
[INFO] [stderr]   --> src/lib.rs:15:14
[INFO] [stderr]    |
[INFO] [stderr] 15 | use std::os::fd::OwnedFd;
[INFO] [stderr]    |              ^^ could not find `fd` in `os`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/798fb83f7d24e31b16acca113496f39ff168c143\library\std\src\os\mod.rs:164:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> /rustc/798fb83f7d24e31b16acca113496f39ff168c143\library\std\src\os\mod.rs:163:1
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] error: could not document `x11-clipboard`
[INFO] running `Command { std: "docker" "inspect" "f25277cde4c7c43f4090443c02e4c5891af87a5bfaaaf42def580081d9863091", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f25277cde4c7c43f4090443c02e4c5891af87a5bfaaaf42def580081d9863091", kill_on_drop: false }`
[INFO] [stdout] f25277cde4c7c43f4090443c02e4c5891af87a5bfaaaf42def580081d9863091