[INFO] fetching crate anyint 0.1.0... [INFO] testing anyint-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate anyint 0.1.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate anyint 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyint_macros v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e946c639c208ea721dc655c83778e3f205fa9b6463a08a606d2193605b7cf8dc [INFO] running `Command { std: "docker" "start" "-a" "e946c639c208ea721dc655c83778e3f205fa9b6463a08a606d2193605b7cf8dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e946c639c208ea721dc655c83778e3f205fa9b6463a08a606d2193605b7cf8dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e946c639c208ea721dc655c83778e3f205fa9b6463a08a606d2193605b7cf8dc", kill_on_drop: false }` [INFO] [stdout] e946c639c208ea721dc655c83778e3f205fa9b6463a08a606d2193605b7cf8dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7a504c536d970cd9a509cc5ad6e01284dcdf47cdf1b76ec995e80e570fc6eb91 [INFO] running `Command { std: "docker" "start" "-a" "7a504c536d970cd9a509cc5ad6e01284dcdf47cdf1b76ec995e80e570fc6eb91", kill_on_drop: false }` [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling indexmap v2.10.0 [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] Compiling 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] 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: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-nightly 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: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | impl const TryFrom<$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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `AsRef` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | impl const AsRef for int { [INFO] [stdout] | ^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LossyFrom` which is not marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `UncheckedFrom` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `Wrap` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardInteger` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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_trait]` 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 `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/integer.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | impl const From> for $ty { [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_common` 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 `NonStandardIntegerSigned` which is not marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `#[const_trait]` 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 marked with `#[const_trait]` [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_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] = note: this error originates in the macro `impl_nonstandard_int` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: mark `NonStandardIntegerSigned` as `#[const_trait]` 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:129:29 [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: 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: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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:24 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:44 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:35 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:55 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:187:35 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:214:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:224:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:24 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:40 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:23 [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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:50 [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 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:24 [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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:40 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:291:19 [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: 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: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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:129:29 [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: 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: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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:24 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:44 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:35 [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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:55 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:187:35 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:214:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:224:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:24 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:40 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:23 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:50 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:24 [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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:40 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:291:19 [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: 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: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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:129:29 [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: 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: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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:24 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:44 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:35 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:55 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:187:35 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:214:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:224:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:24 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:40 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:23 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:50 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:24 [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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:40 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:291:19 [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: 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: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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:129:29 [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: 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: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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:24 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:44 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:35 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:55 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:187:35 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:214:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:224:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:24 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:40 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:23 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:50 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:24 [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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:40 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:291:19 [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: 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: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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:129:29 [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: 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: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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:24 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:44 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:35 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:55 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:187:35 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:214:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:224:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:24 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:40 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:23 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:50 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:24 [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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:40 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:291:19 [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: 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: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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:129:29 [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: 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: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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:24 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:44 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:35 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:55 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:187:35 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:214:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:224:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:24 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:40 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:23 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:50 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:24 [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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:40 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:291:19 [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: 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] 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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:400:26 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:403:31 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:408:26 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:411:31 [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: 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_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 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 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[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 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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:129:29 [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: 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: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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:24 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:44 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:35 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:55 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:187:35 [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 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[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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:214:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:224:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:24 [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 method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:40 [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 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 method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:23 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:50 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:24 [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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:40 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:503:31 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:504:30 [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: 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>>::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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:291:19 [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: 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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:400:26 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:403:31 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:408:26 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:411:31 [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: 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_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[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 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 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 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[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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:129:29 [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: 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: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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:24 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:44 [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: calls in constant functions are limited to constant functions, tuple structs and tuple variants [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] [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:35 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:55 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:187:35 [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 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 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 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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:214:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:224:23 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:24 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:40 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:23 [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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:50 [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[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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:24 [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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:40 [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 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[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:503:31 [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: 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:504:30 [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: 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>>::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); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | *data.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 `impl_common` 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | if *self.as_ref() == Self::MIN { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:403:31 [INFO] [stdout] | [INFO] [stdout] 403 | Self(self.as_ref().saturating_abs()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:408:26 [INFO] [stdout] | [INFO] [stdout] 408 | if *self.as_ref() == Self::MIN { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:411:31 [INFO] [stdout] | [INFO] [stdout] 411 | Self(self.as_ref().saturating_neg()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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_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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:449:35 [INFO] [stdout] | [INFO] [stdout] 449 | let (a, b) = self.overflowing_neg(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | if self.is_negative() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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_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] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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_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] [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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:55 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:187:35 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:214:23 [INFO] [stdout] | [INFO] [stdout] 214 | Self(self.as_ref().wrapping_shl(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | Self(self.as_ref().wrapping_shr(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:40 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:234:50 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:23 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:50 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:238:61 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:40 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:503:31 [INFO] [stdout] | [INFO] [stdout] 503 | let a = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:504:30 [INFO] [stdout] | [INFO] [stdout] 504 | let b = *rhs.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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>>::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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | *data.as_ref() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | impl_nonstandard_int!(signed: i32); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | if *self.as_ref() == Self::MIN { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:403:31 [INFO] [stdout] | [INFO] [stdout] 403 | Self(self.as_ref().saturating_abs()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:408:26 [INFO] [stdout] | [INFO] [stdout] 408 | if *self.as_ref() == Self::MIN { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:411:31 [INFO] [stdout] | [INFO] [stdout] 411 | Self(self.as_ref().saturating_neg()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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_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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:449:35 [INFO] [stdout] | [INFO] [stdout] 449 | let (a, b) = self.overflowing_neg(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | if self.is_negative() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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_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] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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_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] [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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:55 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:187:35 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:214:23 [INFO] [stdout] | [INFO] [stdout] 214 | Self(self.as_ref().wrapping_shl(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | Self(self.as_ref().wrapping_shr(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:40 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:234:50 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:23 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:50 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:238:61 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:40 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:503:31 [INFO] [stdout] | [INFO] [stdout] 503 | let a = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:504:30 [INFO] [stdout] | [INFO] [stdout] 504 | let b = *rhs.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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>>::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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | *data.as_ref() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | impl_nonstandard_int!(signed: i64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | if *self.as_ref() == Self::MIN { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:403:31 [INFO] [stdout] | [INFO] [stdout] 403 | Self(self.as_ref().saturating_abs()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:408:26 [INFO] [stdout] | [INFO] [stdout] 408 | if *self.as_ref() == Self::MIN { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:411:31 [INFO] [stdout] | [INFO] [stdout] 411 | Self(self.as_ref().saturating_neg()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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_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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:449:35 [INFO] [stdout] | [INFO] [stdout] 449 | let (a, b) = self.overflowing_neg(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | if self.is_negative() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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_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] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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_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] [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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:55 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:187:35 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:214:23 [INFO] [stdout] | [INFO] [stdout] 214 | Self(self.as_ref().wrapping_shl(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | Self(self.as_ref().wrapping_shr(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:40 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:234:50 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:23 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:50 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:238:61 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:40 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:503:31 [INFO] [stdout] | [INFO] [stdout] 503 | let a = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:504:30 [INFO] [stdout] | [INFO] [stdout] 504 | let b = *rhs.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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>>::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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | *data.as_ref() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | impl_nonstandard_int!(signed: i128); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | if *self.as_ref() == Self::MIN { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:403:31 [INFO] [stdout] | [INFO] [stdout] 403 | Self(self.as_ref().saturating_abs()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:408:26 [INFO] [stdout] | [INFO] [stdout] 408 | if *self.as_ref() == Self::MIN { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:411:31 [INFO] [stdout] | [INFO] [stdout] 411 | Self(self.as_ref().saturating_neg()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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_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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:449:35 [INFO] [stdout] | [INFO] [stdout] 449 | let (a, b) = self.overflowing_neg(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | if self.is_negative() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | let val = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { (Self::from_unchecked(val), clamped) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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_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] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 78 | match self.as_ref().$name(*rhs.as_ref()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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_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] [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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:90:55 [INFO] [stdout] | [INFO] [stdout] 90 | Self::from_lossy(self.as_ref().$name(*rhs.as_ref())) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:187:35 [INFO] [stdout] | [INFO] [stdout] 187 | Self::from_lossy(self.as_ref().saturating_pow(rhs)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:214:23 [INFO] [stdout] | [INFO] [stdout] 214 | Self(self.as_ref().wrapping_shl(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | Self(self.as_ref().wrapping_shr(rhs) & Self::MAX) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:234:40 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:234:50 [INFO] [stdout] | [INFO] [stdout] 234 | Self(*self.as_ref() + *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:23 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:238:50 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:238:61 [INFO] [stdout] | [INFO] [stdout] 238 | Self(self.as_ref().wrapping_mul(*rhs.as_ref())).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:24 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:243:40 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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:243:50 [INFO] [stdout] | [INFO] [stdout] 243 | Self(*self.as_ref() / *rhs.as_ref()).wrapped() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:503:31 [INFO] [stdout] | [INFO] [stdout] 503 | let a = *self.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:504:30 [INFO] [stdout] | [INFO] [stdout] 504 | let b = *rhs.as_ref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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>>::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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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 AsRef>::as_ref` in constant functions [INFO] [stdout] --> src/integer.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | *data.as_ref() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | impl_nonstandard_int!(signed: isize); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = 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] Some errors have detailed explanations: E0015, E0201. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anyint` (lib) due to 626 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7a504c536d970cd9a509cc5ad6e01284dcdf47cdf1b76ec995e80e570fc6eb91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a504c536d970cd9a509cc5ad6e01284dcdf47cdf1b76ec995e80e570fc6eb91", kill_on_drop: false }` [INFO] [stdout] 7a504c536d970cd9a509cc5ad6e01284dcdf47cdf1b76ec995e80e570fc6eb91