[go: up one dir, main page]

bastion 0.4.5

Fault-tolerant Runtime for Rust applications
Documentation
Build #2477500 2025-09-05 03:53:03
# rustc version
rustc 1.91.0-nightly (af00ff2ce 2025-09-04)# docs.rs version
docsrs 0.6.0 (8bbaf878 2025-08-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/bastion-0.4.5/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/bastion-0.4.5/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "docs" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \'feature=\"docs\"\', \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250904-1.91.0-nightly-af00ff2ce\", \"--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] 6d24f005ba2f31ac618690029d7b81e72acf6825e0ee8c691c69fae59547002a
[INFO] running `Command { std: "docker" "start" "-a" "6d24f005ba2f31ac618690029d7b81e72acf6825e0ee8c691c69fae59547002a", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting bastion v0.4.5 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> src/dispatcher.rs:354:59
[INFO] [stderr]     |
[INFO] [stderr] 354 |     pub distributors: Arc<RwLock<HashMap<Distributor, Box<(dyn RecipientHandler)>>>>,
[INFO] [stderr]     |                                                           ^                    ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 354 -     pub distributors: Arc<RwLock<HashMap<Distributor, Box<(dyn RecipientHandler)>>>>,
[INFO] [stderr] 354 +     pub distributors: Arc<RwLock<HashMap<Distributor, Box<dyn RecipientHandler>>>>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]    --> src/dispatcher.rs:575:45
[INFO] [stderr]     |
[INFO] [stderr] 575 |                 Box::new(recipients) as Box<(dyn RecipientHandler)>,
[INFO] [stderr]     |                                             ^                    ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 575 -                 Box::new(recipients) as Box<(dyn RecipientHandler)>,
[INFO] [stderr] 575 +                 Box::new(recipients) as Box<dyn RecipientHandler>,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `distributed`
[INFO] [stderr]    --> src/macros.rs:328:50
[INFO] [stderr]     |
[INFO] [stderr] 328 |               #[cfg_attr(feature = "docs", doc(cfg(distributed)))]
[INFO] [stderr]     |                                                    ^^^^^^^^^^^ help: found config with similar value: `feature = "distributed"`
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/bastion.rs:17:1
[INFO] [stderr]     |
[INFO] [stderr]  17 | / distributed_api! {
[INFO] [stderr]  18 | |     use std::sync::Arc;
[INFO] [stderr]  19 | |     use crate::distributed::*;
[INFO] [stderr]  20 | |     use artillery_core::cluster::ap::*;
[INFO] [stderr]  21 | | }
[INFO] [stderr]     | |_- in this macro invocation
[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(distributed)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(distributed)");` 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]     = note: this warning originates in the macro `distributed_api` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `distributed`
[INFO] [stderr]    --> src/macros.rs:328:50
[INFO] [stderr]     |
[INFO] [stderr] 328 |               #[cfg_attr(feature = "docs", doc(cfg(distributed)))]
[INFO] [stderr]     |                                                    ^^^^^^^^^^^ help: found config with similar value: `feature = "distributed"`
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/bastion.rs:444:5
[INFO] [stderr]     |
[INFO] [stderr] 444 | /     distributed_api! {
[INFO] [stderr] 445 | |         // FIXME!
[INFO] [stderr] 446 | |         #[allow(missing_docs)]
[INFO] [stderr] 447 | |         pub fn distributed<I, F>(cluster_config: &'static ArtilleryAPClusterConfig, action: I) -> Result<ChildrenRef, ()>
[INFO] [stderr] ...   |
[INFO] [stderr] 454 | |     }
[INFO] [stderr]     | |_____- in this macro invocation
[INFO] [stderr]     |
[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(distributed)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(distributed)");` 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: this warning originates in the macro `distributed_api` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `distributed`
[INFO] [stderr]    --> src/macros.rs:328:50
[INFO] [stderr]     |
[INFO] [stderr] 328 |               #[cfg_attr(feature = "docs", doc(cfg(distributed)))]
[INFO] [stderr]     |                                                    ^^^^^^^^^^^ help: found config with similar value: `feature = "distributed"`
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:94:1
[INFO] [stderr]     |
[INFO] [stderr]  94 | / distributed_api! {
[INFO] [stderr]  95 | |     // pub mod dist_messages;
[INFO] [stderr]  96 | |     pub mod distributed;
[INFO] [stderr]  97 | | }
[INFO] [stderr]     | |_- in this macro invocation
[INFO] [stderr]     |
[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(distributed)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(distributed)");` 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: this warning originates in the macro `distributed_api` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `distributed`
[INFO] [stderr]    --> src/macros.rs:328:50
[INFO] [stderr]     |
[INFO] [stderr] 328 |               #[cfg_attr(feature = "docs", doc(cfg(distributed)))]
[INFO] [stderr]     |                                                    ^^^^^^^^^^^ help: found config with similar value: `feature = "distributed"`
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/lib.rs:129:5
[INFO] [stderr]     |
[INFO] [stderr] 129 | /     distributed_api! {
[INFO] [stderr] 130 | |         // pub use crate::dist_messages::*;
[INFO] [stderr] 131 | |         pub use crate::distributed::*;
[INFO] [stderr] 132 | |         pub use artillery_core::cluster::ap::*;
[INFO] [stderr] 133 | |         pub use artillery_core::epidemic::prelude::*;
[INFO] [stderr] 134 | |     }
[INFO] [stderr]     | |_____- in this macro invocation
[INFO] [stderr]     |
[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(distributed)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(distributed)");` 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: this warning originates in the macro `distributed_api` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Resizer`
[INFO] [stderr]    --> src/children.rs:484:44
[INFO] [stderr]     |
[INFO] [stderr] 484 |     /// * `resizer` - An instance of the [`Resizer`] struct.
[INFO] [stderr]     |                                            ^^^^^^^ no item named `Resizer` 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 `msg`
[INFO] [stderr]   --> src/message.rs:49:38
[INFO] [stderr]    |
[INFO] [stderr] 49 | /// answered by the child (see the [`msg!`] macro for more
[INFO] [stderr]    |                                      ^^^^ no item named `msg` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `msg` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `msg`
[INFO] [stderr]    --> src/message.rs:135:7
[INFO] [stderr]     |
[INFO] [stderr] 135 | /// [`msg!`] macro to try to match what its real type is.
[INFO] [stderr]     |       ^^^^ no item named `msg` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `msg` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `msg`
[INFO] [stderr]    --> src/message.rs:908:33
[INFO] [stderr]     |
[INFO] [stderr] 908 | /// This type may replace the [`msg!`] macro in the future.
[INFO] [stderr]     |                                 ^^^^ no item named `msg` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `msg` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: `bastion` (lib doc) generated 10 warnings (run `cargo fix --lib -p bastion` to apply 2 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.64s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: artillery-core v0.1.2
[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/bastion/index.html
[INFO] running `Command { std: "docker" "inspect" "6d24f005ba2f31ac618690029d7b81e72acf6825e0ee8c691c69fae59547002a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d24f005ba2f31ac618690029d7b81e72acf6825e0ee8c691c69fae59547002a", kill_on_drop: false }`
[INFO] [stdout] 6d24f005ba2f31ac618690029d7b81e72acf6825e0ee8c691c69fae59547002a