constensor-core 0.1.1

Experimental ML framework featuring a graph-based JIT compiler.
Documentation
Build #2257662 2025-06-24 04:47:26

# rustc version rustc 1.90.0-nightly (706f244db 2025-06-23)

# docs.rs version docsrs 0.6.0 (0a8149e8 2025-06-15)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/constensor-core-0.1.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/constensor-core-0.1.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\", \"-20250623-1.90.0-nightly-706f244db\", \"--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] dc7fed3761280c3e37634ab3e5f9c46ddad5b50778db7a13d082313f9b686c80 [INFO] running `Command { std: "docker" "start" "-a" "dc7fed3761280c3e37634ab3e5f9c46ddad5b50778db7a13d082313f9b686c80", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cpu_storage/mod.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | fn to_cpu_storage(&self) -> Result<Cow<CpuStorage<T>>> { [INFO] [stderr] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [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] 30 | fn to_cpu_storage(&self) -> Result<Cow<'_, CpuStorage<T>>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/graph.rs:44:20 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn get_ops(&self) -> RwLockReadGuard<Vec<GraphNode<T>>> { [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] 44 | pub fn get_ops(&self) -> RwLockReadGuard<'_, Vec<GraphNode<T>>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/storage.rs:14:34 [INFO] [stderr] | [INFO] [stderr] 14 | pub(crate) fn to_cpu_storage(&self) -> Result<Cow<CpuStorage<T>>> { [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] 14 | pub(crate) fn to_cpu_storage(&self) -> Result<Cow<'_, CpuStorage<T>>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/storage.rs:32:23 [INFO] [stderr] | [INFO] [stderr] 32 | fn to_cpu_storage(&self) -> Result<Cow<CpuStorage<T>>>; [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] 32 | fn to_cpu_storage(&self) -> Result<Cow<'_, CpuStorage<T>>>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/tensor/concretetensor.rs:63:25 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn data(&self) -> Result<Cow<Vec<T>>> { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 110 | tensor_api!(Cpu); [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `tensor_api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 63 | pub fn data(&self) -> Result<Cow<'_, Vec<T>>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/tensor/concretetensor.rs:71:25 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn data(&self) -> Result<Cow<Vec<Vec<T>>>> { [INFO] [stderr] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 110 | tensor_api!(Cpu); [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `tensor_api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 71 | pub fn data(&self) -> Result<Cow<'_, Vec<Vec<T>>>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/tensor/concretetensor.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn data(&self) -> Result<Cow<Vec<Vec<Vec<T>>>>> { [INFO] [stderr] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 110 | tensor_api!(Cpu); [INFO] [stderr] | ---------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `tensor_api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 89 | pub fn data(&self) -> Result<Cow<'_, Vec<Vec<Vec<T>>>>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/tensor/graphtensor.rs:165:18 [INFO] [stderr] | [INFO] [stderr] 165 | pub fn graph(&self) -> RwLockReadGuard<Graph<T>> { [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] 165 | pub fn graph(&self) -> RwLockReadGuard<'_, Graph<T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `constensor-core` (lib) generated 8 warnings (run `cargo fix --lib -p constensor-core` to apply 8 suggestions) [INFO] [stderr] Scraping constensor-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Documenting constensor-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.63s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/constensor_core/index.html [INFO] running `Command { std: "docker" "inspect" "dc7fed3761280c3e37634ab3e5f9c46ddad5b50778db7a13d082313f9b686c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc7fed3761280c3e37634ab3e5f9c46ddad5b50778db7a13d082313f9b686c80", kill_on_drop: false }` [INFO] [stdout] dc7fed3761280c3e37634ab3e5f9c46ddad5b50778db7a13d082313f9b686c80