graph-api-lib 0.2.1

Core library for the graph-api ecosystem - a flexible, type-safe API for working with in-memory graphs in Rust
Documentation
Build #2223768 2025-06-13 21:58:36
# rustc version
rustc 1.89.0-nightly (573a01569 2025-06-12)# docs.rs version
docsrs 0.6.0 (d2911047 2025-05-28)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/graph-api-lib-0.2.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/graph-api-lib-0.2.1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250612-1.89.0-nightly-573a01569\", \"--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" "--config" "build.rustdocflags=[\"-Zmetrics-dir=/opt/rustwide/target/metrics\"]", 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] 6605fa44c630e5325e8bddedac8bf179981d1eaefa8b1103fe91f2264df897cc
[INFO] running `Command { std: "docker" "start" "-a" "6605fa44c630e5325e8bddedac8bf179981d1eaefa8b1103fe91f2264df897cc", kill_on_drop: false }`
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/element.rs:14:14
[INFO] [stderr]    |
[INFO] [stderr] 14 |     fn value(&self, _index: &<Self::Label as Label>::Index) -> Option<Value> {
[INFO] [stderr]    |              ^^^^^ this lifetime flows to the output                  ----- the lifetime gets resolved as `'_`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 14 |     fn value(&self, _index: &<Self::Label as Label>::Index) -> Option<Value<'_>> {
[INFO] [stderr]    |                                                                            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]    --> src/graph.rs:163:13
[INFO] [stderr]     |
[INFO] [stderr] 163 |     fn walk(&self) -> StartWalkerBuilder<ImmutableMarker, Self, ()>
[INFO] [stderr]     |             ^^^^^     --------------------------------------------- the lifetime gets resolved as `'_`
[INFO] [stderr]     |             |
[INFO] [stderr]     |             this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 163 |     fn walk(&self) -> StartWalkerBuilder<'_, ImmutableMarker, Self, ()>
[INFO] [stderr]     |                                          +++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]    --> src/graph.rs:171:17
[INFO] [stderr]     |
[INFO] [stderr] 171 |     fn walk_mut(&mut self) -> StartWalkerBuilder<MutableMarker, Self, ()>
[INFO] [stderr]     |                 ^^^^^^^^^     ------------------------------------------- the lifetime gets resolved as `'_`
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 171 |     fn walk_mut(&mut self) -> StartWalkerBuilder<'_, MutableMarker, Self, ()>
[INFO] [stderr]     |                                                  +++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]    --> src/walker/mod.rs:131:28
[INFO] [stderr]     |
[INFO] [stderr] 131 |     fn edges(self, search: EdgeSearch<Self::Graph>) -> Edges<'_, 'graph, Self> {
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^           -- the lifetime gets resolved as `'_`
[INFO] [stderr]     |                            |
[INFO] [stderr]     |                            this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr] help: one option is to consistently use `'_`
[INFO] [stderr]     |
[INFO] [stderr] 131 |     fn edges(self, search: EdgeSearch<'_, Self::Graph>) -> Edges<'_, 'graph, Self> {
[INFO] [stderr]     |                                       +++
[INFO] [stderr] 
[INFO] [stderr] warning: `graph-api-lib` (lib) generated 4 warnings (run `cargo fix --lib -p graph-api-lib` to apply 4 suggestions)
[INFO] [stderr]     Scraping graph-api-lib v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "vertices" in package `graph-api-lib` 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: `graph-api-lib` (example "vertices") generated 1 warning
[INFO] [stderr] warning: failed to scan example "into_iter" in package `graph-api-lib` 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: failed to scan example "mutate_context" in package `graph-api-lib` 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: `graph-api-lib` (example "mutate_context") generated 1 warning
[INFO] [stderr] warning: `graph-api-lib` (example "into_iter") generated 1 warning
[INFO] [stderr] warning: failed to scan example "control_flow" in package `graph-api-lib` 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: failed to scan example "first" in package `graph-api-lib` 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: `graph-api-lib` (example "first") generated 1 warning
[INFO] [stderr] warning: `graph-api-lib` (example "control_flow") generated 1 warning
[INFO] [stderr] warning: failed to scan example "custom_step" in package `graph-api-lib` 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: `graph-api-lib` (example "custom_step") generated 1 warning
[INFO] [stderr] warning: failed to scan example "edges" in package `graph-api-lib` 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: failed to scan example "tail" in package `graph-api-lib` 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: `graph-api-lib` (example "tail") generated 1 warning
[INFO] [stderr] warning: `graph-api-lib` (example "edges") generated 1 warning
[INFO] [stderr] warning: failed to scan example "probe" in package `graph-api-lib` 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: `graph-api-lib` (example "probe") generated 1 warning
[INFO] [stderr] warning: failed to scan example "detour" in package `graph-api-lib` 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: `graph-api-lib` (example "detour") generated 1 warning
[INFO] [stderr] warning: failed to scan example "context" in package `graph-api-lib` 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: `graph-api-lib` (example "context") generated 1 warning
[INFO] [stderr] warning: failed to scan example "boxed" in package `graph-api-lib` 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: `graph-api-lib` (example "boxed") generated 1 warning
[INFO] [stderr] warning: failed to scan example "collect" in package `graph-api-lib` 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: failed to scan example "vertices_by_id" in package `graph-api-lib` 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: `graph-api-lib` (example "vertices_by_id") generated 1 warning
[INFO] [stderr] warning: `graph-api-lib` (example "collect") generated 1 warning
[INFO] [stderr] warning: failed to scan example "fold" in package `graph-api-lib` 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: `graph-api-lib` (example "fold") generated 1 warning
[INFO] [stderr] warning: failed to scan example "reduce" in package `graph-api-lib` 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: `graph-api-lib` (example "reduce") generated 1 warning
[INFO] [stderr] warning: failed to scan example "count" in package `graph-api-lib` 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: failed to scan example "filter" in package `graph-api-lib` 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: `graph-api-lib` (example "count") generated 1 warning
[INFO] [stderr] warning: `graph-api-lib` (example "filter") generated 1 warning
[INFO] [stderr] warning: failed to scan example "map" in package `graph-api-lib` 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: failed to scan example "take" in package `graph-api-lib` 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: failed to scan example "dbg" in package `graph-api-lib` 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: failed to scan example "head" in package `graph-api-lib` 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: `graph-api-lib` (example "map") generated 1 warning
[INFO] [stderr] warning: `graph-api-lib` (example "dbg") generated 1 warning
[INFO] [stderr] warning: `graph-api-lib` (example "take") generated 1 warning
[INFO] [stderr] warning: failed to scan example "mutate" in package `graph-api-lib` 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: `graph-api-lib` (example "head") generated 1 warning
[INFO] [stderr] warning: `graph-api-lib` (example "mutate") generated 1 warning
[INFO] [stderr] warning: failed to scan example "default_context" in package `graph-api-lib` 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: `graph-api-lib` (example "default_context") generated 1 warning
[INFO] [stderr]  Documenting graph-api-lib v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.79s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/graph_api_lib/index.html
[INFO] running `Command { std: "docker" "inspect" "6605fa44c630e5325e8bddedac8bf179981d1eaefa8b1103fe91f2264df897cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6605fa44c630e5325e8bddedac8bf179981d1eaefa8b1103fe91f2264df897cc", kill_on_drop: false }`
[INFO] [stdout] 6605fa44c630e5325e8bddedac8bf179981d1eaefa8b1103fe91f2264df897cc