portable-io 0.0.1

" A subset of Rust `std::io` functionality supported for `no-std`.
Build #1598971 2024-12-24T19:54:32.900166+00:00
# rustc version
rustc 1.85.0-nightly (bdc6b3de4 2024-12-23)# docs.rs version
docsrs 0.6.0 (a9496dd3 2024-12-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/portable-io-0.0.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/portable-io-0.0.1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241223-1.85.0-nightly-bdc6b3de4\", \"--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] 6b223ab645fc8b83f8bc2ce3ebf7fb736902d2c8243b2991877f86b4d6619830
[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" "6b223ab645fc8b83f8bc2ce3ebf7fb736902d2c8243b2991877f86b4d6619830", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting portable-io v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error: `alloc` feature is currently required for this library to build
[INFO] [stderr]   --> src/lib.rs:44:1
[INFO] [stderr]    |
[INFO] [stderr] 44 | compile_error!("`alloc` feature is currently required for this library to build");
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `portable_io_unstable_all`
[INFO] [stderr]   --> src/lib.rs:47:19
[INFO] [stderr]    |
[INFO] [stderr] 47 | #[cfg(not(any(doc,portable_io_unstable_all)))]
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `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(portable_io_unstable_all)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(portable_io_unstable_all)");` 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: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stderr]   --> src/lib.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | #![feature(specialization)]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
[INFO] [stderr]    = help: consider using `min_specialization` instead, which is more stable and complete
[INFO] [stderr]    = note: `#[warn(incomplete_features)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: the feature `slice_internals` is internal to the compiler or standard library
[INFO] [stderr]   --> src/lib.rs:12:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | #![feature(slice_internals)]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: using it is strongly discouraged
[INFO] [stderr]    = note: `#[warn(internal_features)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `portable-io` (lib doc) generated 3 warnings
[INFO] [stderr] error: could not document `portable-io`
[INFO] running `Command { std: "docker" "inspect" "6b223ab645fc8b83f8bc2ce3ebf7fb736902d2c8243b2991877f86b4d6619830", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b223ab645fc8b83f8bc2ce3ebf7fb736902d2c8243b2991877f86b4d6619830", kill_on_drop: false }`
[INFO] [stdout] 6b223ab645fc8b83f8bc2ce3ebf7fb736902d2c8243b2991877f86b4d6619830