snapup 0.1.8

Abstractions for handling snapshots with streams of subsequent updates
Documentation
Build #2098073 2025-05-10 20:29:35
# rustc version
rustc 1.89.0-nightly (dcecb9917 2025-05-09)# docs.rs version
docsrs 0.6.0 (f7595057 2025-05-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/snapup-0.1.8/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/snapup-0.1.8/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/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\", \"-20250509-1.89.0-nightly-dcecb9917\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0b72f8f05dd495e4e1efee919d1e923c3d2ba6999223fac34dc065557f63fe0f
[INFO] running `Command { std: "docker" "start" "-a" "0b72f8f05dd495e4e1efee919d1e923c3d2ba6999223fac34dc065557f63fe0f", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting snapup v0.1.8 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition name: `CHANNEL_NIGHTLY`
[INFO] [stderr]  --> src/lib.rs:3:22
[INFO] [stderr]   |
[INFO] [stderr] 3 | #![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))]
[INFO] [stderr]   |                      ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[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(CHANNEL_NIGHTLY)'] }
[INFO] [stderr]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(CHANNEL_NIGHTLY)");` 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: missing documentation for a method
[INFO] [stderr]    --> src/lib.rs:105:5
[INFO] [stderr]     |
[INFO] [stderr] 105 | /     pub fn map_keys<R>(
[INFO] [stderr] 106 | |         self,
[INFO] [stderr] 107 | |         f: impl Fn(Key) -> R + Clone,
[INFO] [stderr] 108 | |     ) -> SnapshotWithUpdates<
[INFO] [stderr] 109 | |         impl IntoIterator<Item = (R, Value)>,
[INFO] [stderr] 110 | |         impl Stream<Item = impl IntoIterator<Item = (R, Option<Value>)>>,
[INFO] [stderr] 111 | |     > {
[INFO] [stderr]     | |_____^
[INFO] [stderr]     |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]    --> src/lib.rs:1:9
[INFO] [stderr]     |
[INFO] [stderr] 1   | #![warn(missing_docs)]
[INFO] [stderr]     |         ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a method
[INFO] [stderr]    --> src/lib.rs:129:5
[INFO] [stderr]     |
[INFO] [stderr] 129 | /     pub fn map_values<R>(
[INFO] [stderr] 130 | |         self,
[INFO] [stderr] 131 | |         f: impl Fn(Value) -> R + Clone,
[INFO] [stderr] 132 | |     ) -> SnapshotWithUpdates<
[INFO] [stderr] 133 | |         impl IntoIterator<Item = (Key, R)>,
[INFO] [stderr] 134 | |         impl Stream<Item = impl IntoIterator<Item = (Key, Option<R>)>>,
[INFO] [stderr] 135 | |     > {
[INFO] [stderr]     | |_____^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a method
[INFO] [stderr]    --> src/lib.rs:153:5
[INFO] [stderr]     |
[INFO] [stderr] 153 | /     pub fn filter(
[INFO] [stderr] 154 | |         self,
[INFO] [stderr] 155 | |         f: impl Fn(&Key, &Value) -> bool + Clone,
[INFO] [stderr] 156 | |     ) -> SnapshotWithUpdates<
[INFO] [stderr] 157 | |         impl IntoIterator<Item = (Key, Value)>,
[INFO] [stderr] 158 | |         impl Stream<Item = impl IntoIterator<Item = (Key, Option<Value>)>>,
[INFO] [stderr] 159 | |     > {
[INFO] [stderr]     | |_____^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a method
[INFO] [stderr]    --> src/lib.rs:202:5
[INFO] [stderr]     |
[INFO] [stderr] 202 | /     pub fn filter_keys(
[INFO] [stderr] 203 | |         self,
[INFO] [stderr] 204 | |         f: impl Fn(&Key) -> bool + Clone,
[INFO] [stderr] 205 | |     ) -> SnapshotWithUpdates<
[INFO] [stderr] 206 | |         impl IntoIterator<Item = (Key, Value)>,
[INFO] [stderr] 207 | |         impl Stream<Item = impl IntoIterator<Item = (Key, Option<Value>)>>,
[INFO] [stderr] 208 | |     > {
[INFO] [stderr]     | |_____^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for an enum
[INFO] [stderr]    --> src/lib.rs:259:1
[INFO] [stderr]     |
[INFO] [stderr] 259 | pub enum SnapshotOrUpdate<Snapshot, Update> {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a variant
[INFO] [stderr]    --> src/lib.rs:260:5
[INFO] [stderr]     |
[INFO] [stderr] 260 |     Snapshot(Snapshot),
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a variant
[INFO] [stderr]    --> src/lib.rs:261:5
[INFO] [stderr]     |
[INFO] [stderr] 261 |     Update(Update),
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a method
[INFO] [stderr]   --> src/join_with_parent.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | /     pub fn join_with_optional_parent<ParentKey, ParentValue, ParentSnapshot, ParentUpdates>(
[INFO] [stderr] 15 | |         self,
[INFO] [stderr] 16 | |         other: SnapshotWithUpdates<ParentSnapshot, ParentUpdates>,
[INFO] [stderr] 17 | |         f: impl FnMut(&Key) -> ParentKey,
[INFO] [stderr] ...  |
[INFO] [stderr] 29 | |         ParentUpdates: Stream,
[INFO] [stderr] 30 | |         ParentUpdates::Item: IntoIterator<Item = (ParentKey, Option<ParentValue>)>,
[INFO] [stderr]    | |___________________________________________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a method
[INFO] [stderr]   --> src/join_with_parent.rs:77:5
[INFO] [stderr]    |
[INFO] [stderr] 77 | /     pub fn join_with_parent<ParentKey, ParentValue, ParentSnapshot, ParentUpdates>(
[INFO] [stderr] 78 | |         self,
[INFO] [stderr] 79 | |         other: SnapshotWithUpdates<ParentSnapshot, ParentUpdates>,
[INFO] [stderr] 80 | |         f: impl FnMut(&Key) -> ParentKey,
[INFO] [stderr] ...  |
[INFO] [stderr] 90 | |         ParentUpdates: Stream,
[INFO] [stderr] 91 | |         ParentUpdates::Item: IntoIterator<Item = (ParentKey, Option<ParentValue>)>,
[INFO] [stderr]    | |___________________________________________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: `snapup` (lib doc) generated 10 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.54s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/snapup/index.html
[INFO] running `Command { std: "docker" "inspect" "0b72f8f05dd495e4e1efee919d1e923c3d2ba6999223fac34dc065557f63fe0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b72f8f05dd495e4e1efee919d1e923c3d2ba6999223fac34dc065557f63fe0f", kill_on_drop: false }`
[INFO] [stdout] 0b72f8f05dd495e4e1efee919d1e923c3d2ba6999223fac34dc065557f63fe0f