[INFO] fetching crate anyint 0.1.0... [INFO] checking anyint-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate anyint 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate anyint 0.1.0 [INFO] finished tweaking crates.io crate anyint 0.1.0 [INFO] tweaked toml for crates.io crate anyint 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate anyint 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyint_macros v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37b3ca344b7fde0f35ce9f2bd3d4b0db2174a34ce019f07973ef95b3b2474d04 [INFO] running `Command { std: "docker" "start" "-a" "37b3ca344b7fde0f35ce9f2bd3d4b0db2174a34ce019f07973ef95b3b2474d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37b3ca344b7fde0f35ce9f2bd3d4b0db2174a34ce019f07973ef95b3b2474d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37b3ca344b7fde0f35ce9f2bd3d4b0db2174a34ce019f07973ef95b3b2474d04", kill_on_drop: false }` [INFO] [stdout] 37b3ca344b7fde0f35ce9f2bd3d4b0db2174a34ce019f07973ef95b3b2474d04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22de07e7b3962674131222b3a5471f325221653a3dd11b2982f09436269215ed [INFO] running `Command { std: "docker" "start" "-a" "22de07e7b3962674131222b3a5471f325221653a3dd11b2982f09436269215ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling anyint_macros v0.1.0 [INFO] [stderr] Checking anyint v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 345 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 346 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 345 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 346 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 345 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 346 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 345 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 346 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 345 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 346 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 345 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 346 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 521 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 522 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 523 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 521 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 522 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 523 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 521 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 522 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 523 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 521 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 522 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 523 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 521 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 522 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 523 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 521 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 522 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 523 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 345 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 346 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 345 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 346 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 345 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 346 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 345 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 346 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 345 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 346 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 345 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 346 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 521 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 522 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 523 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 521 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 522 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 523 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 521 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 522 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 523 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 521 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 522 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 523 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 521 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 522 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 523 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0201]: duplicate definitions with name `wrapping_rem`: [INFO] [stdout] --> src/integer.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 203 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 204 | | Self(self.0.wrapping_rem(rhs.0)) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________- previous definition here [INFO] [stdout] ... [INFO] [stdout] 521 | / fn wrapping_rem(self, rhs: Self) -> Self { [INFO] [stdout] 522 | | self.overflowing_rem(rhs).0 [INFO] [stdout] 523 | | } [INFO] [stdout] | |_____________^ duplicate definition [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/non_standard_integer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | fn wrapping_rem(self, rhs: Self) -> Self; [INFO] [stdout] | ----------------------------------------- item in trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `displaydoc` [INFO] [stdout] --> src/error.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(displaydoc)] [INFO] [stdout] | ^^^^^^^^^^ help: found config with similar value: `feature = "displaydoc"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(displaydoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(displaydoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `displaydoc` [INFO] [stdout] --> src/error.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(displaydoc)] [INFO] [stdout] | ^^^^^^^^^^ help: found config with similar value: `feature = "displaydoc"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(displaydoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(displaydoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | std, [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `displaydoc` [INFO] [stdout] --> src/error.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg_attr(displaydoc, derive(Display))] [INFO] [stdout] | ^^^^^^^^^^ help: found config with similar value: `feature = "displaydoc"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(displaydoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(displaydoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | std, [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `displaydoc` [INFO] [stdout] --> src/error.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg_attr(displaydoc, derive(Display))] [INFO] [stdout] | ^^^^^^^^^^ help: found config with similar value: `feature = "displaydoc"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(displaydoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(displaydoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/error.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(std, derive(thiserror::Error))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `displaydoc` [INFO] [stdout] --> src/error.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg_attr(displaydoc, derive(Display))] [INFO] [stdout] | ^^^^^^^^^^ help: found config with similar value: `feature = "displaydoc"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(displaydoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(displaydoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/error.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(std, derive(thiserror::Error))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `displaydoc` [INFO] [stdout] --> src/error.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg_attr(displaydoc, derive(Display))] [INFO] [stdout] | ^^^^^^^^^^ help: found config with similar value: `feature = "displaydoc"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(displaydoc)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(displaydoc)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `result_flattening` has been stable since 1.89.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | result_flattening [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `result_flattening` has been stable since 1.89.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | result_flattening [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_try` [INFO] [stdout] --> src/integer.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | impl const AsRef for int { [INFO] [stdout] | ^^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #74935 for more information [INFO] [stdout] = help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_try` [INFO] [stdout] --> src/integer.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | impl const AsRef for int { [INFO] [stdout] | ^^^^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #74935 for more information [INFO] [stdout] = help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$ty> for int<$ty, BITS> [INFO] [stdout] | ^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (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_from` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ trait is not stable as const yet [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #143773 for more information [INFO] [stdout] = help: add `#![feature(const_from)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | impl const LossyFrom<$ty> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `LossyFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[const_trait] pub trait LossyFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `UncheckedFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe impl const UncheckedFrom for int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [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] help: mark `UncheckedFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[const_trait] pub unsafe trait UncheckedFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `UncheckedFrom` which is not `const` [INFO] [stdout] --> src/integer.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe impl const UncheckedFrom for int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [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] help: mark `UncheckedFrom` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/convert.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[const_trait] pub unsafe trait UncheckedFrom: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Wrap` which is not `const` [INFO] [stdout] --> src/integer.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | impl const Wrap for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[const_trait] pub trait Wrap: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardInteger` which is not `const` [INFO] [stdout] --> src/integer.rs:365:37 [INFO] [stdout] | [INFO] [stdout] 365 | impl const NonStandardInteger<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[const_trait] pub trait NonStandardInteger [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clamp` which is not `const` [INFO] [stdout] --> src/integer.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | impl const Clamp for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Clamp` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/clamp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[const_trait] pub trait Clamp: Sized { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerSigned` which is not `const` [INFO] [stdout] --> src/integer.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | impl const NonStandardIntegerSigned<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | #[const_trait] pub trait NonStandardIntegerSigned [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerSigned` which is not `const` [INFO] [stdout] --> src/integer.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | impl const NonStandardIntegerSigned<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | #[const_trait] pub trait NonStandardIntegerSigned [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerCommon` which is not `const` [INFO] [stdout] --> src/integer.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | impl const NonStandardIntegerCommon<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerCommon` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait NonStandardIntegerCommon [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerSigned` which is not `const` [INFO] [stdout] --> src/integer.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | impl const NonStandardIntegerSigned<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | #[const_trait] pub trait NonStandardIntegerSigned [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerSigned` which is not `const` [INFO] [stdout] --> src/integer.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | impl const NonStandardIntegerSigned<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | #[const_trait] pub trait NonStandardIntegerSigned [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerSigned` which is not `const` [INFO] [stdout] --> src/integer.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | impl const NonStandardIntegerSigned<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | #[const_trait] pub trait NonStandardIntegerSigned [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerSigned` which is not `const` [INFO] [stdout] --> src/integer.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | impl const NonStandardIntegerSigned<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | #[const_trait] pub trait NonStandardIntegerSigned [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerSigned` which is not `const` [INFO] [stdout] --> src/integer.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | impl const NonStandardIntegerSigned<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | #[const_trait] pub trait NonStandardIntegerSigned [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerSigned` which is not `const` [INFO] [stdout] --> src/integer.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | impl const NonStandardIntegerSigned<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | #[const_trait] pub trait NonStandardIntegerSigned [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerSigned` which is not `const` [INFO] [stdout] --> src/integer.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | impl const NonStandardIntegerSigned<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | #[const_trait] pub trait NonStandardIntegerSigned [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerSigned` which is not `const` [INFO] [stdout] --> src/integer.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | impl const NonStandardIntegerSigned<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | #[const_trait] pub trait NonStandardIntegerSigned [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerSigned` which is not `const` [INFO] [stdout] --> src/integer.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | impl const NonStandardIntegerSigned<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | #[const_trait] pub trait NonStandardIntegerSigned [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `NonStandardIntegerSigned` which is not `const` [INFO] [stdout] --> src/integer.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | impl const NonStandardIntegerSigned<$ty, BITS> for int<$ty, BITS> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `const` to allow it to have `const` implementations [INFO] [stdout] --> src/non_standard_integer.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | #[const_trait] pub trait NonStandardIntegerSigned [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | self.wrapped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:318:26 [INFO] [stdout] | [INFO] [stdout] 318 | unsafe { Self::from_unchecked(Self::MIN) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | unsafe { Self::from_unchecked(Self::MAX) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamp` in constant functions [INFO] [stdout] --> src/integer.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamped` in constant functions [INFO] [stdout] --> src/integer.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | self.clamped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shl` in constant functions [INFO] [stdout] --> src/integer.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let (a, b) = self.overflowing_shl(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shr` in constant functions [INFO] [stdout] --> src/integer.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | let (a, b) = self.overflowing_shr(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_add` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_sub` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_mul` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_div` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | Self(self.as_ref().wrapping_shl(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | Self(self.as_ref().wrapping_shr(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:234:50 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:238:61 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shl` in constant functions [INFO] [stdout] --> src/integer.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | (self.wrapping_shl(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shr` in constant functions [INFO] [stdout] --> src/integer.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | (self.wrapping_shr(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_rem` in constant functions [INFO] [stdout] --> src/integer.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | self.overflowing_rem(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | *data.as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | self.wrapped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:318:26 [INFO] [stdout] | [INFO] [stdout] 318 | unsafe { Self::from_unchecked(Self::MIN) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | unsafe { Self::from_unchecked(Self::MAX) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamp` in constant functions [INFO] [stdout] --> src/integer.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamped` in constant functions [INFO] [stdout] --> src/integer.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | self.clamped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shl` in constant functions [INFO] [stdout] --> src/integer.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let (a, b) = self.overflowing_shl(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shr` in constant functions [INFO] [stdout] --> src/integer.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | let (a, b) = self.overflowing_shr(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_add` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_sub` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_mul` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_div` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | Self(self.as_ref().wrapping_shl(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | Self(self.as_ref().wrapping_shr(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:234:50 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:238:61 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shl` in constant functions [INFO] [stdout] --> src/integer.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | (self.wrapping_shl(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shr` in constant functions [INFO] [stdout] --> src/integer.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | (self.wrapping_shr(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_rem` in constant functions [INFO] [stdout] --> src/integer.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | self.overflowing_rem(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | *data.as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | self.wrapped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:318:26 [INFO] [stdout] | [INFO] [stdout] 318 | unsafe { Self::from_unchecked(Self::MIN) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | unsafe { Self::from_unchecked(Self::MAX) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamp` in constant functions [INFO] [stdout] --> src/integer.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamped` in constant functions [INFO] [stdout] --> src/integer.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | self.clamped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shl` in constant functions [INFO] [stdout] --> src/integer.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let (a, b) = self.overflowing_shl(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shr` in constant functions [INFO] [stdout] --> src/integer.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | let (a, b) = self.overflowing_shr(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_add` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_sub` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_mul` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_div` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | Self(self.as_ref().wrapping_shl(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | Self(self.as_ref().wrapping_shr(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:234:50 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:238:61 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shl` in constant functions [INFO] [stdout] --> src/integer.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | (self.wrapping_shl(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shr` in constant functions [INFO] [stdout] --> src/integer.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | (self.wrapping_shr(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_rem` in constant functions [INFO] [stdout] --> src/integer.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | self.overflowing_rem(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | *data.as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | self.wrapped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:318:26 [INFO] [stdout] | [INFO] [stdout] 318 | unsafe { Self::from_unchecked(Self::MIN) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | unsafe { Self::from_unchecked(Self::MAX) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamp` in constant functions [INFO] [stdout] --> src/integer.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamped` in constant functions [INFO] [stdout] --> src/integer.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | self.clamped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shl` in constant functions [INFO] [stdout] --> src/integer.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let (a, b) = self.overflowing_shl(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shr` in constant functions [INFO] [stdout] --> src/integer.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | let (a, b) = self.overflowing_shr(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_add` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_sub` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_mul` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_div` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | Self(self.as_ref().wrapping_shl(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | Self(self.as_ref().wrapping_shr(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:234:50 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:238:61 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shl` in constant functions [INFO] [stdout] --> src/integer.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | (self.wrapping_shl(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shr` in constant functions [INFO] [stdout] --> src/integer.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | (self.wrapping_shr(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_rem` in constant functions [INFO] [stdout] --> src/integer.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | self.overflowing_rem(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | *data.as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | impl_nonstandard_int!(unsigned: u64); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | self.wrapped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:318:26 [INFO] [stdout] | [INFO] [stdout] 318 | unsafe { Self::from_unchecked(Self::MIN) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | unsafe { Self::from_unchecked(Self::MAX) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamp` in constant functions [INFO] [stdout] --> src/integer.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamped` in constant functions [INFO] [stdout] --> src/integer.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | self.clamped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shl` in constant functions [INFO] [stdout] --> src/integer.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let (a, b) = self.overflowing_shl(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shr` in constant functions [INFO] [stdout] --> src/integer.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | let (a, b) = self.overflowing_shr(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_add` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_sub` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_mul` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_div` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | Self(self.as_ref().wrapping_shl(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | Self(self.as_ref().wrapping_shr(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:234:50 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:238:61 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shl` in constant functions [INFO] [stdout] --> src/integer.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | (self.wrapping_shl(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shr` in constant functions [INFO] [stdout] --> src/integer.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | (self.wrapping_shr(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_rem` in constant functions [INFO] [stdout] --> src/integer.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | self.overflowing_rem(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | *data.as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | impl_nonstandard_int!(unsigned: u128); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | self.wrapped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:318:26 [INFO] [stdout] | [INFO] [stdout] 318 | unsafe { Self::from_unchecked(Self::MIN) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | unsafe { Self::from_unchecked(Self::MAX) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamp` in constant functions [INFO] [stdout] --> src/integer.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamped` in constant functions [INFO] [stdout] --> src/integer.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | self.clamped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shl` in constant functions [INFO] [stdout] --> src/integer.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let (a, b) = self.overflowing_shl(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shr` in constant functions [INFO] [stdout] --> src/integer.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | let (a, b) = self.overflowing_shr(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_add` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_sub` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_mul` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_div` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | Self(self.as_ref().wrapping_shl(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | Self(self.as_ref().wrapping_shr(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:234:50 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:238:61 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shl` in constant functions [INFO] [stdout] --> src/integer.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | (self.wrapping_shl(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shr` in constant functions [INFO] [stdout] --> src/integer.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | (self.wrapping_shr(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_rem` in constant functions [INFO] [stdout] --> src/integer.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | self.overflowing_rem(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | *data.as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | impl_nonstandard_int!(unsigned: usize); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:361:22 [INFO] [stdout] | [INFO] [stdout] 361 | self.wrapped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:371:26 [INFO] [stdout] | [INFO] [stdout] 371 | unsafe { Self::from_unchecked(Self::MIN) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | unsafe { Self::from_unchecked(Self::MAX) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | self.wrapped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::overflowing_abs` in constant functions [INFO] [stdout] --> src/integer.rs:394:46 [INFO] [stdout] | [INFO] [stdout] 394 | let (val, overflowed) = self.overflowing_abs(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:400:21 [INFO] [stdout] | [INFO] [stdout] 400 | if *self.as_ref() == Self::MIN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:318:26 [INFO] [stdout] | [INFO] [stdout] 318 | unsafe { Self::from_unchecked(Self::MIN) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | Self(self.as_ref().saturating_abs()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | unsafe { Self::from_unchecked(Self::MAX) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | if *self.as_ref() == Self::MIN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:411:26 [INFO] [stdout] | [INFO] [stdout] 411 | Self(self.as_ref().saturating_neg()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::wrapping_abs` in constant functions [INFO] [stdout] --> src/integer.rs:438:23 [INFO] [stdout] | [INFO] [stdout] 438 | (self.wrapping_abs(), self.0 == Self::MIN) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamp` in constant functions [INFO] [stdout] --> src/integer.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::overflowing_neg` in constant functions [INFO] [stdout] --> src/integer.rs:449:35 [INFO] [stdout] | [INFO] [stdout] 449 | let (a, b) = self.overflowing_neg(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::is_negative` in constant functions [INFO] [stdout] --> src/integer.rs:461:25 [INFO] [stdout] | [INFO] [stdout] 461 | if self.is_negative() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamped` in constant functions [INFO] [stdout] --> src/integer.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | self.clamped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::checked_neg` in constant functions [INFO] [stdout] --> src/integer.rs:462:26 [INFO] [stdout] | [INFO] [stdout] 462 | self.checked_neg() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::overflowing_neg` in constant functions [INFO] [stdout] --> src/integer.rs:476:22 [INFO] [stdout] | [INFO] [stdout] 476 | self.overflowing_neg().0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::is_negative` in constant functions [INFO] [stdout] --> src/integer.rs:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | if self.is_negative() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::wrapping_neg` in constant functions [INFO] [stdout] --> src/integer.rs:488:26 [INFO] [stdout] | [INFO] [stdout] 488 | self.wrapping_neg() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamp` in constant functions [INFO] [stdout] --> src/integer.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamped` in constant functions [INFO] [stdout] --> src/integer.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | self.clamped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_shl` in constant functions [INFO] [stdout] --> src/integer.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let (a, b) = self.overflowing_shl(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shl` in constant functions [INFO] [stdout] --> src/integer.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let (a, b) = self.overflowing_shl(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_shr` in constant functions [INFO] [stdout] --> src/integer.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | let (a, b) = self.overflowing_shr(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shr` in constant functions [INFO] [stdout] --> src/integer.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | let (a, b) = self.overflowing_shr(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_add` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_sub` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_mul` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_div` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_add` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_sub` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | Self(self.as_ref().wrapping_shl(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | Self(self.as_ref().wrapping_shr(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:234:50 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_mul` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:238:61 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_div` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | Self(self.as_ref().wrapping_shl(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | Self(self.as_ref().wrapping_shr(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::wrapping_shl` in constant functions [INFO] [stdout] --> src/integer.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | (self.wrapping_shl(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::wrapping_shr` in constant functions [INFO] [stdout] --> src/integer.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | (self.wrapping_shr(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_rem` in constant functions [INFO] [stdout] --> src/integer.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | self.overflowing_rem(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | *data.as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | impl_nonstandard_int!(unsigned: u8); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | self.wrapped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:318:26 [INFO] [stdout] | [INFO] [stdout] 318 | unsafe { Self::from_unchecked(Self::MIN) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:234:50 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | unsafe { Self::from_unchecked(Self::MAX) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:238:61 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shl` in constant functions [INFO] [stdout] --> src/integer.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | (self.wrapping_shl(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shr` in constant functions [INFO] [stdout] --> src/integer.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | (self.wrapping_shr(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:503:26 [INFO] [stdout] | [INFO] [stdout] 503 | let a = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:504:26 [INFO] [stdout] | [INFO] [stdout] 504 | let b = *rhs.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrap` in constant functions [INFO] [stdout] --> src/integer.rs:509:56 [INFO] [stdout] | [INFO] [stdout] 509 | (Self((1 << Self::BITS) - (b - a)).wrap(), true) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_rem` in constant functions [INFO] [stdout] --> src/integer.rs:522:22 [INFO] [stdout] | [INFO] [stdout] 522 | self.overflowing_rem(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamp` in constant functions [INFO] [stdout] --> src/integer.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamped` in constant functions [INFO] [stdout] --> src/integer.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | self.clamped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | *data.as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | impl_nonstandard_int!(signed: i8); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_shl` in constant functions [INFO] [stdout] --> src/integer.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let (a, b) = self.overflowing_shl(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:361:22 [INFO] [stdout] | [INFO] [stdout] 361 | self.wrapped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:371:26 [INFO] [stdout] | [INFO] [stdout] 371 | unsafe { Self::from_unchecked(Self::MIN) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_shr` in constant functions [INFO] [stdout] --> src/integer.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | let (a, b) = self.overflowing_shr(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | unsafe { Self::from_unchecked(Self::MAX) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::overflowing_abs` in constant functions [INFO] [stdout] --> src/integer.rs:394:46 [INFO] [stdout] | [INFO] [stdout] 394 | let (val, overflowed) = self.overflowing_abs(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:400:21 [INFO] [stdout] | [INFO] [stdout] 400 | if *self.as_ref() == Self::MIN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:403:26 [INFO] [stdout] | [INFO] [stdout] 403 | Self(self.as_ref().saturating_abs()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | if *self.as_ref() == Self::MIN { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:411:26 [INFO] [stdout] | [INFO] [stdout] 411 | Self(self.as_ref().saturating_neg()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::wrapping_abs` in constant functions [INFO] [stdout] --> src/integer.rs:438:23 [INFO] [stdout] | [INFO] [stdout] 438 | (self.wrapping_abs(), self.0 == Self::MIN) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::overflowing_neg` in constant functions [INFO] [stdout] --> src/integer.rs:449:35 [INFO] [stdout] | [INFO] [stdout] 449 | let (a, b) = self.overflowing_neg(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_add` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_sub` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::is_negative` in constant functions [INFO] [stdout] --> src/integer.rs:461:25 [INFO] [stdout] | [INFO] [stdout] 461 | if self.is_negative() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::checked_neg` in constant functions [INFO] [stdout] --> src/integer.rs:462:26 [INFO] [stdout] | [INFO] [stdout] 462 | self.checked_neg() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_mul` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::overflowing_neg` in constant functions [INFO] [stdout] --> src/integer.rs:476:22 [INFO] [stdout] | [INFO] [stdout] 476 | self.overflowing_neg().0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_div` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::is_negative` in constant functions [INFO] [stdout] --> src/integer.rs:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | if self.is_negative() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerSigned>::wrapping_neg` in constant functions [INFO] [stdout] --> src/integer.rs:488:26 [INFO] [stdout] | [INFO] [stdout] 488 | self.wrapping_neg() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | Self(self.as_ref().wrapping_shl(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamp` in constant functions [INFO] [stdout] --> src/integer.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | Self(self.as_ref().wrapping_shr(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamped` in constant functions [INFO] [stdout] --> src/integer.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | self.clamped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:234:50 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:238:61 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::wrapping_shl` in constant functions [INFO] [stdout] --> src/integer.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | (self.wrapping_shl(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::wrapping_shr` in constant functions [INFO] [stdout] --> src/integer.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | (self.wrapping_shr(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_rem` in constant functions [INFO] [stdout] --> src/integer.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | self.overflowing_rem(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | *data.as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | impl_nonstandard_int!(unsigned: u16); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | self.wrapped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:318:26 [INFO] [stdout] | [INFO] [stdout] 318 | unsafe { Self::from_unchecked(Self::MIN) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shl` in constant functions [INFO] [stdout] --> src/integer.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let (a, b) = self.overflowing_shl(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | unsafe { Self::from_unchecked(Self::MAX) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamp` in constant functions [INFO] [stdout] --> src/integer.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | Clamp::::clamp(>::from_unchecked(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_shr` in constant functions [INFO] [stdout] --> src/integer.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | let (a, b) = self.overflowing_shr(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_add` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Clamp>>::clamped` in constant functions [INFO] [stdout] --> src/integer.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | self.clamped().0 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::UncheckedFrom>::from_unchecked` in constant functions [INFO] [stdout] --> src/integer.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_checked` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_sub` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_shl` in constant functions [INFO] [stdout] --> src/integer.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let (a, b) = self.overflowing_shl(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_mul` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_shr` in constant functions [INFO] [stdout] --> src/integer.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | let (a, b) = self.overflowing_shr(rhs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::overflowing_div` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | Self(self.as_ref().wrapping_shl(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | Self(self.as_ref().wrapping_shr(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `fn_saturating` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as convert::LossyFrom>::from_lossy` in constant functions [INFO] [stdout] --> src/integer.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as non_standard_integer::NonStandardIntegerCommon>::overflowing_add` in constant functions [INFO] [stdout] --> src/integer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | self.$wrap_name(rhs).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | impl_nonstandard_int!(unsigned: u32); [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 `fn_wrapping` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:234:50 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:238:46 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:238:61 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrapped` in constant functions [INFO] [stdout] --> src/integer.rs:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shl` in constant functions [INFO] [stdout] --> src/integer.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | (self.wrapping_shl(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as NonStandardIntegerCommon>::wrapping_shr` in constant functions [INFO] [stdout] --> src/integer.rs:263:19 [INFO] [stdout] | [INFO] [stdout] 263 | (self.wrapping_shr(rhs), (rhs > (Self::BITS - 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [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 `impl_common` which comes from the expansion of the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:503:26 [INFO] [stdout] | [INFO] [stdout] 503 | let a = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `AsRef` is not yet stable as a const trait [INFO] [stdout] --> src/integer.rs:504:26 [INFO] [stdout] | [INFO] [stdout] 504 | let b = *rhs.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `#![feature(const_try)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #![feature(const_try)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Wrap>>::wrap` in constant functions [INFO] [stdout] --> src/integer.rs:509:56 [INFO] [stdout] | [INFO] [stdout] 509 | (Self((1 << Self::BITS) - (b - a)).wrap(), true) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | impl_nonstandard_int!(signed: i16); [WARN] too many lines in the log, truncating it