bitbazaar 0.8.0

An assortment of publicly available cross-language utilities useful to my projects.
Documentation
Build #1976791 2025-04-09 23:05:30

# rustc version rustc 1.88.0-nightly (d4f880f8c 2025-04-08)

# docs.rs version docsrs 0.6.0 (ee9a3fe6 2025-03-28)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/bitbazaar-0.8.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/bitbazaar-0.8.0/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\", \"-20250408-1.88.0-nightly-d4f880f8c\", \"--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] 90776bbd90573d010286a8f5f1df0ecb873318d25ba0054f055c07a0ba9b7318 [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" "90776bbd90573d010286a8f5f1df0ecb873318d25ba0054f055c07a0ba9b7318", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting bitbazaar v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `Context` [INFO] [stderr] --> bitbazaar/errors/result_ext.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | /// The [`Context`] type of the [`Result`]. [INFO] [stderr] | ^^^^^^^ no item named `Context` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `track_caller` [INFO] [stderr] --> bitbazaar/errors/result_ext.rs:15:50 [INFO] [stderr] | [INFO] [stderr] 15 | /// - Async functions, therefore can't use #[track_caller] yet, once stable those uses can be removed. See <https://github.com/rust-l... [INFO] [stderr] | ^^^^^^^^^^^^ no item named `track_caller` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `global_lock_host` [INFO] [stderr] --> bitbazaar/misc/global_lock.rs:87:69 [INFO] [stderr] | [INFO] [stderr] 87 | /// If wanting to apply to all processes on the host machine, use [`global_lock_host`] instead. [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no item named `global_lock_host` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `global_lock_host` [INFO] [stderr] --> bitbazaar/misc/global_lock.rs:106:69 [INFO] [stderr] | [INFO] [stderr] 106 | /// If wanting to apply to all processes on the host machine, use [`global_lock_host`] instead. [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no item named `global_lock_host` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `batch_after` [INFO] [stderr] --> bitbazaar/misc/lazy_batcher.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | /// Being called [`batch_after`] after the first value was passed. [INFO] [stderr] | ^^^^^^^^^^^ no item named `batch_after` in scope [INFO] [stderr] ... [INFO] [stderr] 113 | / gen!( [INFO] [stderr] 114 | | [Send + Sync], [INFO] [stderr] 115 | | [Send], [INFO] [stderr] 116 | | [Send + 'static], [INFO] [stderr] ... | [INFO] [stderr] 119 | | spawn_threadsafe_fut [INFO] [stderr] 120 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: this warning originates in the macro `gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `batch_after` [INFO] [stderr] --> bitbazaar/misc/lazy_batcher.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | /// Being called [`batch_after`] after the first value was passed. [INFO] [stderr] | ^^^^^^^^^^^ no item named `batch_after` in scope [INFO] [stderr] ... [INFO] [stderr] 121 | / gen!( [INFO] [stderr] 122 | | [], [INFO] [stderr] 123 | | [], [INFO] [stderr] 124 | | ['static], [INFO] [stderr] ... | [INFO] [stderr] 127 | | spawn_local_fut [INFO] [stderr] 128 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: this warning originates in the macro `gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Exponential` [INFO] [stderr] --> bitbazaar/misc/retry.rs:159:38 [INFO] [stderr] | [INFO] [stderr] 159 | /// better throughput than the [`Exponential`] strategy. [INFO] [stderr] | ^^^^^^^^^^^ no item named `Exponential` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `ae` [INFO] [stderr] --> bitbazaar/redis/conn.rs:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | /// - h[ae]llo subscribes to hello and hallo, but not hillo [INFO] [stderr] | ^^ no item named `ae` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `FutRunner::next_batch` [INFO] [stderr] --> bitbazaar/threads/fut_runner.rs:484:23 [INFO] [stderr] | [INFO] [stderr] 484 | /// with either [`FutRunner::next_batch`] or [`FutRunner::drive_remaining`]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the struct `FutRunner` has no field or associated item named `next_batch` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `FutRunner::drive_remaining` [INFO] [stderr] --> bitbazaar/threads/fut_runner.rs:484:52 [INFO] [stderr] | [INFO] [stderr] 484 | /// with either [`FutRunner::next_batch`] or [`FutRunner::drive_remaining`]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `FutRunner` has no field or associated item named `drive_remaining` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `FutRunner::next_batch` [INFO] [stderr] --> bitbazaar/threads/fut_runner.rs:490:23 [INFO] [stderr] | [INFO] [stderr] 490 | /// with either [`FutRunner::next_batch`] or [`FutRunner::drive_remaining`]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the struct `FutRunner` has no field or associated item named `next_batch` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `FutRunner::drive_remaining` [INFO] [stderr] --> bitbazaar/threads/fut_runner.rs:490:52 [INFO] [stderr] | [INFO] [stderr] 490 | /// with either [`FutRunner::next_batch`] or [`FutRunner::drive_remaining`]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `FutRunner` has no field or associated item named `drive_remaining` [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> bitbazaar/threads/fut_runner.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | /// https://users.rust-lang.org/t/async-closure-that-references-arguments/73534/6 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 25 | /// <https://users.rust-lang.org/t/async-closure-that-references-arguments/73534/6> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `R` [INFO] [stderr] --> bitbazaar/threads/fut_runner.rs:474:89 [INFO] [stderr] | [INFO] [stderr] 474 | /// Drives the remaining futures in the stream to completion, returning all in a Vec<R>. [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 474 | /// Drives the remaining futures in the stream to completion, returning all in a `Vec<R>`. [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `md5` is both a function and a crate [INFO] [stderr] --> bitbazaar/crypto/md5.rs:14:43 [INFO] [stderr] | [INFO] [stderr] 14 | /// md5 hash function, lower level than [`md5`] to allow multiple inputs and byte output. [INFO] [stderr] | ^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] help: to link to the function, add parentheses [INFO] [stderr] | [INFO] [stderr] 14 | /// md5 hash function, lower level than [`md5()`] to allow multiple inputs and byte output. [INFO] [stderr] | ++ [INFO] [stderr] help: to link to the crate, prefix with `mod@` [INFO] [stderr] | [INFO] [stderr] 14 | /// md5 hash function, lower level than [`mod@md5`] to allow multiple inputs and byte output. [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `bitbazaar` (lib doc) generated 15 warnings (run `cargo fix --lib -p bitbazaar` to apply 1 suggestion) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: conch-parser v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/bitbazaar/index.html [INFO] running `Command { std: "docker" "inspect" "90776bbd90573d010286a8f5f1df0ecb873318d25ba0054f055c07a0ba9b7318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90776bbd90573d010286a8f5f1df0ecb873318d25ba0054f055c07a0ba9b7318", kill_on_drop: false }` [INFO] [stdout] 90776bbd90573d010286a8f5f1df0ecb873318d25ba0054f055c07a0ba9b7318