gtensor 1.0.0

Reverse-mode autodifferentiation of computational graphs with tensors and more for machine learning.
Documentation
Build #1671555 2025-01-26 01:40:01

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.86.0-nightly (f7cc13af8 2025-01-25)

# docs.rs version docsrs 0.6.0 (29a0e81b 2025-01-22)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/gtensor-1.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/gtensor-1.0.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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250125-1.86.0-nightly-f7cc13af8\", \"--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] 5476bf7ec35d29559e8752e494fb05e9d381d91fbf3ad93df20345b8503aa773 [INFO] running `Command { std: "docker" "start" "-a" "5476bf7ec35d29559e8752e494fb05e9d381d91fbf3ad93df20345b8503aa773", 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] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking palaver v0.2.8 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking metatype v0.2.1 [INFO] [stderr] Checking fastrand v2.3.0 [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-01-25; 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-01-25; 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-01-25; 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-01-25; 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-01-25; 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-01-25; 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-01-25; 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-01-25; 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-01-25; 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-01-25; 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-01-25; 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-01-25; 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-01-25; 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-01-25; 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-01-25; 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-01-25; 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" "5476bf7ec35d29559e8752e494fb05e9d381d91fbf3ad93df20345b8503aa773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5476bf7ec35d29559e8752e494fb05e9d381d91fbf3ad93df20345b8503aa773", kill_on_drop: false }` [INFO] [stdout] 5476bf7ec35d29559e8752e494fb05e9d381d91fbf3ad93df20345b8503aa773