[INFO] fetching crate dd_maths_traits 0.1.8... [INFO] checking dd_maths_traits-0.1.8 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate dd_maths_traits 0.1.8 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate dd_maths_traits 0.1.8 [INFO] finished tweaking crates.io crate dd_maths_traits 0.1.8 [INFO] tweaked toml for crates.io crate dd_maths_traits 0.1.8 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dd_maths_traits 0.1.8 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dd_maths_traits_macros v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf6ff3c258985db82a1dee718229fb1c6debb515f6eb87ec30b706147ca6eb6f [INFO] running `Command { std: "docker" "start" "-a" "bf6ff3c258985db82a1dee718229fb1c6debb515f6eb87ec30b706147ca6eb6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf6ff3c258985db82a1dee718229fb1c6debb515f6eb87ec30b706147ca6eb6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf6ff3c258985db82a1dee718229fb1c6debb515f6eb87ec30b706147ca6eb6f", kill_on_drop: false }` [INFO] [stdout] bf6ff3c258985db82a1dee718229fb1c6debb515f6eb87ec30b706147ca6eb6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 875536d134e41abfdf30b3869fcfa56637d1740ab84509b240f905abab241493 [INFO] running `Command { std: "docker" "start" "-a" "875536d134e41abfdf30b3869fcfa56637d1740ab84509b240f905abab241493", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [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 dd_maths_traits v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stdout] error[E0741]: `BoundsKinds` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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 test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "875536d134e41abfdf30b3869fcfa56637d1740ab84509b240f905abab241493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "875536d134e41abfdf30b3869fcfa56637d1740ab84509b240f905abab241493", kill_on_drop: false }` [INFO] [stdout] 875536d134e41abfdf30b3869fcfa56637d1740ab84509b240f905abab241493