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 (96cfc7558 2025-02-27)# docs.rs version
docsrs 0.6.0 (d925d3c8 2025-02-27)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/qukit-0.0.0-pre5/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/qukit-0.0.0-pre5/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250227-1.87.0-nightly-96cfc7558\", \"--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] d22cb9f90e1eb5e3e18c33219e300003db774e2b40893a62c6c1dbd53933c481
[INFO] running `Command { std: "docker" "start" "-a" "d22cb9f90e1eb5e3e18c33219e300003db774e2b40893a62c6c1dbd53933c481", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: bernstein-vazirani
[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 zerocopy-derive v0.7.35
[INFO] [stderr] Checking rand_core v0.9.2
[INFO] [stderr] Checking const-trig v0.0.2
[INFO] [stderr] error[E0658]: use of unstable const library feature `const_ops`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:25:12
[INFO] [stderr] |
[INFO] [stderr] 25 | ~const Add <Output = T> +
[INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^
[INFO] [stderr] | |
[INFO] [stderr] | trait is not stable as const yet
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #90080 <https://github.com/rust-lang/rust/issues/90080> for more information
[INFO] [stderr] = help: add `#![feature(const_ops)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-02-27; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable const library feature `const_ops`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:39:12
[INFO] [stderr] |
[INFO] [stderr] 39 | ~const Add <Output = T> +
[INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^
[INFO] [stderr] | |
[INFO] [stderr] | trait is not stable as const yet
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #90080 <https://github.com/rust-lang/rust/issues/90080> for more information
[INFO] [stderr] = help: add `#![feature(const_ops)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-02-27; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable const library feature `const_ops`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:18:12
[INFO] [stderr] |
[INFO] [stderr] 18 | ~const Add <Output = T> +
[INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^
[INFO] [stderr] | |
[INFO] [stderr] | trait is not stable as const yet
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #90080 <https://github.com/rust-lang/rust/issues/90080> for more information
[INFO] [stderr] = help: add `#![feature(const_ops)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-02-27; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable const library feature `const_ops`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:40:12
[INFO] [stderr] |
[INFO] [stderr] 40 | ~const Add <Output = T> +
[INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^
[INFO] [stderr] | |
[INFO] [stderr] | trait is not stable as const yet
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #90080 <https://github.com/rust-lang/rust/issues/90080> for more information
[INFO] [stderr] = help: add `#![feature(const_ops)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-02-27; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable const library feature `const_ops`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:54:12
[INFO] [stderr] |
[INFO] [stderr] 54 | ~const Add <Output = T> +
[INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^
[INFO] [stderr] | |
[INFO] [stderr] | trait is not stable as const yet
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #90080 <https://github.com/rust-lang/rust/issues/90080> for more information
[INFO] [stderr] = help: add `#![feature(const_ops)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-02-27; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable const library feature `const_ops`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:54:12
[INFO] [stderr] |
[INFO] [stderr] 54 | ~const Add <Output = T> +
[INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^
[INFO] [stderr] | |
[INFO] [stderr] | trait is not stable as const yet
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #90080 <https://github.com/rust-lang/rust/issues/90080> for more information
[INFO] [stderr] = help: add `#![feature(const_ops)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-02-27; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable const library feature `const_ops`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:17:12
[INFO] [stderr] |
[INFO] [stderr] 17 | ~const Add <Output = T> +
[INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^
[INFO] [stderr] | |
[INFO] [stderr] | trait is not stable as const yet
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #90080 <https://github.com/rust-lang/rust/issues/90080> for more information
[INFO] [stderr] = help: add `#![feature(const_ops)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-02-27; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable const library feature `const_ops`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:37:12
[INFO] [stderr] |
[INFO] [stderr] 37 | ~const Add <Output = T> +
[INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^
[INFO] [stderr] | |
[INFO] [stderr] | trait is not stable as const yet
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #90080 <https://github.com/rust-lang/rust/issues/90080> for more information
[INFO] [stderr] = help: add `#![feature(const_ops)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-02-27; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable const library feature `const_ops`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:57:12
[INFO] [stderr] |
[INFO] [stderr] 57 | ~const Add <Output = T> +
[INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^
[INFO] [stderr] | |
[INFO] [stderr] | trait is not stable as const yet
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #90080 <https://github.com/rust-lang/rust/issues/90080> for more information
[INFO] [stderr] = help: add `#![feature(const_ops)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-02-27; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error[E0658]: use of unstable const library feature `const_ops`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:77:12
[INFO] [stderr] |
[INFO] [stderr] 77 | ~const Add <Output = T> +
[INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^
[INFO] [stderr] | |
[INFO] [stderr] | trait is not stable as const yet
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #90080 <https://github.com/rust-lang/rust/issues/90080> for more information
[INFO] [stderr] = help: add `#![feature(const_ops)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-02-27; consider upgrading it if it is out of date
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:8:29
[INFO] [stderr] |
[INFO] [stderr] 8 | pub const fn pow <T: Copy + ~const MulAssign> (x: T, n: usize) -> T {
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::MulAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:865:1
[INFO] [stderr] |
[INFO] [stderr] 865 | pub trait MulAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:20:5
[INFO] [stderr] |
[INFO] [stderr] 20 | ~const From <f32> +
[INFO] [stderr] | ^^^^^^ can't be applied to `From`
[INFO] [stderr] |
[INFO] [stderr] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:582:1
[INFO] [stderr] |
[INFO] [stderr] 582 | pub trait From<T>: Sized {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:21:5
[INFO] [stderr] |
[INFO] [stderr] 21 | ~const Mul <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Mul`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:317:1
[INFO] [stderr] |
[INFO] [stderr] 317 | pub trait Mul<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:22:5
[INFO] [stderr] |
[INFO] [stderr] 22 | ~const MulAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::MulAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:865:1
[INFO] [stderr] |
[INFO] [stderr] 865 | pub trait MulAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:23:5
[INFO] [stderr] |
[INFO] [stderr] 23 | ~const AddAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::AddAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:740:1
[INFO] [stderr] |
[INFO] [stderr] 740 | pub trait AddAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:24:5
[INFO] [stderr] |
[INFO] [stderr] 24 | ~const Sub <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Sub`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:187:1
[INFO] [stderr] |
[INFO] [stderr] 187 | pub trait Sub<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:26:5
[INFO] [stderr] |
[INFO] [stderr] 26 | ~const Div <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Div`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Div` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:451:1
[INFO] [stderr] |
[INFO] [stderr] 451 | pub trait Div<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:34:5
[INFO] [stderr] |
[INFO] [stderr] 34 | ~const From <f32> +
[INFO] [stderr] | ^^^^^^ can't be applied to `From`
[INFO] [stderr] |
[INFO] [stderr] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:582:1
[INFO] [stderr] |
[INFO] [stderr] 582 | pub trait From<T>: Sized {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:35:5
[INFO] [stderr] |
[INFO] [stderr] 35 | ~const Mul <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Mul`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:317:1
[INFO] [stderr] |
[INFO] [stderr] 317 | pub trait Mul<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:36:5
[INFO] [stderr] |
[INFO] [stderr] 36 | ~const MulAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::MulAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:865:1
[INFO] [stderr] |
[INFO] [stderr] 865 | pub trait MulAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:37:5
[INFO] [stderr] |
[INFO] [stderr] 37 | ~const AddAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::AddAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:740:1
[INFO] [stderr] |
[INFO] [stderr] 740 | pub trait AddAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:38:5
[INFO] [stderr] |
[INFO] [stderr] 38 | ~const Sub <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Sub`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:187:1
[INFO] [stderr] |
[INFO] [stderr] 187 | pub trait Sub<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:40:5
[INFO] [stderr] |
[INFO] [stderr] 40 | ~const Div <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Div`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Div` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:451:1
[INFO] [stderr] |
[INFO] [stderr] 451 | pub trait Div<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:14:5
[INFO] [stderr] |
[INFO] [stderr] 14 | ~const From <f32> +
[INFO] [stderr] | ^^^^^^ can't be applied to `From`
[INFO] [stderr] |
[INFO] [stderr] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:582:1
[INFO] [stderr] |
[INFO] [stderr] 582 | pub trait From<T>: Sized {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:15:5
[INFO] [stderr] |
[INFO] [stderr] 15 | ~const Mul <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Mul`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:317:1
[INFO] [stderr] |
[INFO] [stderr] 317 | pub trait Mul<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:16:5
[INFO] [stderr] |
[INFO] [stderr] 16 | ~const MulAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::MulAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:865:1
[INFO] [stderr] |
[INFO] [stderr] 865 | pub trait MulAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:17:5
[INFO] [stderr] |
[INFO] [stderr] 17 | ~const DivAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::DivAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::DivAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:923:1
[INFO] [stderr] |
[INFO] [stderr] 923 | pub trait DivAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:19:5
[INFO] [stderr] |
[INFO] [stderr] 19 | ~const AddAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::AddAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:740:1
[INFO] [stderr] |
[INFO] [stderr] 740 | pub trait AddAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:20:5
[INFO] [stderr] |
[INFO] [stderr] 20 | ~const Neg <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Neg`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Neg` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:667:1
[INFO] [stderr] |
[INFO] [stderr] 667 | pub trait Neg {
[INFO] [stderr] | ^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:36:5
[INFO] [stderr] |
[INFO] [stderr] 36 | ~const From <f32> +
[INFO] [stderr] | ^^^^^^ can't be applied to `From`
[INFO] [stderr] |
[INFO] [stderr] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:582:1
[INFO] [stderr] |
[INFO] [stderr] 582 | pub trait From<T>: Sized {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:37:5
[INFO] [stderr] |
[INFO] [stderr] 37 | ~const Mul <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Mul`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:317:1
[INFO] [stderr] |
[INFO] [stderr] 317 | pub trait Mul<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:38:5
[INFO] [stderr] |
[INFO] [stderr] 38 | ~const MulAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::MulAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:865:1
[INFO] [stderr] |
[INFO] [stderr] 865 | pub trait MulAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:39:5
[INFO] [stderr] |
[INFO] [stderr] 39 | ~const DivAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::DivAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::DivAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:923:1
[INFO] [stderr] |
[INFO] [stderr] 923 | pub trait DivAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:41:5
[INFO] [stderr] |
[INFO] [stderr] 41 | ~const AddAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::AddAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:740:1
[INFO] [stderr] |
[INFO] [stderr] 740 | pub trait AddAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:42:5
[INFO] [stderr] |
[INFO] [stderr] 42 | ~const Neg <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Neg`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Neg` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:667:1
[INFO] [stderr] |
[INFO] [stderr] 667 | pub trait Neg {
[INFO] [stderr] | ^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:50:5
[INFO] [stderr] |
[INFO] [stderr] 50 | ~const From <f32> +
[INFO] [stderr] | ^^^^^^ can't be applied to `From`
[INFO] [stderr] |
[INFO] [stderr] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:582:1
[INFO] [stderr] |
[INFO] [stderr] 582 | pub trait From<T>: Sized {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:51:5
[INFO] [stderr] |
[INFO] [stderr] 51 | ~const Mul <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Mul`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:317:1
[INFO] [stderr] |
[INFO] [stderr] 317 | pub trait Mul<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:52:5
[INFO] [stderr] |
[INFO] [stderr] 52 | ~const MulAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::MulAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:865:1
[INFO] [stderr] |
[INFO] [stderr] 865 | pub trait MulAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:53:5
[INFO] [stderr] |
[INFO] [stderr] 53 | ~const DivAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::DivAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::DivAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:923:1
[INFO] [stderr] |
[INFO] [stderr] 923 | pub trait DivAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:55:5
[INFO] [stderr] |
[INFO] [stderr] 55 | ~const AddAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::AddAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:740:1
[INFO] [stderr] |
[INFO] [stderr] 740 | pub trait AddAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:56:5
[INFO] [stderr] |
[INFO] [stderr] 56 | ~const Neg <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Neg`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Neg` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:667:1
[INFO] [stderr] |
[INFO] [stderr] 667 | pub trait Neg {
[INFO] [stderr] | ^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: const `impl` for trait `ToDegrees` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/rads_degs.rs:40:19
[INFO] [stderr] |
[INFO] [stderr] 40 | pub trait $trait {
[INFO] [stderr] | ___________________^
[INFO] [stderr] 41 | | type Output: Copy;
[INFO] [stderr] 42 | |
[INFO] [stderr] 43 | | fn $little(self) -> $big <Self::Output>;
[INFO] [stderr] ... |
[INFO] [stderr] 46 | | impl <T: Copy + $is_not> const $trait for T {
[INFO] [stderr] | |_______________________________________^ this trait is not `const`
[INFO] [stderr] ...
[INFO] [stderr] 56 | declare!(@base Degrees degrees ToDegrees IsNotDegrees);
[INFO] [stderr] | ------------------------------------------------------ in this macro invocation
[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] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: mark `ToDegrees` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 40 | #[const_trait] pub trait $trait {
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error: const `impl` for trait `ToRadians` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/rads_degs.rs:40:19
[INFO] [stderr] |
[INFO] [stderr] 40 | pub trait $trait {
[INFO] [stderr] | ___________________^
[INFO] [stderr] 41 | | type Output: Copy;
[INFO] [stderr] 42 | |
[INFO] [stderr] 43 | | fn $little(self) -> $big <Self::Output>;
[INFO] [stderr] ... |
[INFO] [stderr] 46 | | impl <T: Copy + $is_not> const $trait for T {
[INFO] [stderr] | |_______________________________________^ this trait is not `const`
[INFO] [stderr] ...
[INFO] [stderr] 57 | declare!(@base Radians radians ToRadians IsNotRadians);
[INFO] [stderr] | ------------------------------------------------------ in this macro invocation
[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] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: mark `ToRadians` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 40 | #[const_trait] pub trait $trait {
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error: const `impl` for trait `ToRadians` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/rads_degs.rs:10:76
[INFO] [stderr] |
[INFO] [stderr] 10 | impl <T: Copy + ~const From <f32> + ~const Mul <Output = T>> const $trait for $big <T> {
[INFO] [stderr] | ^^^^^^ this trait is not `const`
[INFO] [stderr] ...
[INFO] [stderr] 58 | declare!(@cross ToRadians radians IsNotDegrees Degrees Radians PI / 180.0);
[INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation
[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] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: mark `ToRadians` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 40 | #[const_trait] pub trait $trait {
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error: const `impl` for trait `ToDegrees` which is not marked with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/rads_degs.rs:10:76
[INFO] [stderr] |
[INFO] [stderr] 10 | impl <T: Copy + ~const From <f32> + ~const Mul <Output = T>> const $trait for $big <T> {
[INFO] [stderr] | ^^^^^^ this trait is not `const`
[INFO] [stderr] ...
[INFO] [stderr] 59 | declare!(@cross ToDegrees degrees IsNotRadians Radians Degrees 180.0 / PI);
[INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation
[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] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: mark `ToDegrees` as `#[const_trait]` to allow it to have `const` implementations
[INFO] [stderr] |
[INFO] [stderr] 40 | #[const_trait] pub trait $trait {
[INFO] [stderr] | ++++++++++++++
[INFO] [stderr]
[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/const-trig-0.0.2/src/rads_degs.rs:28:30
[INFO] [stderr] |
[INFO] [stderr] 28 | impl <T: Copy> const From <T> for $big <T> {
[INFO] [stderr] | ^^^^^^^^ this trait is not `const`
[INFO] [stderr] ...
[INFO] [stderr] 56 | declare!(@base Degrees degrees ToDegrees IsNotDegrees);
[INFO] [stderr] | ------------------------------------------------------ in this macro invocation
[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] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[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/const-trig-0.0.2/src/rads_degs.rs:28:30
[INFO] [stderr] |
[INFO] [stderr] 28 | impl <T: Copy> const From <T> for $big <T> {
[INFO] [stderr] | ^^^^^^^^ this trait is not `const`
[INFO] [stderr] ...
[INFO] [stderr] 57 | declare!(@base Radians radians ToRadians IsNotRadians);
[INFO] [stderr] | ------------------------------------------------------ in this macro invocation
[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] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/rads_degs.rs:10:25
[INFO] [stderr] |
[INFO] [stderr] 10 | impl <T: Copy + ~const From <f32> + ~const Mul <Output = T>> const $trait for $big <T> {
[INFO] [stderr] | ^^^^^^ can't be applied to `From`
[INFO] [stderr] ...
[INFO] [stderr] 59 | declare!(@cross ToDegrees degrees IsNotRadians Radians Degrees 180.0 / PI);
[INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:582:1
[INFO] [stderr] |
[INFO] [stderr] 582 | pub trait From<T>: Sized {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/rads_degs.rs:10:45
[INFO] [stderr] |
[INFO] [stderr] 10 | impl <T: Copy + ~const From <f32> + ~const Mul <Output = T>> const $trait for $big <T> {
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Mul`
[INFO] [stderr] ...
[INFO] [stderr] 59 | declare!(@cross ToDegrees degrees IsNotRadians Radians Degrees 180.0 / PI);
[INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:317:1
[INFO] [stderr] |
[INFO] [stderr] 317 | pub trait Mul<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/rads_degs.rs:10:25
[INFO] [stderr] |
[INFO] [stderr] 10 | impl <T: Copy + ~const From <f32> + ~const Mul <Output = T>> const $trait for $big <T> {
[INFO] [stderr] | ^^^^^^ can't be applied to `From`
[INFO] [stderr] ...
[INFO] [stderr] 58 | declare!(@cross ToRadians radians IsNotDegrees Degrees Radians PI / 180.0);
[INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:582:1
[INFO] [stderr] |
[INFO] [stderr] 582 | pub trait From<T>: Sized {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/rads_degs.rs:10:45
[INFO] [stderr] |
[INFO] [stderr] 10 | impl <T: Copy + ~const From <f32> + ~const Mul <Output = T>> const $trait for $big <T> {
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Mul`
[INFO] [stderr] ...
[INFO] [stderr] 58 | declare!(@cross ToRadians radians IsNotDegrees Degrees Radians PI / 180.0);
[INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:317:1
[INFO] [stderr] |
[INFO] [stderr] 317 | pub trait Mul<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:21:5
[INFO] [stderr] |
[INFO] [stderr] 21 | ~const From <f32> +
[INFO] [stderr] | ^^^^^^ can't be applied to `From`
[INFO] [stderr] |
[INFO] [stderr] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:582:1
[INFO] [stderr] |
[INFO] [stderr] 582 | pub trait From<T>: Sized {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:22:5
[INFO] [stderr] |
[INFO] [stderr] 22 | ~const Mul <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Mul`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:317:1
[INFO] [stderr] |
[INFO] [stderr] 317 | pub trait Mul<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:23:5
[INFO] [stderr] |
[INFO] [stderr] 23 | ~const Div <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Div`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Div` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:451:1
[INFO] [stderr] |
[INFO] [stderr] 451 | pub trait Div<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:24:5
[INFO] [stderr] |
[INFO] [stderr] 24 | ~const MulAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::MulAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:865:1
[INFO] [stderr] |
[INFO] [stderr] 865 | pub trait MulAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:25:5
[INFO] [stderr] |
[INFO] [stderr] 25 | ~const AddAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::AddAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:740:1
[INFO] [stderr] |
[INFO] [stderr] 740 | pub trait AddAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:26:5
[INFO] [stderr] |
[INFO] [stderr] 26 | ~const Sub <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Sub`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:187:1
[INFO] [stderr] |
[INFO] [stderr] 187 | pub trait Sub<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:53:5
[INFO] [stderr] |
[INFO] [stderr] 53 | ~const From <f32> +
[INFO] [stderr] | ^^^^^^ can't be applied to `From`
[INFO] [stderr] |
[INFO] [stderr] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:582:1
[INFO] [stderr] |
[INFO] [stderr] 582 | pub trait From<T>: Sized {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:55:5
[INFO] [stderr] |
[INFO] [stderr] 55 | ~const Mul <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Mul`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:317:1
[INFO] [stderr] |
[INFO] [stderr] 317 | pub trait Mul<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:56:5
[INFO] [stderr] |
[INFO] [stderr] 56 | ~const Div <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Div`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Div` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:451:1
[INFO] [stderr] |
[INFO] [stderr] 451 | pub trait Div<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:12:5
[INFO] [stderr] |
[INFO] [stderr] 12 | ~const From <f32> +
[INFO] [stderr] | ^^^^^^ can't be applied to `From`
[INFO] [stderr] |
[INFO] [stderr] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:582:1
[INFO] [stderr] |
[INFO] [stderr] 582 | pub trait From<T>: Sized {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:13:5
[INFO] [stderr] |
[INFO] [stderr] 13 | ~const Mul <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Mul`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:317:1
[INFO] [stderr] |
[INFO] [stderr] 317 | pub trait Mul<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:14:5
[INFO] [stderr] |
[INFO] [stderr] 14 | ~const MulAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::MulAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:865:1
[INFO] [stderr] |
[INFO] [stderr] 865 | pub trait MulAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:15:5
[INFO] [stderr] |
[INFO] [stderr] 15 | ~const AddAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::AddAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:740:1
[INFO] [stderr] |
[INFO] [stderr] 740 | pub trait AddAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:16:5
[INFO] [stderr] |
[INFO] [stderr] 16 | ~const Sub <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Sub`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:187:1
[INFO] [stderr] |
[INFO] [stderr] 187 | pub trait Sub<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:18:5
[INFO] [stderr] |
[INFO] [stderr] 18 | ~const Div <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Div`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Div` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:451:1
[INFO] [stderr] |
[INFO] [stderr] 451 | pub trait Div<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:32:5
[INFO] [stderr] |
[INFO] [stderr] 32 | ~const From <f32> +
[INFO] [stderr] | ^^^^^^ can't be applied to `From`
[INFO] [stderr] |
[INFO] [stderr] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:582:1
[INFO] [stderr] |
[INFO] [stderr] 582 | pub trait From<T>: Sized {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:33:5
[INFO] [stderr] |
[INFO] [stderr] 33 | ~const Mul <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Mul`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:317:1
[INFO] [stderr] |
[INFO] [stderr] 317 | pub trait Mul<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:34:5
[INFO] [stderr] |
[INFO] [stderr] 34 | ~const MulAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::MulAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:865:1
[INFO] [stderr] |
[INFO] [stderr] 865 | pub trait MulAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:35:5
[INFO] [stderr] |
[INFO] [stderr] 35 | ~const AddAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::AddAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:740:1
[INFO] [stderr] |
[INFO] [stderr] 740 | pub trait AddAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:36:5
[INFO] [stderr] |
[INFO] [stderr] 36 | ~const Sub <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Sub`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:187:1
[INFO] [stderr] |
[INFO] [stderr] 187 | pub trait Sub<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:38:5
[INFO] [stderr] |
[INFO] [stderr] 38 | ~const Div <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Div`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Div` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:451:1
[INFO] [stderr] |
[INFO] [stderr] 451 | pub trait Div<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:52:5
[INFO] [stderr] |
[INFO] [stderr] 52 | ~const From <f32> +
[INFO] [stderr] | ^^^^^^ can't be applied to `From`
[INFO] [stderr] |
[INFO] [stderr] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:582:1
[INFO] [stderr] |
[INFO] [stderr] 582 | pub trait From<T>: Sized {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:53:5
[INFO] [stderr] |
[INFO] [stderr] 53 | ~const Mul <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Mul`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:317:1
[INFO] [stderr] |
[INFO] [stderr] 317 | pub trait Mul<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:54:5
[INFO] [stderr] |
[INFO] [stderr] 54 | ~const MulAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::MulAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:865:1
[INFO] [stderr] |
[INFO] [stderr] 865 | pub trait MulAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:55:5
[INFO] [stderr] |
[INFO] [stderr] 55 | ~const AddAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::AddAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:740:1
[INFO] [stderr] |
[INFO] [stderr] 740 | pub trait AddAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:56:5
[INFO] [stderr] |
[INFO] [stderr] 56 | ~const Sub <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Sub`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:187:1
[INFO] [stderr] |
[INFO] [stderr] 187 | pub trait Sub<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:58:5
[INFO] [stderr] |
[INFO] [stderr] 58 | ~const Div <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Div`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Div` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:451:1
[INFO] [stderr] |
[INFO] [stderr] 451 | pub trait Div<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:72:5
[INFO] [stderr] |
[INFO] [stderr] 72 | ~const From <f32> +
[INFO] [stderr] | ^^^^^^ can't be applied to `From`
[INFO] [stderr] |
[INFO] [stderr] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:582:1
[INFO] [stderr] |
[INFO] [stderr] 582 | pub trait From<T>: Sized {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:73:5
[INFO] [stderr] |
[INFO] [stderr] 73 | ~const Mul <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Mul`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:317:1
[INFO] [stderr] |
[INFO] [stderr] 317 | pub trait Mul<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:74:5
[INFO] [stderr] |
[INFO] [stderr] 74 | ~const MulAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::MulAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:865:1
[INFO] [stderr] |
[INFO] [stderr] 865 | pub trait MulAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:75:5
[INFO] [stderr] |
[INFO] [stderr] 75 | ~const AddAssign +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::AddAssign`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:740:1
[INFO] [stderr] |
[INFO] [stderr] 740 | pub trait AddAssign<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:76:5
[INFO] [stderr] |
[INFO] [stderr] 76 | ~const Sub <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Sub`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:187:1
[INFO] [stderr] |
[INFO] [stderr] 187 | pub trait Sub<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error: `~const` can only be applied to `#[const_trait]` traits
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:78:5
[INFO] [stderr] |
[INFO] [stderr] 78 | ~const Div <Output = T> +
[INFO] [stderr] | ^^^^^^ can't be applied to `core::ops::Div`
[INFO] [stderr] |
[INFO] [stderr] note: `core::ops::Div` can't be used with `~const` because it isn't annotated with `#[const_trait]`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/arith.rs:451:1
[INFO] [stderr] |
[INFO] [stderr] 451 | pub trait Div<Rhs = Self> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:12:9
[INFO] [stderr] |
[INFO] [stderr] 12 | result *= x;
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:29:9
[INFO] [stderr] |
[INFO] [stderr] 29 | exp(T::from(a) * ln(x, precision), precision)
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:29:9
[INFO] [stderr] |
[INFO] [stderr] 29 | exp(T::from(a) * ln(x, precision), precision)
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:48:17
[INFO] [stderr] |
[INFO] [stderr] 48 | let mut n = T::from(0.0);
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:50:17
[INFO] [stderr] |
[INFO] [stderr] 50 | let mut a = T::from(1.0);
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:51:17
[INFO] [stderr] |
[INFO] [stderr] 51 | let mut b = T::from(1.0);
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/lib.rs:91:23
[INFO] [stderr] |
[INFO] [stderr] 91 | let mut sum = T::from(0.0);
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:53:5
[INFO] [stderr] |
[INFO] [stderr] 53 | / Σ!(precision => {
[INFO] [stderr] 54 | | let calculated = a / b;
[INFO] [stderr] 55 | | a *= x;
[INFO] [stderr] 56 | | n += T::from(1.0);
[INFO] [stderr] 57 | | b *= n;
[INFO] [stderr] 58 | | calculated
[INFO] [stderr] 59 | | })
[INFO] [stderr] | |______- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr] = note: this error originates in the macro `Σ` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:54:26
[INFO] [stderr] |
[INFO] [stderr] 54 | let calculated = a / b;
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:55:9
[INFO] [stderr] |
[INFO] [stderr] 55 | a *= x;
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:56:14
[INFO] [stderr] |
[INFO] [stderr] 56 | n += T::from(1.0);
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:56:9
[INFO] [stderr] |
[INFO] [stderr] 56 | n += T::from(1.0);
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:57:9
[INFO] [stderr] |
[INFO] [stderr] 57 | b *= n;
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/lib.rs:94:13
[INFO] [stderr] |
[INFO] [stderr] 94 | / sum += {
[INFO] [stderr] 95 | | $( $tt )*
[INFO] [stderr] 96 | | };
[INFO] [stderr] | |_____________^
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/pow.rs:53:5
[INFO] [stderr] |
[INFO] [stderr] 53 | / Σ!(precision => {
[INFO] [stderr] 54 | | let calculated = a / b;
[INFO] [stderr] 55 | | a *= x;
[INFO] [stderr] 56 | | n += T::from(1.0);
[INFO] [stderr] 57 | | b *= n;
[INFO] [stderr] 58 | | calculated
[INFO] [stderr] 59 | | })
[INFO] [stderr] | |______- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr] = note: this error originates in the macro `Σ` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const associated function `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:23:53
[INFO] [stderr] |
[INFO] [stderr] 23 | sine_cosine_helper(rads, precision, rads.get(), T::from(1.0))
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:45:41
[INFO] [stderr] |
[INFO] [stderr] 45 | sine_cosine_helper(rads, precision, T::from(1.0), T::from(0.0))
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:45:55
[INFO] [stderr] |
[INFO] [stderr] 45 | sine_cosine_helper(rads, precision, T::from(1.0), T::from(0.0))
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:66:26
[INFO] [stderr] |
[INFO] [stderr] 66 | let neg_x_squared = -(rads * rads);
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:66:25
[INFO] [stderr] |
[INFO] [stderr] 66 | let neg_x_squared = -(rads * rads);
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/lib.rs:91:23
[INFO] [stderr] |
[INFO] [stderr] 91 | let mut sum = T::from(0.0);
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:68:5
[INFO] [stderr] |
[INFO] [stderr] 68 | / Σ!(precision => {
[INFO] [stderr] 69 | | let calculated = fraction;
[INFO] [stderr] 70 | | fraction *= neg_x_squared;
[INFO] [stderr] 71 | | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0));
[INFO] [stderr] 72 | | current_fac += T::from(2.0);
[INFO] [stderr] 73 | | calculated
[INFO] [stderr] 74 | | })
[INFO] [stderr] | |______- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr] = note: this error originates in the macro `Σ` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:70:9
[INFO] [stderr] |
[INFO] [stderr] 70 | fraction *= neg_x_squared;
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:71:36
[INFO] [stderr] |
[INFO] [stderr] 71 | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0));
[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: `core::ops::Add` is not yet stable as a const trait
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:71:21
[INFO] [stderr] |
[INFO] [stderr] 71 | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0));
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] help: add `#![feature(const_ops)]` to the crate attributes to enable
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/lib.rs:71:1
[INFO] [stderr] |
[INFO] [stderr] 71 + #![feature(const_ops)]
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const associated function `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:71:67
[INFO] [stderr] |
[INFO] [stderr] 71 | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0));
[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: `core::ops::Add` is not yet stable as a const trait
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:71:52
[INFO] [stderr] |
[INFO] [stderr] 71 | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0));
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] help: add `#![feature(const_ops)]` to the crate attributes to enable
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/lib.rs:71:1
[INFO] [stderr] |
[INFO] [stderr] 71 + #![feature(const_ops)]
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:71:21
[INFO] [stderr] |
[INFO] [stderr] 71 | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0));
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:71:9
[INFO] [stderr] |
[INFO] [stderr] 71 | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0));
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:72:24
[INFO] [stderr] |
[INFO] [stderr] 72 | current_fac += T::from(2.0);
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:72:9
[INFO] [stderr] |
[INFO] [stderr] 72 | current_fac += T::from(2.0);
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/lib.rs:94:13
[INFO] [stderr] |
[INFO] [stderr] 94 | / sum += {
[INFO] [stderr] 95 | | $( $tt )*
[INFO] [stderr] 96 | | };
[INFO] [stderr] | |_____________^
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/sine_cosine.rs:68:5
[INFO] [stderr] |
[INFO] [stderr] 68 | / Σ!(precision => {
[INFO] [stderr] 69 | | let calculated = fraction;
[INFO] [stderr] 70 | | fraction *= neg_x_squared;
[INFO] [stderr] 71 | | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0));
[INFO] [stderr] 72 | | current_fac += T::from(2.0);
[INFO] [stderr] 73 | | calculated
[INFO] [stderr] 74 | | })
[INFO] [stderr] | |______- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr] = note: this error originates in the macro `Σ` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const associated function `<Degrees<T> as From<T>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/rads_degs.rs:50:17
[INFO] [stderr] |
[INFO] [stderr] 50 | $big::from(self)
[INFO] [stderr] | ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 56 | declare!(@base Degrees degrees ToDegrees IsNotDegrees);
[INFO] [stderr] | ------------------------------------------------------ in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const associated function `<Radians<T> as From<T>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/rads_degs.rs:50:17
[INFO] [stderr] |
[INFO] [stderr] 50 | $big::from(self)
[INFO] [stderr] | ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 57 | declare!(@base Radians radians ToRadians IsNotRadians);
[INFO] [stderr] | ------------------------------------------------------ in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const associated function `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/rads_degs.rs:19:30
[INFO] [stderr] |
[INFO] [stderr] 19 | $op(self.0 * T::from(F))
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 58 | declare!(@cross ToRadians radians IsNotDegrees Degrees Radians PI / 180.0);
[INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/rads_degs.rs:19:21
[INFO] [stderr] |
[INFO] [stderr] 19 | $op(self.0 * T::from(F))
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 58 | declare!(@cross ToRadians radians IsNotDegrees Degrees Radians PI / 180.0);
[INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const associated function `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/rads_degs.rs:19:30
[INFO] [stderr] |
[INFO] [stderr] 19 | $op(self.0 * T::from(F))
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 59 | declare!(@cross ToDegrees degrees IsNotRadians Radians Degrees 180.0 / PI);
[INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/rads_degs.rs:19:21
[INFO] [stderr] |
[INFO] [stderr] 19 | $op(self.0 * T::from(F))
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 59 | declare!(@cross ToDegrees degrees IsNotRadians Radians Degrees 180.0 / PI);
[INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const associated function `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:34:21
[INFO] [stderr] |
[INFO] [stderr] 34 | let mut a = x * T::from(0.5);
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:34:17
[INFO] [stderr] |
[INFO] [stderr] 34 | let mut a = x * T::from(0.5);
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:38:15
[INFO] [stderr] |
[INFO] [stderr] 38 | dx = (x / crate::pow(a, n - 1) - a) / T::from(n as f32);
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:38:14
[INFO] [stderr] |
[INFO] [stderr] 38 | dx = (x / crate::pow(a, n - 1) - a) / T::from(n as f32);
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:38:47
[INFO] [stderr] |
[INFO] [stderr] 38 | dx = (x / crate::pow(a, n - 1) - a) / T::from(n as f32);
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:38:14
[INFO] [stderr] |
[INFO] [stderr] 38 | dx = (x / crate::pow(a, n - 1) - a) / T::from(n as f32);
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:39:9
[INFO] [stderr] |
[INFO] [stderr] 39 | a += dx;
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:68:18
[INFO] [stderr] |
[INFO] [stderr] 68 | result = T::from(0.5) * (result + x / result);
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:68:43
[INFO] [stderr] |
[INFO] [stderr] 68 | result = T::from(0.5) * (result + x / result);
[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: `core::ops::Add` is not yet stable as a const trait
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:68:33
[INFO] [stderr] |
[INFO] [stderr] 68 | result = T::from(0.5) * (result + x / result);
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] help: add `#![feature(const_ops)]` to the crate attributes to enable
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/lib.rs:71:1
[INFO] [stderr] |
[INFO] [stderr] 71 + #![feature(const_ops)]
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/roots.rs:68:18
[INFO] [stderr] |
[INFO] [stderr] 68 | result = T::from(0.5) * (result + x / result);
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:21:5
[INFO] [stderr] |
[INFO] [stderr] 21 | ln(a, precision) / ln(b, precision)
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:41:24
[INFO] [stderr] |
[INFO] [stderr] 41 | ln(x, precision) * T::from(core::f32::consts::LOG2_E)
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:41:5
[INFO] [stderr] |
[INFO] [stderr] 41 | ln(x, precision) * T::from(core::f32::consts::LOG2_E)
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:61:24
[INFO] [stderr] |
[INFO] [stderr] 61 | ln(x, precision) * T::from(core::f32::consts::LOG10_E)
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:61:5
[INFO] [stderr] |
[INFO] [stderr] 61 | ln(x, precision) * T::from(core::f32::consts::LOG10_E)
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:86:18
[INFO] [stderr] |
[INFO] [stderr] 86 | let x = (x - T::from(1.0)) / (x + T::from(1.0));
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:86:13
[INFO] [stderr] |
[INFO] [stderr] 86 | let x = (x - T::from(1.0)) / (x + T::from(1.0));
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:86:39
[INFO] [stderr] |
[INFO] [stderr] 86 | let x = (x - T::from(1.0)) / (x + T::from(1.0));
[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: `core::ops::Add` is not yet stable as a const trait
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:86:34
[INFO] [stderr] |
[INFO] [stderr] 86 | let x = (x - T::from(1.0)) / (x + T::from(1.0));
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] help: add `#![feature(const_ops)]` to the crate attributes to enable
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/lib.rs:71:1
[INFO] [stderr] |
[INFO] [stderr] 71 + #![feature(const_ops)]
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:86:13
[INFO] [stderr] |
[INFO] [stderr] 86 | let x = (x - T::from(1.0)) / (x + T::from(1.0));
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:87:14
[INFO] [stderr] |
[INFO] [stderr] 87 | let xx = x * x;
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:89:23
[INFO] [stderr] |
[INFO] [stderr] 89 | let mut cur_div = T::from(1.0);
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:91:5
[INFO] [stderr] |
[INFO] [stderr] 91 | T::from(2.0) * Σ!(precision => {
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/lib.rs:91:23
[INFO] [stderr] |
[INFO] [stderr] 91 | let mut sum = T::from(0.0);
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:91:20
[INFO] [stderr] |
[INFO] [stderr] 91 | T::from(2.0) * Σ!(precision => {
[INFO] [stderr] | ____________________-
[INFO] [stderr] 92 | | let calculated = fraction / cur_div;
[INFO] [stderr] 93 | | cur_div += T::from(2.0);
[INFO] [stderr] 94 | | fraction *= xx;
[INFO] [stderr] 95 | | calculated
[INFO] [stderr] 96 | | })
[INFO] [stderr] | |______- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr] = note: this error originates in the macro `Σ` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:92:26
[INFO] [stderr] |
[INFO] [stderr] 92 | let calculated = fraction / cur_div;
[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 `<T as From<f32>>::from` in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:93:20
[INFO] [stderr] |
[INFO] [stderr] 93 | cur_div += T::from(2.0);
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:93:9
[INFO] [stderr] |
[INFO] [stderr] 93 | cur_div += T::from(2.0);
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:94:9
[INFO] [stderr] |
[INFO] [stderr] 94 | fraction *= xx;
[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 operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/lib.rs:94:13
[INFO] [stderr] |
[INFO] [stderr] 94 | / sum += {
[INFO] [stderr] 95 | | $( $tt )*
[INFO] [stderr] 96 | | };
[INFO] [stderr] | |_____________^
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:91:20
[INFO] [stderr] |
[INFO] [stderr] 91 | T::from(2.0) * Σ!(precision => {
[INFO] [stderr] | _____________________-
[INFO] [stderr] 92 | | let calculated = fraction / cur_div;
[INFO] [stderr] 93 | | cur_div += T::from(2.0);
[INFO] [stderr] 94 | | fraction *= xx;
[INFO] [stderr] 95 | | calculated
[INFO] [stderr] 96 | | })
[INFO] [stderr] | |_______- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr] = note: this error originates in the macro `Σ` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0015]: cannot call non-const operator in constant functions
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.2/src/log.rs:91:5
[INFO] [stderr] |
[INFO] [stderr] 91 | / T::from(2.0) * Σ!(precision => {
[INFO] [stderr] 92 | | let calculated = fraction / cur_div;
[INFO] [stderr] 93 | | cur_div += T::from(2.0);
[INFO] [stderr] 94 | | fraction *= xx;
[INFO] [stderr] 95 | | calculated
[INFO] [stderr] 96 | | })
[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] Some errors have detailed explanations: E0015, E0658.
[INFO] [stderr] For more information about an error, try `rustc --explain E0015`.
[INFO] [stderr] error: could not compile `const-trig` (lib) due to 150 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "d22cb9f90e1eb5e3e18c33219e300003db774e2b40893a62c6c1dbd53933c481", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d22cb9f90e1eb5e3e18c33219e300003db774e2b40893a62c6c1dbd53933c481", kill_on_drop: false }`
[WARN] too much data in the log, truncating it