[INFO] fetching crate qukit 0.0.0-pre5... [INFO] testing qukit-0.0.0-pre5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate qukit 0.0.0-pre5 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate qukit 0.0.0-pre5 [INFO] finished tweaking crates.io crate qukit 0.0.0-pre5 [INFO] tweaked toml for crates.io crate qukit 0.0.0-pre5 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qukit 0.0.0-pre5 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate qukit 0.0.0-pre5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-rayon v1.0.3 [INFO] [stderr] Downloaded bit-array v0.4.4 [INFO] [stderr] Downloaded tsify v0.3.1 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.4.3 [INFO] [stderr] Downloaded const-trig v0.0.1 [INFO] [stderr] Downloaded darling v0.14.1 [INFO] [stderr] Downloaded generic-array v0.3.2 [INFO] [stderr] Downloaded tsify-macros v0.3.0 [INFO] [stderr] Downloaded darling_core v0.14.1 [INFO] [stderr] Downloaded darling_macro v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec812d904f49a4ef0c63e310d9117c5e5311d483692696fbe7a604c44814ab68 [INFO] running `Command { std: "docker" "start" "-a" "ec812d904f49a4ef0c63e310d9117c5e5311d483692696fbe7a604c44814ab68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec812d904f49a4ef0c63e310d9117c5e5311d483692696fbe7a604c44814ab68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec812d904f49a4ef0c63e310d9117c5e5311d483692696fbe7a604c44814ab68", kill_on_drop: false }` [INFO] [stdout] ec812d904f49a4ef0c63e310d9117c5e5311d483692696fbe7a604c44814ab68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1523e690f21c1cd3324e710ed6be5c620b6cc1887e6db4c455a812c20b90e2bb [INFO] running `Command { std: "docker" "start" "-a" "1523e690f21c1cd3324e710ed6be5c620b6cc1887e6db4c455a812c20b90e2bb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling const-trig v0.0.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | ~const Add + [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #90080 for more information [INFO] [stdout] = help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | ~const Add + [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #90080 for more information [INFO] [stdout] = help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | ~const Add + [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #90080 for more information [INFO] [stdout] = help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | ~const Add + [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #90080 for more information [INFO] [stdout] = help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | ~const Add + [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #90080 for more information [INFO] [stdout] = help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | ~const Add + [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #90080 for more information [INFO] [stdout] = help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | ~const Add + [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #90080 for more information [INFO] [stdout] = help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | ~const Add + [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #90080 for more information [INFO] [stdout] = help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/pow.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub const fn pow (x: T, n: usize) -> T { [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::MulAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:866:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ~const From + [INFO] [stdout] | ^^^^^^ can't be applied to `From` [INFO] [stdout] | [INFO] [stdout] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:583:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ~const Mul + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Mul` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:318:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ~const MulAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::MulAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:866:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ~const DivAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::DivAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::DivAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:924:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ~const AddAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::AddAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:741:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | ~const Neg + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Neg` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Neg` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:668:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ~const From + [INFO] [stdout] | ^^^^^^ can't be applied to `From` [INFO] [stdout] | [INFO] [stdout] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:583:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | ~const Mul + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Mul` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:318:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | ~const MulAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::MulAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:866:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | ~const DivAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::DivAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::DivAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:924:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | ~const AddAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::AddAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:741:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | ~const Neg + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Neg` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Neg` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:668:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | ~const From + [INFO] [stdout] | ^^^^^^ can't be applied to `From` [INFO] [stdout] | [INFO] [stdout] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:583:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | ~const Mul + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Mul` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:318:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | ~const MulAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::MulAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:866:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | ~const DivAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::DivAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::DivAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:924:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | ~const AddAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::AddAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:741:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ~const Neg + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Neg` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Neg` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:668:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `ToDegrees` which is not marked with `#[const_trait]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait $trait { [INFO] [stdout] | ___________________^ [INFO] [stdout] 41 | | type Output: Copy; [INFO] [stdout] 42 | | [INFO] [stdout] 43 | | fn $little(self) -> $big ; [INFO] [stdout] ... | [INFO] [stdout] 46 | | impl const $trait for T { [INFO] [stdout] | |_______________________________________^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 56 | declare!(@base Degrees degrees ToDegrees IsNotDegrees); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `ToDegrees` as `#[const_trait]` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 40 | #[const_trait] pub trait $trait { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `ToRadians` which is not marked with `#[const_trait]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait $trait { [INFO] [stdout] | ___________________^ [INFO] [stdout] 41 | | type Output: Copy; [INFO] [stdout] 42 | | [INFO] [stdout] 43 | | fn $little(self) -> $big ; [INFO] [stdout] ... | [INFO] [stdout] 46 | | impl const $trait for T { [INFO] [stdout] | |_______________________________________^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 57 | declare!(@base Radians radians ToRadians IsNotRadians); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `ToRadians` as `#[const_trait]` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 40 | #[const_trait] pub trait $trait { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `ToRadians` which is not marked with `#[const_trait]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:10:76 [INFO] [stdout] | [INFO] [stdout] 10 | impl + ~const Mul > const $trait for $big { [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 58 | declare!(@cross ToRadians radians IsNotDegrees Degrees Radians PI / 180.0); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `ToRadians` as `#[const_trait]` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 40 | #[const_trait] pub trait $trait { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `ToDegrees` which is not marked with `#[const_trait]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:10:76 [INFO] [stdout] | [INFO] [stdout] 10 | impl + ~const Mul > const $trait for $big { [INFO] [stdout] | ^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 59 | declare!(@cross ToDegrees degrees IsNotRadians Radians Degrees 180.0 / PI); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `ToDegrees` as `#[const_trait]` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 40 | #[const_trait] pub trait $trait { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | impl const From for $big { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 56 | declare!(@base Degrees degrees ToDegrees IsNotDegrees); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | impl const From for $big { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 57 | declare!(@base Radians radians ToRadians IsNotRadians); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | impl + ~const Mul > const $trait for $big { [INFO] [stdout] | ^^^^^^ can't be applied to `From` [INFO] [stdout] ... [INFO] [stdout] 59 | declare!(@cross ToDegrees degrees IsNotRadians Radians Degrees 180.0 / PI); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:583:1 [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | impl + ~const Mul > const $trait for $big { [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Mul` [INFO] [stdout] ... [INFO] [stdout] 59 | declare!(@cross ToDegrees degrees IsNotRadians Radians Degrees 180.0 / PI); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:318:1 [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | impl + ~const Mul > const $trait for $big { [INFO] [stdout] | ^^^^^^ can't be applied to `From` [INFO] [stdout] ... [INFO] [stdout] 58 | declare!(@cross ToRadians radians IsNotDegrees Degrees Radians PI / 180.0); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:583:1 [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | impl + ~const Mul > const $trait for $big { [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Mul` [INFO] [stdout] ... [INFO] [stdout] 58 | declare!(@cross ToRadians radians IsNotDegrees Degrees Radians PI / 180.0); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:318:1 [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ~const From + [INFO] [stdout] | ^^^^^^ can't be applied to `From` [INFO] [stdout] | [INFO] [stdout] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:583:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ~const Mul + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Mul` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:318:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ~const Div + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Div` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Div` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:452:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ~const MulAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::MulAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:866:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | ~const AddAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::AddAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:741:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | ~const Sub + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Sub` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:188:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | ~const From + [INFO] [stdout] | ^^^^^^ can't be applied to `From` [INFO] [stdout] | [INFO] [stdout] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:583:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | ~const Mul + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Mul` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:318:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ~const Div + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Div` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Div` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:452:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ~const From + [INFO] [stdout] | ^^^^^^ can't be applied to `From` [INFO] [stdout] | [INFO] [stdout] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:583:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ~const Mul + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Mul` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:318:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ~const MulAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::MulAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:866:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ~const AddAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::AddAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:741:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ~const Sub + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Sub` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:188:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ~const Div + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Div` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Div` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:452:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | ~const From + [INFO] [stdout] | ^^^^^^ can't be applied to `From` [INFO] [stdout] | [INFO] [stdout] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:583:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | ~const Mul + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Mul` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:318:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | ~const MulAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::MulAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:866:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | ~const AddAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::AddAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:741:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ~const Sub + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Sub` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:188:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | ~const Div + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Div` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Div` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:452:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | ~const From + [INFO] [stdout] | ^^^^^^ can't be applied to `From` [INFO] [stdout] | [INFO] [stdout] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:583:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | ~const Mul + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Mul` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:318:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | ~const MulAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::MulAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:866:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | ~const AddAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::AddAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:741:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ~const Sub + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Sub` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:188:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ~const Div + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Div` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Div` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:452:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | ~const From + [INFO] [stdout] | ^^^^^^ can't be applied to `From` [INFO] [stdout] | [INFO] [stdout] note: `From` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:583:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | ~const Mul + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Mul` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Mul` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:318:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | ~const MulAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::MulAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::MulAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:866:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | ~const AddAssign + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::AddAssign` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::AddAssign` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:741:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | ~const Sub + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Sub` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:188:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | ~const Div + [INFO] [stdout] | ^^^^^^ can't be applied to `core::ops::Div` [INFO] [stdout] | [INFO] [stdout] note: `core::ops::Div` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/arith.rs:452:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/pow.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | result *= x; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | sine_cosine_helper(rads, precision, rads.get(), T::from(1.0)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | sine_cosine_helper(rads, precision, T::from(1.0), T::from(0.0)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 45 | sine_cosine_helper(rads, precision, T::from(1.0), T::from(0.0)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let neg_x_squared = -(rads * rads); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let neg_x_squared = -(rads * rads); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/lib.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | let mut sum = T::from(0.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / Σ!(precision => { [INFO] [stdout] 69 | | let calculated = fraction; [INFO] [stdout] 70 | | fraction *= neg_x_squared; [INFO] [stdout] 71 | | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0)); [INFO] [stdout] 72 | | current_fac += T::from(2.0); [INFO] [stdout] 73 | | calculated [INFO] [stdout] 74 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `Σ` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | fraction *= neg_x_squared; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `core::ops::Add` is not yet stable as a const trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 71 | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `core::ops::Add` is not yet stable as a const trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:71:52 [INFO] [stdout] | [INFO] [stdout] 71 | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | current_fac += T::from(2.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | current_fac += T::from(2.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/lib.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | / sum += { [INFO] [stdout] 98 | | $( $tt )* [INFO] [stdout] 99 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/sine_cosine.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / Σ!(precision => { [INFO] [stdout] 69 | | let calculated = fraction; [INFO] [stdout] 70 | | fraction *= neg_x_squared; [INFO] [stdout] 71 | | fraction /= (current_fac + T::from(1.0)) * (current_fac + T::from(2.0)); [INFO] [stdout] 72 | | current_fac += T::from(2.0); [INFO] [stdout] 73 | | calculated [INFO] [stdout] 74 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `Σ` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as From>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | $big::from(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | declare!(@base Degrees degrees ToDegrees IsNotDegrees); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as From>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | $big::from(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | declare!(@base Radians radians ToRadians IsNotRadians); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | $op(self.0 * T::from(F)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | declare!(@cross ToRadians radians IsNotDegrees Degrees Radians PI / 180.0); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | $op(self.0 * T::from(F)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | declare!(@cross ToRadians radians IsNotDegrees Degrees Radians PI / 180.0); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | $op(self.0 * T::from(F)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | declare!(@cross ToDegrees degrees IsNotRadians Radians Degrees 180.0 / PI); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/rads_degs.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | $op(self.0 * T::from(F)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | declare!(@cross ToDegrees degrees IsNotRadians Radians Degrees 180.0 / PI); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `declare` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let mut a = x * T::from(0.5); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut a = x * T::from(0.5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | dx = (x / crate::pow(a, n - 1) - a) / T::from(n as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | dx = (x / crate::pow(a, n - 1) - a) / T::from(n as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | dx = (x / crate::pow(a, n - 1) - a) / T::from(n as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | dx = (x / crate::pow(a, n - 1) - a) / T::from(n as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | a += dx; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | result = T::from(0.5) * (result + x / result); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:68:43 [INFO] [stdout] | [INFO] [stdout] 68 | result = T::from(0.5) * (result + x / result); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `core::ops::Add` is not yet stable as a const trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | result = T::from(0.5) * (result + x / result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/roots.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | result = T::from(0.5) * (result + x / result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ln(a, precision) / ln(b, precision) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | ln(x, precision) * T::from(core::f32::consts::LOG2_E) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | ln(x, precision) * T::from(core::f32::consts::LOG2_E) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | ln(x, precision) * T::from(core::f32::consts::LOG10_E) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | ln(x, precision) * T::from(core::f32::consts::LOG10_E) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | let x = (x - T::from(1.0)) / (x + T::from(1.0)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let x = (x - T::from(1.0)) / (x + T::from(1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | let x = (x - T::from(1.0)) / (x + T::from(1.0)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `core::ops::Add` is not yet stable as a const trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | let x = (x - T::from(1.0)) / (x + T::from(1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_ops)]` to the crate attributes to enable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 + #![feature(const_ops)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let x = (x - T::from(1.0)) / (x + T::from(1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | let xx = x * x; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | let mut cur_div = T::from(1.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | T::from(2.0) * Σ!(precision => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/lib.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | let mut sum = T::from(0.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | T::from(2.0) * Σ!(precision => { [INFO] [stdout] | ____________________- [INFO] [stdout] 92 | | let calculated = fraction / cur_div; [INFO] [stdout] 93 | | cur_div += T::from(2.0); [INFO] [stdout] 94 | | fraction *= xx; [INFO] [stdout] 95 | | calculated [INFO] [stdout] 96 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `Σ` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | let calculated = fraction / cur_div; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | cur_div += T::from(2.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | cur_div += T::from(2.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | fraction *= xx; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/lib.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | / sum += { [INFO] [stdout] 98 | | $( $tt )* [INFO] [stdout] 99 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | T::from(2.0) * Σ!(precision => { [INFO] [stdout] | ____________________- [INFO] [stdout] 92 | | let calculated = fraction / cur_div; [INFO] [stdout] 93 | | cur_div += T::from(2.0); [INFO] [stdout] 94 | | fraction *= xx; [INFO] [stdout] 95 | | calculated [INFO] [stdout] 96 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `Σ` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/const-trig-0.0.1/src/log.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / T::from(2.0) * Σ!(precision => { [INFO] [stdout] 92 | | let calculated = fraction / cur_div; [INFO] [stdout] 93 | | cur_div += T::from(2.0); [INFO] [stdout] 94 | | fraction *= xx; [INFO] [stdout] 95 | | calculated [INFO] [stdout] 96 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `const-trig` (lib) due to 124 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1523e690f21c1cd3324e710ed6be5c620b6cc1887e6db4c455a812c20b90e2bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1523e690f21c1cd3324e710ed6be5c620b6cc1887e6db4c455a812c20b90e2bb", kill_on_drop: false }` [INFO] [stdout] 1523e690f21c1cd3324e710ed6be5c620b6cc1887e6db4c455a812c20b90e2bb