[INFO] fetching crate dxpr 0.2.3... [INFO] testing dxpr-0.2.3 against 1.90.0 for beta-1.91-3 [INFO] extracting crate dxpr 0.2.3 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate dxpr 0.2.3 [INFO] finished tweaking crates.io crate dxpr 0.2.3 [INFO] tweaked toml for crates.io crate dxpr 0.2.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dxpr 0.2.3 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81972190a164b842f3a2bd68772530e526573c77cf0a3b3442c3a51ce47e1d1d [INFO] running `Command { std: "docker" "start" "-a" "81972190a164b842f3a2bd68772530e526573c77cf0a3b3442c3a51ce47e1d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81972190a164b842f3a2bd68772530e526573c77cf0a3b3442c3a51ce47e1d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81972190a164b842f3a2bd68772530e526573c77cf0a3b3442c3a51ce47e1d1d", kill_on_drop: false }` [INFO] [stdout] 81972190a164b842f3a2bd68772530e526573c77cf0a3b3442c3a51ce47e1d1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11fc62e08e716622a36a975119d89fe6c9909d12de6e2302225ad6ed0ef1817c [INFO] running `Command { std: "docker" "start" "-a" "11fc62e08e716622a36a975119d89fe6c9909d12de6e2302225ad6ed0ef1817c", kill_on_drop: false }` [INFO] [stderr] Compiling dxpr v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/eval.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct $existing_fn<$($arg: ~const Eval),+> { $($arg: $crate::expr::Expr<$arg>),+ } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | op_from_fn!(shit(a: i32, b: i32) -> i32); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `op_from_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/eval.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | impl<$($arg: ~const Eval),+> $existing_fn<$($arg),+> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | op_from_fn!(shit(a: i32, b: i32) -> i32); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: inherent impls cannot have `[const]` trait bounds [INFO] [stdout] --> src/eval.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | / impl<$($arg: ~const Eval),+> $existing_fn<$($arg),+> { [INFO] [stdout] 109 | | #[inline(always)] [INFO] [stdout] 110 | | pub const fn new($($arg: $crate::expr::Expr<$arg>),+) -> Self { [INFO] [stdout] 111 | | Self { $($arg),+ } [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 136 | op_from_fn!(shit(a: i32, b: i32) -> i32); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `op_from_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/expr.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Expr(pub(crate) T); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/expr.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Expr(pub(crate) T); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/expr.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct $Name(T); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | unary_op!(Neg, neg, "Arithmetic negation (e.g. `-4`)."); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `unary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct $Name(T); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | unary_op!(Neg, neg, "Arithmetic negation (e.g. `-4`)."); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | unary_op!(Neg, neg, "Arithmetic negation (e.g. `-4`)."); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `unary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct $Name(T); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | unary_op!(Not, not, "Logical negation (e.g. `!true`)."); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `unary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct $Name(T); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | unary_op!(Not, not, "Logical negation (e.g. `!true`)."); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | unary_op!(Not, not, "Logical negation (e.g. `!true`)."); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `unary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | binary_op!(BitAnd, bitand, "Bitwise conjunction (e.g. `a & b`)"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | binary_op!(BitAnd, bitand, "Bitwise conjunction (e.g. `a & b`)"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | binary_op!(BitAnd, bitand, "Bitwise conjunction (e.g. `a & b`)"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | binary_op!(BitAnd, bitand, "Bitwise conjunction (e.g. `a & b`)"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | binary_op!(BitAnd, bitand, "Bitwise conjunction (e.g. `a & b`)"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | binary_op!(BitAnd, bitand, "Bitwise conjunction (e.g. `a & b`)"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | binary_op!(BitOr, bitor, "Bitwise inclusive-or (e.g. `a | b`)"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | binary_op!(BitOr, bitor, "Bitwise inclusive-or (e.g. `a | b`)"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | binary_op!(BitOr, bitor, "Bitwise inclusive-or (e.g. `a | b`)"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | binary_op!(BitOr, bitor, "Bitwise inclusive-or (e.g. `a | b`)"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | binary_op!(BitOr, bitor, "Bitwise inclusive-or (e.g. `a | b`)"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | binary_op!(BitOr, bitor, "Bitwise inclusive-or (e.g. `a | b`)"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | binary_op!(BitXor, bitxor, "Bitwise exclusive-or (e.g. `a ^ b`)"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | binary_op!(BitXor, bitxor, "Bitwise exclusive-or (e.g. `a ^ b`)"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | binary_op!(BitXor, bitxor, "Bitwise exclusive-or (e.g. `a ^ b`)"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | binary_op!(BitXor, bitxor, "Bitwise exclusive-or (e.g. `a ^ b`)"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | binary_op!(BitXor, bitxor, "Bitwise exclusive-or (e.g. `a ^ b`)"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | binary_op!(BitXor, bitxor, "Bitwise exclusive-or (e.g. `a ^ b`)"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | binary_op!(Div, div, "Arithmetic division (e.g. `a / b`)"); // TODO: quotient rule [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | binary_op!(Div, div, "Arithmetic division (e.g. `a / b`)"); // TODO: quotient rule [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | binary_op!(Div, div, "Arithmetic division (e.g. `a / b`)"); // TODO: quotient rule [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | binary_op!(Div, div, "Arithmetic division (e.g. `a / b`)"); // TODO: quotient rule [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | binary_op!(Div, div, "Arithmetic division (e.g. `a / b`)"); // TODO: quotient rule [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | binary_op!(Div, div, "Arithmetic division (e.g. `a / b`)"); // TODO: quotient rule [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | binary_op!(Mul, mul, "Arithmetic multiplication (e.g. `a * b`)"); // TODO: product rule [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | binary_op!(Mul, mul, "Arithmetic multiplication (e.g. `a * b`)"); // TODO: product rule [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | binary_op!(Mul, mul, "Arithmetic multiplication (e.g. `a * b`)"); // TODO: product rule [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | binary_op!(Mul, mul, "Arithmetic multiplication (e.g. `a * b`)"); // TODO: product rule [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | binary_op!(Mul, mul, "Arithmetic multiplication (e.g. `a * b`)"); // TODO: product rule [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | binary_op!(Mul, mul, "Arithmetic multiplication (e.g. `a * b`)"); // TODO: product rule [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | binary_op!(Rem, rem, "Arithmetic remainder (e.g. `a % b`)"); //TODO: just the left argument [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | binary_op!(Rem, rem, "Arithmetic remainder (e.g. `a % b`)"); //TODO: just the left argument [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | binary_op!(Rem, rem, "Arithmetic remainder (e.g. `a % b`)"); //TODO: just the left argument [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | binary_op!(Rem, rem, "Arithmetic remainder (e.g. `a % b`)"); //TODO: just the left argument [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | binary_op!(Rem, rem, "Arithmetic remainder (e.g. `a % b`)"); //TODO: just the left argument [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | binary_op!(Rem, rem, "Arithmetic remainder (e.g. `a % b`)"); //TODO: just the left argument [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | binary_op!(Shl, shl, "Arithmetic left-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | binary_op!(Shl, shl, "Arithmetic left-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | binary_op!(Shl, shl, "Arithmetic left-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | binary_op!(Shl, shl, "Arithmetic left-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | binary_op!(Shl, shl, "Arithmetic left-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | binary_op!(Shl, shl, "Arithmetic left-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | binary_op!(Shr, shr, "Arithmetic right-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | binary_op!(Shr, shr, "Arithmetic right-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | binary_op!(Shr, shr, "Arithmetic right-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | binary_op!(Shr, shr, "Arithmetic right-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | binary_op!(Shr, shr, "Arithmetic right-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | binary_op!(Shr, shr, "Arithmetic right-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | binary_op!(Sub, sub, "Arithmetic subtraction (e.g. `a - b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | binary_op!(Sub, sub, "Arithmetic subtraction (e.g. `a - b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this item cannot have `[const]` trait bounds [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | binary_op!(Sub, sub, "Arithmetic subtraction (e.g. `a - b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | binary_op!(Sub, sub, "Arithmetic subtraction (e.g. `a - b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/ops/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | binary_op!(Sub, sub, "Arithmetic subtraction (e.g. `a - b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: this impl is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/ops/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | binary_op!(Sub, sub, "Arithmetic subtraction (e.g. `a - b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / #![feature( [INFO] [stdout] 48 | | associated_type_bounds, [INFO] [stdout] 49 | | const_precise_live_drops, [INFO] [stdout] 50 | | const_raw_ptr_comparison, [INFO] [stdout] 51 | | const_trait_impl [INFO] [stdout] 52 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: the feature `associated_type_bounds` has been stable since `1.79.0` and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | associated_type_bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | #![deny(warnings, missing_docs)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(stable_features)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] 96 | | > const core::ops::$Name> for Expr [INFO] [stdout] | |_____________________________________________^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] | |___________________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] ... | [INFO] [stdout] 104 | | $crate::implement_eval!( [INFO] [stdout] 105 | | L: Eval>, R: Eval => [INFO] [stdout] | |________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] 96 | | > const core::ops::$Name> for Expr [INFO] [stdout] | |_____________________________________________^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 194 | binary_op!(Div, div, "Arithmetic division (e.g. `a / b`)"); // TODO: quotient rule [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] | |___________________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 194 | binary_op!(Div, div, "Arithmetic division (e.g. `a / b`)"); // TODO: quotient rule [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] ... | [INFO] [stdout] 104 | | $crate::implement_eval!( [INFO] [stdout] 105 | | L: Eval>, R: Eval => [INFO] [stdout] | |________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 194 | binary_op!(Div, div, "Arithmetic division (e.g. `a / b`)"); // TODO: quotient rule [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] 96 | | > const core::ops::$Name> for Expr [INFO] [stdout] | |_____________________________________________^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 195 | binary_op!(Mul, mul, "Arithmetic multiplication (e.g. `a * b`)"); // TODO: product rule [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] | |___________________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 195 | binary_op!(Mul, mul, "Arithmetic multiplication (e.g. `a * b`)"); // TODO: product rule [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] ... | [INFO] [stdout] 104 | | $crate::implement_eval!( [INFO] [stdout] 105 | | L: Eval>, R: Eval => [INFO] [stdout] | |________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 195 | binary_op!(Mul, mul, "Arithmetic multiplication (e.g. `a * b`)"); // TODO: product rule [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] 96 | | > const core::ops::$Name> for Expr [INFO] [stdout] | |_____________________________________________^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 196 | binary_op!(Rem, rem, "Arithmetic remainder (e.g. `a % b`)"); //TODO: just the left argument [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] | |___________________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 196 | binary_op!(Rem, rem, "Arithmetic remainder (e.g. `a % b`)"); //TODO: just the left argument [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] ... | [INFO] [stdout] 104 | | $crate::implement_eval!( [INFO] [stdout] 105 | | L: Eval>, R: Eval => [INFO] [stdout] | |________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 196 | binary_op!(Rem, rem, "Arithmetic remainder (e.g. `a % b`)"); //TODO: just the left argument [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] 96 | | > const core::ops::$Name> for Expr [INFO] [stdout] | |_____________________________________________^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 199 | binary_op!(Sub, sub, "Arithmetic subtraction (e.g. `a - b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] | |___________________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 199 | binary_op!(Sub, sub, "Arithmetic subtraction (e.g. `a - b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] ... | [INFO] [stdout] 104 | | $crate::implement_eval!( [INFO] [stdout] 105 | | L: Eval>, R: Eval => [INFO] [stdout] | |________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 199 | binary_op!(Sub, sub, "Arithmetic subtraction (e.g. `a - b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:119:50 [INFO] [stdout] | [INFO] [stdout] 119 | L: ~const Eval> [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 201 | binary_grad!(Add, Add); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:122:47 [INFO] [stdout] | [INFO] [stdout] 122 | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] | ________________________________________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | trait is not stable as const yet [INFO] [stdout] 123 | | ::Evaluated, [INFO] [stdout] 124 | | >, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] ... [INFO] [stdout] 201 | binary_grad!(Add, Add); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | L: ~const Eval> [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 120 | | + ~const Grad< [INFO] [stdout] 121 | | Differentiated: ~const Eval< [INFO] [stdout] 122 | | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] ... | [INFO] [stdout] 132 | | impl< [INFO] [stdout] 133 | | L: ~const Eval> [INFO] [stdout] | |___________________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 201 | binary_grad!(Add, Add); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:122:58 [INFO] [stdout] | [INFO] [stdout] 122 | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 123 | | ::Evaluated, [INFO] [stdout] 124 | | >, [INFO] [stdout] 125 | | >, [INFO] [stdout] ... | [INFO] [stdout] 136 | | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] | | ------ trait is not stable as const yet [INFO] [stdout] 137 | | ::Evaluated, [INFO] [stdout] 138 | | >, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] ... [INFO] [stdout] 201 | binary_grad!(Add, Add); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | L: ~const Eval> [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 120 | | + ~const Grad< [INFO] [stdout] 121 | | Differentiated: ~const Eval< [INFO] [stdout] 122 | | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] ... | [INFO] [stdout] 149 | | impl< [INFO] [stdout] 150 | | L: ~const Eval> [INFO] [stdout] | |___________________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 201 | binary_grad!(Add, Add); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:122:58 [INFO] [stdout] | [INFO] [stdout] 122 | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 123 | | ::Evaluated, [INFO] [stdout] 124 | | >, [INFO] [stdout] 125 | | >, [INFO] [stdout] ... | [INFO] [stdout] 153 | | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] | | ------ trait is not stable as const yet [INFO] [stdout] 154 | | ::Evaluated, [INFO] [stdout] 155 | | >, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] ... [INFO] [stdout] 201 | binary_grad!(Add, Add); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | L: ~const Eval> [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 120 | | + ~const Grad< [INFO] [stdout] 121 | | Differentiated: ~const Eval< [INFO] [stdout] 122 | | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] ... | [INFO] [stdout] 166 | | impl< [INFO] [stdout] 167 | | L: ~const Eval> [INFO] [stdout] | |___________________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 201 | binary_grad!(Add, Add); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:122:58 [INFO] [stdout] | [INFO] [stdout] 122 | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 123 | | ::Evaluated, [INFO] [stdout] 124 | | >, [INFO] [stdout] 125 | | >, [INFO] [stdout] ... | [INFO] [stdout] 170 | | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] | | ------ trait is not stable as const yet [INFO] [stdout] 171 | | ::Evaluated, [INFO] [stdout] 172 | | >, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] ... [INFO] [stdout] 201 | binary_grad!(Add, Add); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:119:50 [INFO] [stdout] | [INFO] [stdout] 119 | L: ~const Eval> [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 202 | binary_grad!(Sub, Sub); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:122:47 [INFO] [stdout] | [INFO] [stdout] 122 | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] | ________________________________________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | trait is not stable as const yet [INFO] [stdout] 123 | | ::Evaluated, [INFO] [stdout] 124 | | >, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] ... [INFO] [stdout] 202 | binary_grad!(Sub, Sub); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | L: ~const Eval> [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 120 | | + ~const Grad< [INFO] [stdout] 121 | | Differentiated: ~const Eval< [INFO] [stdout] 122 | | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] ... | [INFO] [stdout] 132 | | impl< [INFO] [stdout] 133 | | L: ~const Eval> [INFO] [stdout] | |___________________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 202 | binary_grad!(Sub, Sub); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:122:58 [INFO] [stdout] | [INFO] [stdout] 122 | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 123 | | ::Evaluated, [INFO] [stdout] 124 | | >, [INFO] [stdout] 125 | | >, [INFO] [stdout] ... | [INFO] [stdout] 136 | | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] | | ------ trait is not stable as const yet [INFO] [stdout] 137 | | ::Evaluated, [INFO] [stdout] 138 | | >, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] ... [INFO] [stdout] 202 | binary_grad!(Sub, Sub); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | L: ~const Eval> [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 120 | | + ~const Grad< [INFO] [stdout] 121 | | Differentiated: ~const Eval< [INFO] [stdout] 122 | | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] ... | [INFO] [stdout] 149 | | impl< [INFO] [stdout] 150 | | L: ~const Eval> [INFO] [stdout] | |___________________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 202 | binary_grad!(Sub, Sub); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:122:58 [INFO] [stdout] | [INFO] [stdout] 122 | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 123 | | ::Evaluated, [INFO] [stdout] 124 | | >, [INFO] [stdout] 125 | | >, [INFO] [stdout] ... | [INFO] [stdout] 153 | | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] | | ------ trait is not stable as const yet [INFO] [stdout] 154 | | ::Evaluated, [INFO] [stdout] 155 | | >, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] ... [INFO] [stdout] 202 | binary_grad!(Sub, Sub); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | L: ~const Eval> [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 120 | | + ~const Grad< [INFO] [stdout] 121 | | Differentiated: ~const Eval< [INFO] [stdout] 122 | | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] ... | [INFO] [stdout] 166 | | impl< [INFO] [stdout] 167 | | L: ~const Eval> [INFO] [stdout] | |___________________________________________------______________________________^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 202 | binary_grad!(Sub, Sub); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_ops` [INFO] [stdout] --> src/ops/mod.rs:122:58 [INFO] [stdout] | [INFO] [stdout] 122 | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 123 | | ::Evaluated, [INFO] [stdout] 124 | | >, [INFO] [stdout] 125 | | >, [INFO] [stdout] ... | [INFO] [stdout] 170 | | Evaluated: ~const core::ops::$Diff< [INFO] [stdout] | | ------ trait is not stable as const yet [INFO] [stdout] 171 | | ::Evaluated, [INFO] [stdout] 172 | | >, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] ... [INFO] [stdout] 202 | binary_grad!(Sub, Sub); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143802 for more information [INFO] [stdout] = note: this error originates in the macro `binary_grad` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Neg` which is not `const` [INFO] [stdout] --> src/ops/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct $Name(T); [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | impl> const core::ops::$Name for Expr { [INFO] [stdout] | |_______________________________________________________________________^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 184 | unary_op!(Neg, neg, "Arithmetic negation (e.g. `-4`)."); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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 `unary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Not` which is not `const` [INFO] [stdout] --> src/ops/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct $Name(T); [INFO] [stdout] | ____________________^ [INFO] [stdout] 20 | | impl> const core::ops::$Name for Expr { [INFO] [stdout] | |_______________________________________________________________________^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 185 | unary_op!(Not, not, "Logical negation (e.g. `!true`)."); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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 `unary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `BitAnd` which is not `const` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] 96 | | > const core::ops::$Name> for Expr [INFO] [stdout] | |_____________________________________________^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 191 | binary_op!(BitAnd, bitand, "Bitwise conjunction (e.g. `a & b`)"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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 `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `BitOr` which is not `const` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] 96 | | > const core::ops::$Name> for Expr [INFO] [stdout] | |_____________________________________________^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 192 | binary_op!(BitOr, bitor, "Bitwise inclusive-or (e.g. `a | b`)"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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 `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `BitXor` which is not `const` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] 96 | | > const core::ops::$Name> for Expr [INFO] [stdout] | |_____________________________________________^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 193 | binary_op!(BitXor, bitxor, "Bitwise exclusive-or (e.g. `a ^ b`)"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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 `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Shl` which is not `const` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] 96 | | > const core::ops::$Name> for Expr [INFO] [stdout] | |_____________________________________________^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 197 | binary_op!(Shl, shl, "Arithmetic left-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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 `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Shr` which is not `const` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] 96 | | > const core::ops::$Name> for Expr [INFO] [stdout] | |_____________________________________________^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 198 | binary_op!(Shr, shr, "Arithmetic right-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` 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 `binary_op` (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` traits [INFO] [stdout] --> src/ops/mod.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | impl> const core::ops::$Name for Expr { [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Neg` [INFO] [stdout] ... [INFO] [stdout] 184 | unary_op!(Neg, neg, "Arithmetic negation (e.g. `-4`)."); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Neg` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/arith.rs:682:1 [INFO] [stdout] = note: this error originates in the macro `unary_op` (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` traits [INFO] [stdout] --> src/ops/mod.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | T: Eval => [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Neg` [INFO] [stdout] ... [INFO] [stdout] 184 | unary_op!(Neg, neg, "Arithmetic negation (e.g. `-4`)."); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Neg` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/arith.rs:682:1 [INFO] [stdout] = note: this error originates in the macro `unary_op` (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` traits [INFO] [stdout] --> src/ops/mod.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | impl> const core::ops::$Name for Expr { [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Not` [INFO] [stdout] ... [INFO] [stdout] 185 | unary_op!(Not, not, "Logical negation (e.g. `!true`)."); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Not` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/bit.rs:34:1 [INFO] [stdout] = note: this error originates in the macro `unary_op` (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` traits [INFO] [stdout] --> src/ops/mod.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | T: Eval => [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Not` [INFO] [stdout] ... [INFO] [stdout] 185 | unary_op!(Not, not, "Logical negation (e.g. `!true`)."); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Not` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/bit.rs:34:1 [INFO] [stdout] = note: this error originates in the macro `unary_op` (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` traits [INFO] [stdout] --> src/ops/mod.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | T: ~const Eval [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Neg` [INFO] [stdout] ... [INFO] [stdout] 187 | unary_grad!(Neg, Neg); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Neg` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/arith.rs:682:1 [INFO] [stdout] = note: this error originates in the macro `unary_grad` (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` traits [INFO] [stdout] --> src/ops/mod.rs:44:74 [INFO] [stdout] | [INFO] [stdout] 44 | + ~const Grad>, [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Neg` [INFO] [stdout] ... [INFO] [stdout] 187 | unary_grad!(Neg, Neg); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Neg` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/arith.rs:682:1 [INFO] [stdout] = note: this error originates in the macro `unary_grad` (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` traits [INFO] [stdout] --> src/ops/mod.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | T: ~const Eval [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Neg` [INFO] [stdout] ... [INFO] [stdout] 187 | unary_grad!(Neg, Neg); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Neg` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/arith.rs:682:1 [INFO] [stdout] = note: this error originates in the macro `unary_grad` (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` traits [INFO] [stdout] --> src/ops/mod.rs:51:74 [INFO] [stdout] | [INFO] [stdout] 51 | + ~const Grad>, [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Neg` [INFO] [stdout] ... [INFO] [stdout] 187 | unary_grad!(Neg, Neg); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Neg` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/arith.rs:682:1 [INFO] [stdout] = note: this error originates in the macro `unary_grad` (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` traits [INFO] [stdout] --> src/ops/mod.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | T: ~const Eval [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Neg` [INFO] [stdout] ... [INFO] [stdout] 187 | unary_grad!(Neg, Neg); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Neg` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/arith.rs:682:1 [INFO] [stdout] = note: this error originates in the macro `unary_grad` (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` traits [INFO] [stdout] --> src/ops/mod.rs:61:74 [INFO] [stdout] | [INFO] [stdout] 61 | + ~const Grad>, [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Neg` [INFO] [stdout] ... [INFO] [stdout] 187 | unary_grad!(Neg, Neg); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Neg` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/arith.rs:682:1 [INFO] [stdout] = note: this error originates in the macro `unary_grad` (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` traits [INFO] [stdout] --> src/ops/mod.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | T: ~const Eval [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Neg` [INFO] [stdout] ... [INFO] [stdout] 187 | unary_grad!(Neg, Neg); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Neg` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/arith.rs:682:1 [INFO] [stdout] = note: this error originates in the macro `unary_grad` (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` traits [INFO] [stdout] --> src/ops/mod.rs:71:74 [INFO] [stdout] | [INFO] [stdout] 71 | + ~const Grad>, [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Neg` [INFO] [stdout] ... [INFO] [stdout] 187 | unary_grad!(Neg, Neg); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Neg` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/arith.rs:682:1 [INFO] [stdout] = note: this error originates in the macro `unary_grad` (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` traits [INFO] [stdout] --> src/ops/mod.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | L: ~const Eval>, [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::BitAnd` [INFO] [stdout] ... [INFO] [stdout] 191 | binary_op!(BitAnd, bitand, "Bitwise conjunction (e.g. `a & b`)"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::BitAnd` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/bit.rs:144:1 [INFO] [stdout] = note: this error originates in the macro `binary_op` (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` traits [INFO] [stdout] --> src/ops/mod.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | L: Eval>, R: Eval => [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::BitAnd` [INFO] [stdout] ... [INFO] [stdout] 191 | binary_op!(BitAnd, bitand, "Bitwise conjunction (e.g. `a & b`)"); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::BitAnd` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/bit.rs:144:1 [INFO] [stdout] = note: this error originates in the macro `binary_op` (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` traits [INFO] [stdout] --> src/ops/mod.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | L: ~const Eval>, [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::BitOr` [INFO] [stdout] ... [INFO] [stdout] 192 | binary_op!(BitOr, bitor, "Bitwise inclusive-or (e.g. `a | b`)"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::BitOr` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/bit.rs:244:1 [INFO] [stdout] = note: this error originates in the macro `binary_op` (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` traits [INFO] [stdout] --> src/ops/mod.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | L: Eval>, R: Eval => [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::BitOr` [INFO] [stdout] ... [INFO] [stdout] 192 | binary_op!(BitOr, bitor, "Bitwise inclusive-or (e.g. `a | b`)"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::BitOr` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/bit.rs:244:1 [INFO] [stdout] = note: this error originates in the macro `binary_op` (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` traits [INFO] [stdout] --> src/ops/mod.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | L: ~const Eval>, [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::BitXor` [INFO] [stdout] ... [INFO] [stdout] 193 | binary_op!(BitXor, bitxor, "Bitwise exclusive-or (e.g. `a ^ b`)"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::BitXor` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/bit.rs:344:1 [INFO] [stdout] = note: this error originates in the macro `binary_op` (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` traits [INFO] [stdout] --> src/ops/mod.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | L: Eval>, R: Eval => [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::BitXor` [INFO] [stdout] ... [INFO] [stdout] 193 | binary_op!(BitXor, bitxor, "Bitwise exclusive-or (e.g. `a ^ b`)"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::BitXor` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/bit.rs:344:1 [INFO] [stdout] = note: this error originates in the macro `binary_op` (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` traits [INFO] [stdout] --> src/ops/mod.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | L: ~const Eval>, [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Shl` [INFO] [stdout] ... [INFO] [stdout] 197 | binary_op!(Shl, shl, "Arithmetic left-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Shl` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/bit.rs:443:1 [INFO] [stdout] = note: this error originates in the macro `binary_op` (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` traits [INFO] [stdout] --> src/ops/mod.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | L: Eval>, R: Eval => [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Shl` [INFO] [stdout] ... [INFO] [stdout] 197 | binary_op!(Shl, shl, "Arithmetic left-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Shl` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/bit.rs:443:1 [INFO] [stdout] = note: this error originates in the macro `binary_op` (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` traits [INFO] [stdout] --> src/ops/mod.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | L: ~const Eval>, [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Shr` [INFO] [stdout] ... [INFO] [stdout] 198 | binary_op!(Shr, shr, "Arithmetic right-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Shr` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/bit.rs:561:1 [INFO] [stdout] = note: this error originates in the macro `binary_op` (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` traits [INFO] [stdout] --> src/ops/mod.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | L: Eval>, R: Eval => [INFO] [stdout] | ^^^^^^ can't be applied to `std::ops::Shr` [INFO] [stdout] ... [INFO] [stdout] 198 | binary_op!(Shr, shr, "Arithmetic right-shift (e.g. `a << b`)"); //TODO: more complicated [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ops::Shr` can't be used with `[const]` because it isn't `const` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/bit.rs:561:1 [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&i32: const std::ops::Add<&i32>` is not satisfied [INFO] [stdout] --> src/eval.rs:142:38 [INFO] [stdout] | [INFO] [stdout] 142 | const A: Expr> = var(&1) + var(&2); // -> 3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: required for `Expr<&i32>` to implement `const std::ops::Add>` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] | | ------------------------------------- unsatisfied trait bound introduced here [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] 96 | | > const core::ops::$Name> for Expr [INFO] [stdout] | |_____________________________________________^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&i32: const std::ops::Add<&i32>` is not satisfied [INFO] [stdout] --> src/eval.rs:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | const B: Expr> = var(&4) + var(&8); // -> 12 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: required for `Expr<&i32>` to implement `const std::ops::Add>` [INFO] [stdout] --> src/ops/mod.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct $Name(L, R); [INFO] [stdout] | ____________________^ [INFO] [stdout] 93 | | impl< [INFO] [stdout] 94 | | L: ~const Eval>, [INFO] [stdout] | | ------------------------------------- unsatisfied trait bound introduced here [INFO] [stdout] 95 | | R: ~const Eval, [INFO] [stdout] 96 | | > const core::ops::$Name> for Expr [INFO] [stdout] | |_____________________________________________^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&i32: const std::ops::Add` is not satisfied [INFO] [stdout] --> src/eval.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 144 | const C: i32 = dxpr::shit(A, B).eval(); // -> 15 [INFO] [stdout] | ---------- ^ [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required for `ops::Add<&i32, &i32>` to implement `const Eval` [INFO] [stdout] --> src/eval.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 95 | impl<$($t: ~const $const_trait),+> const $crate::eval::Eval for $name {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ops/mod.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | L: Eval>, R: Eval => [INFO] [stdout] | ------------------------------------- unsatisfied trait bound introduced here [INFO] [stdout] 106 | $Name >-> >::Output: [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] note: required by a bound in `dxpr::shit` [INFO] [stdout] --> src/eval.rs:125:47 [INFO] [stdout] | [INFO] [stdout] 125 | pub const fn $existing_fn<$($arg: ~const $crate::eval::Eval),+>($($arg: $crate::expr::Expr<$arg>),+) -> ops::... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `shit` [INFO] [stdout] ... [INFO] [stdout] 136 | op_from_fn!(shit(a: i32, b: i32) -> i32); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | in this macro invocation [INFO] [stdout] = note: this error originates in the macro `$crate::implement_eval` which comes from the expansion of the macro `op_from_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&i32: const std::ops::Add` is not satisfied [INFO] [stdout] --> src/eval.rs:144:34 [INFO] [stdout] | [INFO] [stdout] 144 | const C: i32 = dxpr::shit(A, B).eval(); // -> 15 [INFO] [stdout] | ---------- ^ [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required for `ops::Add<&i32, &i32>` to implement `const Eval` [INFO] [stdout] --> src/eval.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 95 | impl<$($t: ~const $const_trait),+> const $crate::eval::Eval for $name {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ops/mod.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | L: Eval>, R: Eval => [INFO] [stdout] | ------------------------------------- unsatisfied trait bound introduced here [INFO] [stdout] 106 | $Name >-> >::Output: [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] note: required by a bound in `dxpr::shit` [INFO] [stdout] --> src/eval.rs:125:47 [INFO] [stdout] | [INFO] [stdout] 125 | pub const fn $existing_fn<$($arg: ~const $crate::eval::Eval),+>($($arg: $crate::expr::Expr<$arg>),+) -> ops::... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `shit` [INFO] [stdout] ... [INFO] [stdout] 136 | op_from_fn!(shit(a: i32, b: i32) -> i32); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | in this macro invocation [INFO] [stdout] = note: this error originates in the macro `$crate::implement_eval` which comes from the expansion of the macro `op_from_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&i32: const std::ops::Add` is not satisfied [INFO] [stdout] --> src/eval.rs:144:37 [INFO] [stdout] | [INFO] [stdout] 144 | const C: i32 = dxpr::shit(A, B).eval(); // -> 15 [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: required for `ops::Add<&i32, &i32>` to implement `const Eval` [INFO] [stdout] --> src/eval.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 95 | impl<$($t: ~const $const_trait),+> const $crate::eval::Eval for $name {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ops/mod.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | L: Eval>, R: Eval => [INFO] [stdout] | ------------------------------------- unsatisfied trait bound introduced here [INFO] [stdout] 106 | $Name >-> >::Output: [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] note: required for `shit, ops::Add<&i32, &i32>>` to implement `const eval::Own` [INFO] [stdout] --> src/eval.rs:83:50 [INFO] [stdout] | [INFO] [stdout] 83 | impl<$($t: ~const $const_trait),+> const $crate::eval::Own for $name { [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] ... [INFO] [stdout] 116 | $existing_fn<$($arg),+> >-> $o: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | op_from_fn!(shit(a: i32, b: i32) -> i32); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `$crate::implement_eval` which comes from the expansion of the macro `op_from_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<::Evaluated as std::ops::Neg>::neg` in constant functions [INFO] [stdout] --> src/ops/mod.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | core::ops::$Name::$name(self.0.eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | unary_op!(Neg, neg, "Arithmetic negation (e.g. `-4`)."); [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 `unary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<::Evaluated as std::ops::Neg>::neg` in constant functions [INFO] [stdout] --> src/ops/mod.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | core::ops::$Name::$name((&self.0).eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | unary_op!(Neg, neg, "Arithmetic negation (e.g. `-4`)."); [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 `unary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<::Evaluated as std::ops::Not>::not` in constant functions [INFO] [stdout] --> src/ops/mod.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | core::ops::$Name::$name(self.0.eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | unary_op!(Not, not, "Logical negation (e.g. `!true`)."); [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 `unary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<::Evaluated as std::ops::Not>::not` in constant functions [INFO] [stdout] --> src/ops/mod.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | core::ops::$Name::$name((&self.0).eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | unary_op!(Not, not, "Logical negation (e.g. `!true`)."); [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 `unary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `std::ops::Add` is not yet stable as a const trait [INFO] [stdout] --> src/ops/mod.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | core::ops::$Name::$name(self.0.eval(), self.1.eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `std::ops::Add` is not yet stable as a const trait [INFO] [stdout] --> src/ops/mod.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | core::ops::$Name::$name((&self.0).eval(), (&self.1).eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | binary_op!(Add, add, "Arithmetic addition (e.g. `a + b`"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<::Evaluated as std::ops::BitAnd<::Evaluated>>::bitand` in constant functions [INFO] [stdout] --> src/ops/mod.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | core::ops::$Name::$name(self.0.eval(), self.1.eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | binary_op!(BitAnd, bitand, "Bitwise conjunction (e.g. `a & b`)"); [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 `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<::Evaluated as std::ops::BitAnd<::Evaluated>>::bitand` in constant functions [INFO] [stdout] --> src/ops/mod.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | core::ops::$Name::$name((&self.0).eval(), (&self.1).eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | binary_op!(BitAnd, bitand, "Bitwise conjunction (e.g. `a & b`)"); [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 `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<::Evaluated as std::ops::BitOr<::Evaluated>>::bitor` in constant functions [INFO] [stdout] --> src/ops/mod.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | core::ops::$Name::$name(self.0.eval(), self.1.eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | binary_op!(BitOr, bitor, "Bitwise inclusive-or (e.g. `a | b`)"); [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 `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<::Evaluated as std::ops::BitOr<::Evaluated>>::bitor` in constant functions [INFO] [stdout] --> src/ops/mod.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | core::ops::$Name::$name((&self.0).eval(), (&self.1).eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | binary_op!(BitOr, bitor, "Bitwise inclusive-or (e.g. `a | b`)"); [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 `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<::Evaluated as std::ops::BitXor<::Evaluated>>::bitxor` in constant functions [INFO] [stdout] --> src/ops/mod.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | core::ops::$Name::$name(self.0.eval(), self.1.eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | binary_op!(BitXor, bitxor, "Bitwise exclusive-or (e.g. `a ^ b`)"); [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 `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<::Evaluated as std::ops::BitXor<::Evaluated>>::bitxor` in constant functions [INFO] [stdout] --> src/ops/mod.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | core::ops::$Name::$name((&self.0).eval(), (&self.1).eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | binary_op!(BitXor, bitxor, "Bitwise exclusive-or (e.g. `a ^ b`)"); [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 `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `std::ops::Div` is not yet stable as a const trait [INFO] [stdout] --> src/ops/mod.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | core::ops::$Name::$name(self.0.eval(), self.1.eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | binary_op!(Div, div, "Arithmetic division (e.g. `a / b`)"); // TODO: quotient rule [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `std::ops::Div` is not yet stable as a const trait [INFO] [stdout] --> src/ops/mod.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | core::ops::$Name::$name((&self.0).eval(), (&self.1).eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | binary_op!(Div, div, "Arithmetic division (e.g. `a / b`)"); // TODO: quotient rule [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `std::ops::Mul` is not yet stable as a const trait [INFO] [stdout] --> src/ops/mod.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | core::ops::$Name::$name(self.0.eval(), self.1.eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | binary_op!(Mul, mul, "Arithmetic multiplication (e.g. `a * b`)"); // TODO: product rule [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `std::ops::Mul` is not yet stable as a const trait [INFO] [stdout] --> src/ops/mod.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | core::ops::$Name::$name((&self.0).eval(), (&self.1).eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | binary_op!(Mul, mul, "Arithmetic multiplication (e.g. `a * b`)"); // TODO: product rule [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `std::ops::Rem` is not yet stable as a const trait [INFO] [stdout] --> src/ops/mod.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | core::ops::$Name::$name(self.0.eval(), self.1.eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | binary_op!(Rem, rem, "Arithmetic remainder (e.g. `a % b`)"); //TODO: just the left argument [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `std::ops::Rem` is not yet stable as a const trait [INFO] [stdout] --> src/ops/mod.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | core::ops::$Name::$name((&self.0).eval(), (&self.1).eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | binary_op!(Rem, rem, "Arithmetic remainder (e.g. `a % b`)"); //TODO: just the left argument [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<::Evaluated as std::ops::Shl<::Evaluated>>::shl` in constant functions [INFO] [stdout] --> src/ops/mod.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | core::ops::$Name::$name(self.0.eval(), self.1.eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | binary_op!(Shl, shl, "Arithmetic left-shift (e.g. `a << b`)"); //TODO: more complicated [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 `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<::Evaluated as std::ops::Shl<::Evaluated>>::shl` in constant functions [INFO] [stdout] --> src/ops/mod.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | core::ops::$Name::$name((&self.0).eval(), (&self.1).eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | binary_op!(Shl, shl, "Arithmetic left-shift (e.g. `a << b`)"); //TODO: more complicated [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 `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<::Evaluated as std::ops::Shr<::Evaluated>>::shr` in constant functions [INFO] [stdout] --> src/ops/mod.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | core::ops::$Name::$name(self.0.eval(), self.1.eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | binary_op!(Shr, shr, "Arithmetic right-shift (e.g. `a << b`)"); //TODO: more complicated [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 `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `<::Evaluated as std::ops::Shr<::Evaluated>>::shr` in constant functions [INFO] [stdout] --> src/ops/mod.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | core::ops::$Name::$name((&self.0).eval(), (&self.1).eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | binary_op!(Shr, shr, "Arithmetic right-shift (e.g. `a << b`)"); //TODO: more complicated [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 `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `std::ops::Sub` is not yet stable as a const trait [INFO] [stdout] --> src/ops/mod.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | core::ops::$Name::$name(self.0.eval(), self.1.eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | binary_op!(Sub, sub, "Arithmetic subtraction (e.g. `a - b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `std::ops::Sub` is not yet stable as a const trait [INFO] [stdout] --> src/ops/mod.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | core::ops::$Name::$name((&self.0).eval(), (&self.1).eval()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | binary_op!(Sub, sub, "Arithmetic subtraction (e.g. `a - b`)"); //TODO: more complicated [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0277, E0554, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dxpr` (lib) due to 138 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "11fc62e08e716622a36a975119d89fe6c9909d12de6e2302225ad6ed0ef1817c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11fc62e08e716622a36a975119d89fe6c9909d12de6e2302225ad6ed0ef1817c", kill_on_drop: false }` [INFO] [stdout] 11fc62e08e716622a36a975119d89fe6c9909d12de6e2302225ad6ed0ef1817c