reis 0.4.0

Pure Rust implementation of libei/libeis protocol.
Documentation
Build #1487052 2024-10-30T19:02:32.219381+00:00
# rustc version
rustc 1.84.0-nightly (1e4f10ba6 2024-10-29)# docs.rs version
docsrs 0.6.0 (83e30f05 2024-10-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/reis-0.4.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/reis-0.4.0/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\", \"-20241029-1.84.0-nightly-1e4f10ba6\", \"--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-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-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] e660b368c88c594d45cd591a8fb0c445fa8572c3b8fcaee532fb0058cc947f24
[INFO] running `Command { std: "docker" "start" "-a" "e660b368c88c594d45cd591a8fb0c445fa8572c3b8fcaee532fb0058cc947f24", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: list-devices, receive, receive-synchronous, reis-demo-server, type-text
[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 reis v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]  --> src/ei.rs:3:9
[INFO] [stderr]   |
[INFO] [stderr] 3 |     os::unix::{
[INFO] [stderr]   |         ^^^^ could not find `unix` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:27:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:19:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:65:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:64:1
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]  --> src/eis.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 8 |     os::unix::{
[INFO] [stderr]   |         ^^^^ could not find `unix` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:27:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:19:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:65:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:64:1
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]   --> src/event.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |     os::unix::io::OwnedFd,
[INFO] [stderr]    |         ^^^^ could not find `unix` in `os`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:27:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:19:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:65:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:64:1
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]  --> src/util.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 9 |     os::unix::{
[INFO] [stderr]   |         ^^^^ could not find `unix` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:27:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:19:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:65:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:64:1
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]  --> src/wire/mod.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 8 |     os::unix::io::OwnedFd,
[INFO] [stderr]   |         ^^^^ could not find `unix` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:27:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:19:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:65:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:64:1
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]  --> src/wire/arg.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |     os::unix::io::{AsFd, AsRawFd, BorrowedFd, OwnedFd},
[INFO] [stderr]   |         ^^^^ could not find `unix` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:27:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:19:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:65:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:64:1
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `rustix::fs`, `rustix::io::IoSlice`, `rustix::io::IoSliceMut`
[INFO] [stderr]    --> src/util.rs:2:5
[INFO] [stderr]     |
[INFO] [stderr] 2   |     fs::FlockOperation,
[INFO] [stderr]     |     ^^ could not find `fs` in `rustix`
[INFO] [stderr] 3   |     io::{retry_on_intr, IoSlice, IoSliceMut},
[INFO] [stderr]     |                         ^^^^^^^  ^^^^^^^^^^ no `IoSliceMut` in `io`
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         no `IoSlice` in `io`
[INFO] [stderr]     |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.37/src/lib.rs:205:9
[INFO] [stderr]     |
[INFO] [stderr] 205 | pub mod fs;
[INFO] [stderr]     |         ^^
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.37/src/lib.rs:202:1
[INFO] [stderr]     |
[INFO] [stderr] 202 | #[cfg(not(windows))]
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.37/src/lib.rs:318:16
[INFO] [stderr]     |
[INFO] [stderr] 318 | pub(crate) mod fs;
[INFO] [stderr]     |                ^^
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.37/src/lib.rs:303:1
[INFO] [stderr]     |
[INFO] [stderr] 303 | #[cfg(not(windows))]
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = help: consider importing one of these structs instead:
[INFO] [stderr]             crate::util::io::IoSlice
[INFO] [stderr]             std::io::IoSlice
[INFO] [stderr]     = help: consider importing one of these structs instead:
[INFO] [stderr]             crate::util::io::IoSliceMut
[INFO] [stderr]             std::io::IoSliceMut
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]   --> src/wire/backend.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |     os::unix::{
[INFO] [stderr]    |         ^^^^ could not find `unix` in `os`
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:27:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:19:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:65:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]   --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:64:1
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `rustix::io::IoSlice`
[INFO] [stderr]  --> src/wire/backend.rs:7:25
[INFO] [stderr]   |
[INFO] [stderr] 7 | use rustix::io::{Errno, IoSlice};
[INFO] [stderr]   |                         ^^^^^^^ no `IoSlice` in `io`
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider importing one of these structs instead:
[INFO] [stderr]           crate::wire::backend::io::IoSlice
[INFO] [stderr]           std::io::IoSlice
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `cmsg_space` in `rustix`
[INFO] [stderr]   --> src/util.rs:35:42
[INFO] [stderr]    |
[INFO] [stderr] 35 |     let mut cmsg_space = vec![0; rustix::cmsg_space!(ScmRights(fds.len()))];
[INFO] [stderr]    |                                          ^^^^^^^^^^ could not find `cmsg_space` in `rustix`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `cmsg_space` in `rustix`
[INFO] [stderr]   --> src/util.rs:49:42
[INFO] [stderr]    |
[INFO] [stderr] 49 |     let mut cmsg_space = vec![0; rustix::cmsg_space!(ScmRights(MAX_FDS))];
[INFO] [stderr]    |                                          ^^^^^^^^^^ could not find `cmsg_space` in `rustix`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]     --> src/eiproto_ei.rs:2530:30
[INFO] [stderr]      |
[INFO] [stderr] 2530 |             keymap: std::os::unix::io::OwnedFd,
[INFO] [stderr]      |                              ^^^^ could not find `unix` in `os`
[INFO] [stderr]      |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]     --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:27:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]     --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:19:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]     --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:65:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]     --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:64:1
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]     --> src/eiproto_eis.rs:2374:30
[INFO] [stderr]      |
[INFO] [stderr] 2374 |             keymap: std::os::unix::io::BorrowedFd,
[INFO] [stderr]      |                              ^^^^ could not find `unix` in `os`
[INFO] [stderr]      |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]     --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:27:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]     --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:19:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]     --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:65:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]     --> /rustc/1e4f10ba6476e48a42a79b9f846a2d9366525b9e\library\std\src\os\mod.rs:64:1
[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 `reis`
[INFO] running `Command { std: "docker" "inspect" "e660b368c88c594d45cd591a8fb0c445fa8572c3b8fcaee532fb0058cc947f24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e660b368c88c594d45cd591a8fb0c445fa8572c3b8fcaee532fb0058cc947f24", kill_on_drop: false }`
[INFO] [stdout] e660b368c88c594d45cd591a8fb0c445fa8572c3b8fcaee532fb0058cc947f24