[go: up one dir, main page]

tower-balance 0.3.0

Balance load across a set of uniform services.
Documentation
Build #1752520 2025-02-14 12:55:01
# rustc version
rustc 1.86.0-nightly (a567209da 2025-02-13)# docs.rs version
docsrs 0.6.0 (35977596 2025-02-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/tower-balance-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/tower-balance-0.3.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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250213-1.86.0-nightly-a567209da\", \"--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] 8138d798561724c88152a01301e219f13b20e0b4b4d73f1a4a8ead6f49a3c457
[INFO] running `Command { std: "docker" "start" "-a" "8138d798561724c88152a01301e219f13b20e0b4b4d73f1a4a8ead6f49a3c457", kill_on_drop: false }`
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]   --> src/p2c/make.rs:24:1
[INFO] [stderr]    |
[INFO] [stderr] 24 | #[pin_project]
[INFO] [stderr]    | ^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]    = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/p2c/make.rs:24:1
[INFO] [stderr]    |
[INFO] [stderr] 24 | #[pin_project]
[INFO] [stderr]    | ^-------------
[INFO] [stderr]    | |
[INFO] [stderr]    | `Unpin` is not local
[INFO] [stderr]    | move the `impl` block outside of this function `__unpin_scope_MakeFuture`
[INFO] [stderr] 25 | #[derive(Debug)]
[INFO] [stderr] 26 | pub struct MakeFuture<F, Req> {
[INFO] [stderr]    |            ---------- `MakeFuture` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]    = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]   --> src/p2c/service.rs:66:1
[INFO] [stderr]    |
[INFO] [stderr] 66 | #[pin_project]
[INFO] [stderr]    | ^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/p2c/service.rs:66:1
[INFO] [stderr]    |
[INFO] [stderr] 66 | #[pin_project]
[INFO] [stderr]    | ^-------------
[INFO] [stderr]    | |
[INFO] [stderr]    | `Unpin` is not local
[INFO] [stderr]    | move the `impl` block outside of this function `__unpin_scope_UnreadyService`
[INFO] [stderr] ...
[INFO] [stderr] 71 | struct UnreadyService<K, S, Req> {
[INFO] [stderr]    |        -------------- `UnreadyService` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]   --> src/pool/mod.rs:48:1
[INFO] [stderr]    |
[INFO] [stderr] 48 | #[pin_project]
[INFO] [stderr]    | ^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/pool/mod.rs:48:1
[INFO] [stderr]    |
[INFO] [stderr] 48 | #[pin_project]
[INFO] [stderr]    | ^-------------
[INFO] [stderr]    | |
[INFO] [stderr]    | `Unpin` is not local
[INFO] [stderr]    | move the `impl` block outside of this function `__unpin_scope_PoolDiscoverer`
[INFO] [stderr] 49 | pub struct PoolDiscoverer<MS, Target, Request>
[INFO] [stderr]    |            -------------- `PoolDiscoverer` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `tower-balance` (lib) generated 6 warnings
[INFO] [stderr]     Scraping tower-balance v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "demo" in package `tower-balance` 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: `tower-balance` (example "demo") generated 1 warning
[INFO] [stderr]  Documenting tower-balance v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.51s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/tower_balance/index.html
[INFO] running `Command { std: "docker" "inspect" "8138d798561724c88152a01301e219f13b20e0b4b4d73f1a4a8ead6f49a3c457", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8138d798561724c88152a01301e219f13b20e0b4b4d73f1a4a8ead6f49a3c457", kill_on_drop: false }`
[INFO] [stdout] 8138d798561724c88152a01301e219f13b20e0b4b4d73f1a4a8ead6f49a3c457