[INFO] fetching crate get_len_base_10_as_usize 0.1.6... [INFO] checking get_len_base_10_as_usize-0.1.6 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate get_len_base_10_as_usize 0.1.6 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate get_len_base_10_as_usize 0.1.6 [INFO] finished tweaking crates.io crate get_len_base_10_as_usize 0.1.6 [INFO] tweaked toml for crates.io crate get_len_base_10_as_usize 0.1.6 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate get_len_base_10_as_usize 0.1.6 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding take-until v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding zero_based_index v0.1.1 (available: v0.2.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a775e8e6ade64439d2d80777b4d6e1d67d412301355159f5bc7572695f875038 [INFO] running `Command { std: "docker" "start" "-a" "a775e8e6ade64439d2d80777b4d6e1d67d412301355159f5bc7572695f875038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a775e8e6ade64439d2d80777b4d6e1d67d412301355159f5bc7572695f875038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a775e8e6ade64439d2d80777b4d6e1d67d412301355159f5bc7572695f875038", kill_on_drop: false }` [INFO] [stdout] a775e8e6ade64439d2d80777b4d6e1d67d412301355159f5bc7572695f875038 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86774cea635ce5fb855744bc580f5628cb39e0eb0ec9a551335adabc2cd5ba8e [INFO] running `Command { std: "docker" "start" "-a" "86774cea635ce5fb855744bc580f5628cb39e0eb0ec9a551335adabc2cd5ba8e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling epsi v0.1.1 [INFO] [stderr] Compiling primitive_promotion v0.1.4 [INFO] [stderr] Compiling epui v0.1.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling is_signed_trait v0.1.0 [INFO] [stderr] Compiling max_len_base_10_as_usize v0.1.0 [INFO] [stderr] Checking min_max_traits v0.1.0 [INFO] [stderr] Checking take-until v0.1.0 [INFO] [stderr] Compiling midpoint v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling dd_maths_traits_macros v0.1.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking dd_maths_traits v0.1.8 [INFO] [stdout] error[E0741]: `BoundsKinds` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/ranges/mod.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Range(Bounds); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] | [INFO] [stdout] 20 - pub struct BoundsKinds { [INFO] [stdout] 20 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `GetLastDigitBase10AsU8` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_base_10_as_u8.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | crate::num_sys::base_10::GetLastDigitBase10AsU8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `GetLastDigitBase10AsU8` as `const` to allow it to have `const` implementations [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[const_trait] pub trait GetLastDigitBase10AsU8 { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `GetLastDigitBase10AsU8` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_base_10_as_u8.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | crate::num_sys::base_10::GetLastDigitBase10AsU8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `GetLastDigitBase10AsU8` as `const` to allow it to have `const` implementations [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[const_trait] pub trait GetLastDigitBase10AsU8 { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `GetLastDigitAsU8` which is not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_as_u8.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | impl_trait!(crate::num_sys::GetLastDigitAsU8, @PRIM_INTS, impl_get_last_digit_as_u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `const` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] help: mark `GetLastDigitAsU8` as `const` to allow it to have `const` implementations [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[const_trait] pub trait GetLastDigitAsU8 { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::get_last_digit_base_10_as_u8` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_as_u8.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | self.get_last_digit_base_10_as_u8() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl_trait!(crate::num_sys::GetLastDigitAsU8, @PRIM_INTS, impl_get_last_digit_as_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_get_last_digit_as_u8` which comes from the expansion of the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::get_last_digit_base_10_as_u8` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_as_u8.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | self.get_last_digit_base_10_as_u8() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl_trait!(crate::num_sys::GetLastDigitAsU8, @PRIM_INTS, impl_get_last_digit_as_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_get_last_digit_as_u8` which comes from the expansion of the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::get_last_digit_base_10_as_u8` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_as_u8.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | self.get_last_digit_base_10_as_u8() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl_trait!(crate::num_sys::GetLastDigitAsU8, @PRIM_INTS, impl_get_last_digit_as_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_get_last_digit_as_u8` which comes from the expansion of the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::get_last_digit_base_10_as_u8` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_as_u8.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | self.get_last_digit_base_10_as_u8() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl_trait!(crate::num_sys::GetLastDigitAsU8, @PRIM_INTS, impl_get_last_digit_as_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_get_last_digit_as_u8` which comes from the expansion of the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::get_last_digit_base_10_as_u8` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_as_u8.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | self.get_last_digit_base_10_as_u8() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl_trait!(crate::num_sys::GetLastDigitAsU8, @PRIM_INTS, impl_get_last_digit_as_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_get_last_digit_as_u8` which comes from the expansion of the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::get_last_digit_base_10_as_u8` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_as_u8.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | self.get_last_digit_base_10_as_u8() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl_trait!(crate::num_sys::GetLastDigitAsU8, @PRIM_INTS, impl_get_last_digit_as_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_get_last_digit_as_u8` which comes from the expansion of the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::get_last_digit_base_10_as_u8` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_as_u8.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | self.get_last_digit_base_10_as_u8() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl_trait!(crate::num_sys::GetLastDigitAsU8, @PRIM_INTS, impl_get_last_digit_as_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_get_last_digit_as_u8` which comes from the expansion of the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::get_last_digit_base_10_as_u8` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_as_u8.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | self.get_last_digit_base_10_as_u8() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl_trait!(crate::num_sys::GetLastDigitAsU8, @PRIM_INTS, impl_get_last_digit_as_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_get_last_digit_as_u8` which comes from the expansion of the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::get_last_digit_base_10_as_u8` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_as_u8.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | self.get_last_digit_base_10_as_u8() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl_trait!(crate::num_sys::GetLastDigitAsU8, @PRIM_INTS, impl_get_last_digit_as_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_get_last_digit_as_u8` which comes from the expansion of the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::get_last_digit_base_10_as_u8` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_as_u8.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | self.get_last_digit_base_10_as_u8() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl_trait!(crate::num_sys::GetLastDigitAsU8, @PRIM_INTS, impl_get_last_digit_as_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_get_last_digit_as_u8` which comes from the expansion of the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::get_last_digit_base_10_as_u8` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_as_u8.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | self.get_last_digit_base_10_as_u8() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl_trait!(crate::num_sys::GetLastDigitAsU8, @PRIM_INTS, impl_get_last_digit_as_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_get_last_digit_as_u8` which comes from the expansion of the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::get_last_digit_base_10_as_u8` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dd_maths_traits-0.1.8/src/num_sys/base_10/int/get_last_digit_as_u8.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | self.get_last_digit_base_10_as_u8() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl_trait!(crate::num_sys::GetLastDigitAsU8, @PRIM_INTS, impl_get_last_digit_as_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_get_last_digit_as_u8` which comes from the expansion of the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0741. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dd_maths_traits` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "86774cea635ce5fb855744bc580f5628cb39e0eb0ec9a551335adabc2cd5ba8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86774cea635ce5fb855744bc580f5628cb39e0eb0ec9a551335adabc2cd5ba8e", kill_on_drop: false }` [INFO] [stdout] 86774cea635ce5fb855744bc580f5628cb39e0eb0ec9a551335adabc2cd5ba8e