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 (a730edcd6 2025-01-30)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/signal_processing-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/signal_processing-0.3.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: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\", \"-20250130-1.86.0-nightly-a730edcd6\", \"--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] 199bf8c0ce96d9a05dba88558a270cf6bcfbd414a03ab6bfee98a7ee2ea703bf
[INFO] running `Command { std: "docker" "start" "-a" "199bf8c0ce96d9a05dba88558a270cf6bcfbd414a03ab6bfee98a7ee2ea703bf", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Checking ndarray-linalg v0.16.0
[INFO] [stderr] Checking option_trait v0.1.16
[INFO] [stderr] error: const `impl` for trait `From` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/option_kind.rs:12:18
[INFO] [stderr] |
[INFO] [stderr] 12 | impl<Some> const From<&Option<Some>> for OptionKind
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ this trait is not `const`
[INFO] [stderr] |
[INFO] [stderr] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change
[INFO] [stderr]
[INFO] [stderr] error: const `impl` for trait `OptionObj` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/option_obj.rs:22:18
[INFO] [stderr] |
[INFO] [stderr] 22 | impl<Some> const OptionObj for Option<Some>
[INFO] [stderr] | ^^^^^^^^^ this trait is not `const`
[INFO] [stderr] |
[INFO] [stderr] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change
[INFO] [stderr] help: mark `OptionObj` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 3 | #[const_trait] pub trait OptionObj: private::Optional
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error: const `impl` for trait `Maybe` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/maybe.rs:13:18
[INFO] [stderr] |
[INFO] [stderr] 13 | impl<Some> const Maybe<Some> for Some
[INFO] [stderr] | ^^^^^^^^^^^ this trait is not `const`
[INFO] [stderr] |
[INFO] [stderr] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change
[INFO] [stderr] help: mark `Maybe` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 3 | #[const_trait] pub trait Maybe<T>: private::Maybe<T>
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error: const `impl` for trait `Optional` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/optional.rs:9:18
[INFO] [stderr] |
[INFO] [stderr] 9 | impl<Some> const Optional for Option<Some>
[INFO] [stderr] | ^^^^^^^^ this trait is not `const`
[INFO] [stderr] |
[INFO] [stderr] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change
[INFO] [stderr] help: mark `Optional` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 3 | #[const_trait] pub trait Optional: OptionObj + Maybe<Self::Some>
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error: const `impl` for trait `Maybe` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/maybe.rs:51:18
[INFO] [stderr] |
[INFO] [stderr] 51 | impl<Some> const Maybe<Some> for Option<Some>
[INFO] [stderr] | ^^^^^^^^^^^ this trait is not `const`
[INFO] [stderr] |
[INFO] [stderr] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change
[INFO] [stderr] help: mark `Maybe` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 3 | #[const_trait] pub trait Maybe<T>: private::Maybe<T>
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error: const `impl` for trait `Maybe` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/maybe.rs:32:18
[INFO] [stderr] |
[INFO] [stderr] 32 | impl<Some> const Maybe<Some> for ()
[INFO] [stderr] | ^^^^^^^^^^^ this trait is not `const`
[INFO] [stderr] |
[INFO] [stderr] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change
[INFO] [stderr] help: mark `Maybe` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 3 | #[const_trait] pub trait Maybe<T>: private::Maybe<T>
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error: const `impl` for trait `StaticMaybe` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:37:18
[INFO] [stderr] |
[INFO] [stderr] 37 | impl<Some> const StaticMaybe<Some> for Some
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this trait is not `const`
[INFO] [stderr] |
[INFO] [stderr] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change
[INFO] [stderr] help: mark `StaticMaybe` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 3 | #[const_trait] pub trait StaticMaybe<T>: Maybe<T>
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error: const `impl` for trait `StaticMaybe` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:80:18
[INFO] [stderr] |
[INFO] [stderr] 80 | impl<Some> const StaticMaybe<Some> for ()
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this trait is not `const`
[INFO] [stderr] |
[INFO] [stderr] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change
[INFO] [stderr] help: mark `StaticMaybe` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 3 | #[const_trait] pub trait StaticMaybe<T>: Maybe<T>
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error: const `impl` for trait `StaticMaybe` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:123:12
[INFO] [stderr] |
[INFO] [stderr] 123 | impl const StaticMaybe<()> for ()
[INFO] [stderr] | ^^^^^^^^^^^^^^^ this trait is not `const`
[INFO] [stderr] |
[INFO] [stderr] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change
[INFO] [stderr] help: mark `StaticMaybe` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 3 | #[const_trait] pub trait StaticMaybe<T>: Maybe<T>
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error: const `impl` for trait `StaticMaybe` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:164:18
[INFO] [stderr] |
[INFO] [stderr] 164 | impl<Some> const StaticMaybe<Some> for MaybeCell<Some, true>
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this trait is not `const`
[INFO] [stderr] |
[INFO] [stderr] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change
[INFO] [stderr] help: mark `StaticMaybe` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 3 | #[const_trait] pub trait StaticMaybe<T>: Maybe<T>
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error: const `impl` for trait `StaticMaybe` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:207:18
[INFO] [stderr] |
[INFO] [stderr] 207 | impl<Some> const StaticMaybe<Some> for MaybeCell<Some, false>
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this trait is not `const`
[INFO] [stderr] |
[INFO] [stderr] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
[INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change
[INFO] [stderr] help: mark `StaticMaybe` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 3 | #[const_trait] pub trait StaticMaybe<T>: Maybe<T>
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const closure in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:59:9
[INFO] [stderr] |
[INFO] [stderr] 59 | func()
[INFO] [stderr] | ^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const closure in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:67:9
[INFO] [stderr] |
[INFO] [stderr] 67 | maybe()
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]
[INFO] [stderr] error[E0493]: destructor of `O` cannot be evaluated at compile-time
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:62:41
[INFO] [stderr] |
[INFO] [stderr] 62 | fn maybe_or_from_fn<M, O>(maybe: M, _or: O) -> Self::MaybeOr<M::Output, O::Output>
[INFO] [stderr] | ^^^ the destructor for this type cannot be evaluated in constant functions
[INFO] [stderr] ...
[INFO] [stderr] 68 | }
[INFO] [stderr] | - value is dropped here
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const associated function `<<<F as FnOnce<(Some,)>>::Output as static_maybe::StaticMaybe<<F as FnOnce<(Some,)>>::Output>>::Some as static_maybe::StaticMaybe<<F as FnOnce<(Some,)>>::Output>>::maybe_from_fn::<{closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:77:36: 77:38}>` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:77:9
[INFO] [stderr] |
[INFO] [stderr] 77 | StaticMaybe::maybe_from_fn(|| map(self))
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]
[INFO] [stderr] error[E0493]: destructor of `F` cannot be evaluated at compile-time
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:97:25
[INFO] [stderr] |
[INFO] [stderr] 97 | fn maybe_from_fn<F>(_func: F) -> Self
[INFO] [stderr] | ^^^^^ the destructor for this type cannot be evaluated in constant functions
[INFO] [stderr] ...
[INFO] [stderr] 103 | }
[INFO] [stderr] | - value is dropped here
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const closure in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:110:9
[INFO] [stderr] |
[INFO] [stderr] 110 | or()
[INFO] [stderr] | ^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]
[INFO] [stderr] error[E0493]: destructor of `M` cannot be evaluated at compile-time
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:105:31
[INFO] [stderr] |
[INFO] [stderr] 105 | fn maybe_or_from_fn<M, O>(_maybe: M, or: O) -> Self::MaybeOr<M::Output, O::Output>
[INFO] [stderr] | ^^^^^^ the destructor for this type cannot be evaluated in constant functions
[INFO] [stderr] ...
[INFO] [stderr] 111 | }
[INFO] [stderr] | - value is dropped here
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const associated function `<<<F as FnOnce<(Some,)>>::Output as static_maybe::StaticMaybe<<F as FnOnce<(Some,)>>::Output>>::None as static_maybe::StaticMaybe<<F as FnOnce<(Some,)>>::Output>>::maybe_from_fn::<{closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:120:36: 120:38}>` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:120:9
[INFO] [stderr] |
[INFO] [stderr] 120 | StaticMaybe::maybe_from_fn(|| panic!())
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]
[INFO] [stderr] error[E0493]: destructor of `F` cannot be evaluated at compile-time
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:113:27
[INFO] [stderr] |
[INFO] [stderr] 113 | fn maybe_map<F>(self, _: F) -> Self::Maybe<F::Output>
[INFO] [stderr] | ^ the destructor for this type cannot be evaluated in constant functions
[INFO] [stderr] ...
[INFO] [stderr] 121 | }
[INFO] [stderr] | - value is dropped here
[INFO] [stderr]
[INFO] [stderr] error[E0493]: destructor of `F` cannot be evaluated at compile-time
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:138:25
[INFO] [stderr] |
[INFO] [stderr] 138 | fn maybe_from_fn<F>(_func: F) -> Self
[INFO] [stderr] | ^^^^^ the destructor for this type cannot be evaluated in constant functions
[INFO] [stderr] ...
[INFO] [stderr] 144 | }
[INFO] [stderr] | - value is dropped here
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const closure in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:151:9
[INFO] [stderr] |
[INFO] [stderr] 151 | or()
[INFO] [stderr] | ^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]
[INFO] [stderr] error[E0493]: destructor of `M` cannot be evaluated at compile-time
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:146:31
[INFO] [stderr] |
[INFO] [stderr] 146 | fn maybe_or_from_fn<M, O>(_maybe: M, or: O) -> Self::MaybeOr<M::Output, O::Output>
[INFO] [stderr] | ^^^^^^ the destructor for this type cannot be evaluated in constant functions
[INFO] [stderr] ...
[INFO] [stderr] 152 | }
[INFO] [stderr] | - value is dropped here
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const associated function `<<<F as FnOnce<((),)>>::Output as static_maybe::StaticMaybe<<F as FnOnce<((),)>>::Output>>::None as static_maybe::StaticMaybe<<F as FnOnce<((),)>>::Output>>::maybe_from_fn::<{closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:161:36: 161:38}>` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:161:9
[INFO] [stderr] |
[INFO] [stderr] 161 | StaticMaybe::maybe_from_fn(|| map(self))
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const associated function `maybe_cell::MaybeCell::<Some, true>::from_fn::<F>` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:186:9
[INFO] [stderr] |
[INFO] [stderr] 186 | Self::from_fn(func)
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const closure in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:194:9
[INFO] [stderr] |
[INFO] [stderr] 194 | maybe()
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]
[INFO] [stderr] error[E0493]: destructor of `O` cannot be evaluated at compile-time
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:189:41
[INFO] [stderr] |
[INFO] [stderr] 189 | fn maybe_or_from_fn<M, O>(maybe: M, _or: O) -> Self::MaybeOr<M::Output, O::Output>
[INFO] [stderr] | ^^^ the destructor for this type cannot be evaluated in constant functions
[INFO] [stderr] ...
[INFO] [stderr] 195 | }
[INFO] [stderr] | - value is dropped here
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const associated function `<<<F as FnOnce<(Some,)>>::Output as static_maybe::StaticMaybe<<F as FnOnce<(Some,)>>::Output>>::Some as static_maybe::StaticMaybe<<F as FnOnce<(Some,)>>::Output>>::maybe_from_fn::<{closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:204:36: 204:38}>` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:204:9
[INFO] [stderr] |
[INFO] [stderr] 204 | StaticMaybe::maybe_from_fn(|| map(self.into_value()))
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const associated function `maybe_cell::MaybeCell::<Some, false>::from_fn::<F>` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:229:9
[INFO] [stderr] |
[INFO] [stderr] 229 | Self::from_fn(func)
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const closure in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:237:9
[INFO] [stderr] |
[INFO] [stderr] 237 | or()
[INFO] [stderr] | ^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]
[INFO] [stderr] error[E0493]: destructor of `M` cannot be evaluated at compile-time
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:232:31
[INFO] [stderr] |
[INFO] [stderr] 232 | fn maybe_or_from_fn<M, O>(_maybe: M, or: O) -> Self::MaybeOr<M::Output, O::Output>
[INFO] [stderr] | ^^^^^^ the destructor for this type cannot be evaluated in constant functions
[INFO] [stderr] ...
[INFO] [stderr] 238 | }
[INFO] [stderr] | - value is dropped here
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const associated function `<<<F as FnOnce<(Some,)>>::Output as static_maybe::StaticMaybe<<F as FnOnce<(Some,)>>::Output>>::None as static_maybe::StaticMaybe<<F as FnOnce<(Some,)>>::Output>>::maybe_from_fn::<{closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:247:36: 247:38}>` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:247:9
[INFO] [stderr] |
[INFO] [stderr] 247 | StaticMaybe::maybe_from_fn(|| panic!())
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]
[INFO] [stderr] error[E0493]: destructor of `F` cannot be evaluated at compile-time
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/option_trait-0.1.16/src/static_maybe.rs:240:27
[INFO] [stderr] |
[INFO] [stderr] 240 | fn maybe_map<F>(self, _: F) -> Self::Maybe<F::Output>
[INFO] [stderr] | ^ the destructor for this type cannot be evaluated in constant functions
[INFO] [stderr] ...
[INFO] [stderr] 248 | }
[INFO] [stderr] | - value is dropped here
[INFO] [stderr]
[INFO] [stderr] Some errors have detailed explanations: E0015, E0493.
[INFO] [stderr] For more information about an error, try `rustc --explain E0015`.
[INFO] [stderr] error: could not compile `option_trait` (lib) due to 33 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "199bf8c0ce96d9a05dba88558a270cf6bcfbd414a03ab6bfee98a7ee2ea703bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "199bf8c0ce96d9a05dba88558a270cf6bcfbd414a03ab6bfee98a7ee2ea703bf", kill_on_drop: false }`
[INFO] [stdout] 199bf8c0ce96d9a05dba88558a270cf6bcfbd414a03ab6bfee98a7ee2ea703bf