gtensor 1.0.0

Reverse-mode autodifferentiation of computational graphs with tensors and more for machine learning.
Documentation
Build #1868568 2025-03-15 01:36:37

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.87.0-nightly (ecade534c 2025-03-14)

# docs.rs version docsrs 0.6.0 (004a02c4 2025-03-05)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/gtensor-1.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/gtensor-1.0.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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250314-1.87.0-nightly-ecade534c\", \"--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] 7698b75184655af3b3f74ed3d6b244dfeb68e59b989f2c7f037842c55cd93ab7 [INFO] running `Command { std: "docker" "start" "-a" "7698b75184655af3b3f74ed3d6b244dfeb68e59b989f2c7f037842c55cd93ab7", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: classification, knn_mnist, regression [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] Checking serde v1.0.219 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking metatype v0.2.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking anyhow v1.0.97 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] error[E0658]: `*const T` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:114:24 [INFO] [stderr] | [INFO] [stderr] 114 | default fn meta(self: *const Self) -> Self::Meta { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*const T` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:121:24 [INFO] [stderr] | [INFO] [stderr] 121 | default fn data(self: *const Self) -> *const () { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*mut T` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:125:28 [INFO] [stderr] | [INFO] [stderr] 125 | default fn data_mut(self: *mut Self) -> *mut () { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*const T` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:159:16 [INFO] [stderr] | [INFO] [stderr] 159 | fn meta(self: *const Self) -> Self::Meta { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*const T` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:163:16 [INFO] [stderr] | [INFO] [stderr] 163 | fn data(self: *const Self) -> *const () { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*mut T` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:167:20 [INFO] [stderr] | [INFO] [stderr] 167 | fn data_mut(self: *mut Self) -> *mut () { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*const [T]` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:182:16 [INFO] [stderr] | [INFO] [stderr] 182 | fn meta(self: *const Self) -> Self::Meta { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*const [T]` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:191:16 [INFO] [stderr] | [INFO] [stderr] 191 | fn data(self: *const Self) -> *const () { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*mut [T]` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:195:20 [INFO] [stderr] | [INFO] [stderr] 195 | fn data_mut(self: *mut Self) -> *mut () { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*const str` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:211:16 [INFO] [stderr] | [INFO] [stderr] 211 | fn meta(self: *const Self) -> Self::Meta { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*const str` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:217:16 [INFO] [stderr] | [INFO] [stderr] 217 | fn data(self: *const Self) -> *const () { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*mut str` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:221:20 [INFO] [stderr] | [INFO] [stderr] 221 | fn data_mut(self: *mut Self) -> *mut () { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*const Self` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:67:21 [INFO] [stderr] | [INFO] [stderr] 67 | fn meta_type(self: *const Self) -> MetaType { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*const Self` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:71:16 [INFO] [stderr] | [INFO] [stderr] 71 | fn meta(self: *const Self) -> Self::Meta; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*const Self` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:73:16 [INFO] [stderr] | [INFO] [stderr] 73 | fn data(self: *const Self) -> *const (); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] error[E0658]: `*mut Self` cannot be used as the type of `self` without the `arbitrary_self_types_pointers` feature [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metatype-0.2.1/src/lib.rs:75:20 [INFO] [stderr] | [INFO] [stderr] 75 | fn data_mut(self: *mut Self) -> *mut (); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #44874 <https://github.com/rust-lang/rust/issues/44874> for more information [INFO] [stderr] = help: add `#![feature(arbitrary_self_types_pointers)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-03-14; consider upgrading it if it is out of date [INFO] [stderr] = help: consider changing to `self`, `&self`, `&mut self`, or a type implementing `Receiver` such as `self: Box<Self>`, `self: Rc<Self>`, or `self: Arc<Self>` [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] error: could not compile `metatype` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7698b75184655af3b3f74ed3d6b244dfeb68e59b989f2c7f037842c55cd93ab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7698b75184655af3b3f74ed3d6b244dfeb68e59b989f2c7f037842c55cd93ab7", kill_on_drop: false }` [INFO] [stdout] 7698b75184655af3b3f74ed3d6b244dfeb68e59b989f2c7f037842c55cd93ab7