const_ops 0.2.2

const-ready version of core::ops / std::ops arithmetic traits
Documentation

Build #3449477 2026-06-01 08:57:49

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# error kind ExecutionFailed

# pre-build errors command failed: exit status: 101

# rustc version rustc 1.98.0-nightly (14210df0e 2026-05-31)

# docs.rs version docsrs 0.0.0 (f16e33f3e6ac9fc9e4413728c5dd1b2ba1c6b799 2026-05-23 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "bdf890959607f33c68be0f572bb6f3b06ed0f5d6b2cb2086318d09b8a41473a8" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260531-1.98.0-nightly-14210df0e\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting const_ops v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:15:3 [INFO] [stderr] | [INFO] [stderr] 15 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:20:3 [INFO] [stderr] | [INFO] [stderr] 20 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:24:3 [INFO] [stderr] | [INFO] [stderr] 24 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:29:3 [INFO] [stderr] | [INFO] [stderr] 29 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:33:3 [INFO] [stderr] | [INFO] [stderr] 33 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:38:3 [INFO] [stderr] | [INFO] [stderr] 38 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:42:3 [INFO] [stderr] | [INFO] [stderr] 42 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:47:3 [INFO] [stderr] | [INFO] [stderr] 47 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:51:3 [INFO] [stderr] | [INFO] [stderr] 51 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:56:3 [INFO] [stderr] | [INFO] [stderr] 56 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:60:3 [INFO] [stderr] | [INFO] [stderr] 60 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:65:3 [INFO] [stderr] | [INFO] [stderr] 65 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:70:3 [INFO] [stderr] | [INFO] [stderr] 70 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:75:3 [INFO] [stderr] | [INFO] [stderr] 75 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:79:3 [INFO] [stderr] | [INFO] [stderr] 79 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:84:3 [INFO] [stderr] | [INFO] [stderr] 84 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:88:3 [INFO] [stderr] | [INFO] [stderr] 88 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:93:3 [INFO] [stderr] | [INFO] [stderr] 93 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:97:3 [INFO] [stderr] | [INFO] [stderr] 97 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:102:3 [INFO] [stderr] | [INFO] [stderr] 102 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `const_trait` in this scope [INFO] [stderr] --> src/lib.rs:107:3 [INFO] [stderr] | [INFO] [stderr] 107 | #[const_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `Add` which is not `const` [INFO] [stderr] --> src/impls/add.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | impl const Add for $t { [INFO] [stderr] | ^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 17 | add_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64} [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `add_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `Add` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub const trait Add<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `AddAssign` which is not `const` [INFO] [stderr] --> src/impls/add_assign.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const AddAssign for $t { [INFO] [stderr] | ^^^^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 14 | add_assign_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64} [INFO] [stderr] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `add_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `AddAssign` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub const trait AddAssign<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `BitAnd` which is not `const` [INFO] [stderr] --> src/impls/bitand.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const BitAnd for $t { [INFO] [stderr] | ^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 14 | bitand_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 } [INFO] [stderr] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `bitand_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `BitAnd` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub const trait BitAnd<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `BitAndAssign` which is not `const` [INFO] [stderr] --> src/impls/bitand_assign.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const BitAndAssign for $t { [INFO] [stderr] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 13 | bitand_assign_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 } [INFO] [stderr] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `bitand_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `BitAndAssign` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub const trait BitAndAssign<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `BitOr` which is not `const` [INFO] [stderr] --> src/impls/bitor.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const BitOr for $t { [INFO] [stderr] | ^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 14 | bitor_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 } [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `bitor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `BitOr` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub const trait BitOr<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `BitOrAssign` which is not `const` [INFO] [stderr] --> src/impls/bitor_assign.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const BitOrAssign for $t { [INFO] [stderr] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 12 | bitor_assign_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 } [INFO] [stderr] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `bitor_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `BitOrAssign` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | pub const trait BitOrAssign<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `BitXor` which is not `const` [INFO] [stderr] --> src/impls/bitxor.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const BitXor for $t { [INFO] [stderr] | ^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 14 | bitxor_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 } [INFO] [stderr] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `bitxor_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `BitXor` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub const trait BitXor<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `BitXorAssign` which is not `const` [INFO] [stderr] --> src/impls/bitxor_assign.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const BitXorAssign for $t { [INFO] [stderr] | ^^^^^^^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 12 | bitxor_assign_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 } [INFO] [stderr] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `bitxor_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `BitXorAssign` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub const trait BitXorAssign<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `Div` which is not `const` [INFO] [stderr] --> src/impls/div.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | impl const Div for $t { [INFO] [stderr] | ^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 20 | / div_impl_integer! { [INFO] [stderr] 21 | | (usize u8 u16 u32 u64 u128) => "This operation will panic if `other == 0`.", [INFO] [stderr] 22 | | (isize i8 i16 i32 i64 i128) => "This operation will panic if `other == 0` or the division results in overflow." [INFO] [stderr] 23 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `div_impl_integer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `Div` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | pub const trait Div<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `DivAssign` which is not `const` [INFO] [stderr] --> src/impls/div_assign.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const DivAssign for $t { [INFO] [stderr] | ^^^^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 12 | div_assign_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 } [INFO] [stderr] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `div_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `DivAssign` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | pub const trait DivAssign<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `Mul` which is not `const` [INFO] [stderr] --> src/impls/mul.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const Mul for $t { [INFO] [stderr] | ^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 14 | mul_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 } [INFO] [stderr] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `mul_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `Mul` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | pub const trait Mul<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `MulAssign` which is not `const` [INFO] [stderr] --> src/impls/mul_assign.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const MulAssign for $t { [INFO] [stderr] | ^^^^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 12 | mul_assign_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 } [INFO] [stderr] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `mul_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `MulAssign` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | pub const trait MulAssign<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `Neg` which is not `const` [INFO] [stderr] --> src/impls/neg.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const Neg for $t { [INFO] [stderr] | ^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 14 | neg_impl! { isize i8 i16 i32 i64 i128 f32 f64 } [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `neg_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `Neg` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | pub const trait Neg { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `Not` which is not `const` [INFO] [stderr] --> src/impls/not.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const Not for $t { [INFO] [stderr] | ^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 14 | not_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 } [INFO] [stderr] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `not_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `Not` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | pub const trait Not { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `PartialEq` which is not `const` [INFO] [stderr] --> src/impls/partial_eq.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const PartialEq for $t { [INFO] [stderr] | ^^^^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 13 | partialeq_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 } [INFO] [stderr] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `partialeq_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `PartialEq` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | pub const trait PartialEq<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `Rem` which is not `const` [INFO] [stderr] --> src/impls/rem.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | impl const Rem for $t { [INFO] [stderr] | ^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 20 | / rem_impl_integer! { [INFO] [stderr] 21 | | (usize u8 u16 u32 u64 u128) => "This operation will panic if `other == 0`.", [INFO] [stderr] 22 | | (isize i8 i16 i32 i64 i128) => "This operation will panic if `other == 0` or if `self / other` results in overflow." [INFO] [stderr] 23 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `rem_impl_integer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `Rem` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | pub const trait Rem<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `RemAssign` which is not `const` [INFO] [stderr] --> src/impls/rem_assign.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const RemAssign for $t { [INFO] [stderr] | ^^^^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 12 | rem_assign_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 } [INFO] [stderr] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `rem_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `RemAssign` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | pub const trait RemAssign<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `Shl` which is not `const` [INFO] [stderr] --> src/impls/shl.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const Shl<$f> for $t { [INFO] [stderr] | ^^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 33 | shl_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 isize i128 } [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `shl_impl` which comes from the expansion of the macro `shl_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `Shl` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | pub const trait Shl<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `ShlAssign` which is not `const` [INFO] [stderr] --> src/impls/shl_assign.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const ShlAssign<$f> for $t { [INFO] [stderr] | ^^^^^^^^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 32 | shl_assign_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize } [INFO] [stderr] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `shl_assign_impl` which comes from the expansion of the macro `shl_assign_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `ShlAssign` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | pub const trait ShlAssign<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `Shr` which is not `const` [INFO] [stderr] --> src/impls/shr.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const Shr<$f> for $t { [INFO] [stderr] | ^^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 34 | shr_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize } [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `shr_impl` which comes from the expansion of the macro `shr_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `Shr` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | pub const trait Shr<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `ShrAssign` which is not `const` [INFO] [stderr] --> src/impls/shr_assign.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const ShrAssign<$f> for $t { [INFO] [stderr] | ^^^^^^^^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 32 | shr_assign_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize } [INFO] [stderr] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `shr_assign_impl` which comes from the expansion of the macro `shr_assign_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `ShrAssign` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | pub const trait ShrAssign<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `Sub` which is not `const` [INFO] [stderr] --> src/impls/sub.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const Sub for $t { [INFO] [stderr] | ^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 14 | sub_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 } [INFO] [stderr] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `sub_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `Sub` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | pub const trait Sub<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: const `impl` for trait `SubAssign` which is not `const` [INFO] [stderr] --> src/impls/sub_assign.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | impl const SubAssign for $t { [INFO] [stderr] | ^^^^^^^^^ this trait is not `const` [INFO] [stderr] ... [INFO] [stderr] 12 | sub_assign_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 } [INFO] [stderr] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stderr] = note: adding a non-const method body in the future would be a breaking change [INFO] [stderr] = note: this error originates in the macro `sub_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: mark `SubAssign` as `const` to allow it to have `const` implementations [INFO] [stderr] --> src/lib.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | pub const trait SubAssign<Rhs = Self> { [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] error: could not document `const_ops` [INFO] running `Command { std: "docker" "inspect" "bdf890959607f33c68be0f572bb6f3b06ed0f5d6b2cb2086318d09b8a41473a8", kill_on_drop: false }`