tensorflow 0.21.0

Rust language bindings for TensorFlow.
Documentation
Build #2066937 2025-05-02 18:39:53
# rustc version
rustc 1.88.0-nightly (3350c1eb3 2025-05-01)# docs.rs version
docsrs 0.6.0 (ee9a3fe6 2025-03-28)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/tensorflow-0.21.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/tensorflow-0.21.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" "--features" "private-docs-rs tensorflow_unstable ndarray eager experimental" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250501-1.88.0-nightly-3350c1eb3\", \"--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] 5c17b8128f44f3b7f0062e2c56ba95766dbf43c1438ddc0cb50e63b19d61336b
[INFO] running `Command { std: "docker" "start" "-a" "5c17b8128f44f3b7f0062e2c56ba95766dbf43c1438ddc0cb50e63b19d61336b", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: addition, expressions, mobilenetv3, regression, regression_checkpoint, regression_savedmodel, xor
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting tensorflow v0.21.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/allocation_description.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/attr_value.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/cluster.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/config.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/coordination_config.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/cost_graph.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/debug.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/full_type.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/function.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/graph.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/graph_debug_info.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/meta_graph.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/node_def.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/op_def.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/resource_handle.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/rewriter_config.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/rpc_options.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/saved_model.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/saved_object_graph.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/saver.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/step_stats.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/struct_pb.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/tensor.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/tensor_description.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/tensor_shape.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/trackable_object_graph.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/types.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/variable.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/verifier_config.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/protos/versions.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | #![allow(box_pointers)]
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `u8`
[INFO] [stderr]    --> src/io.rs:255:23
[INFO] [stderr]     |
[INFO] [stderr] 255 |     /// Allocate a Vec<u8> on the heap and read the next record into it.
[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] 255 |     /// Allocate a `Vec<u8>` on the heap and read the next record into it.
[INFO] [stderr]     |                    +       +
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `u8`
[INFO] [stderr]    --> src/io.rs:307:62
[INFO] [stderr]     |
[INFO] [stderr] 307 |     /// Convert the Reader into an Iterator<Item = Result<Vec<u8>, RecordReadError>, which iterates
[INFO] [stderr]     |                                                              ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `tensorflow` (lib doc) generated 32 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.48s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/tensorflow/index.html
[INFO] running `Command { std: "docker" "inspect" "5c17b8128f44f3b7f0062e2c56ba95766dbf43c1438ddc0cb50e63b19d61336b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c17b8128f44f3b7f0062e2c56ba95766dbf43c1438ddc0cb50e63b19d61336b", kill_on_drop: false }`
[INFO] [stdout] 5c17b8128f44f3b7f0062e2c56ba95766dbf43c1438ddc0cb50e63b19d61336b