[INFO] fetching crate platform-data 0.1.0-beta.3... [INFO] checking platform-data-0.1.0-beta.3 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate platform-data 0.1.0-beta.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate platform-data 0.1.0-beta.3 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate platform-data 0.1.0-beta.3 [INFO] finished tweaking crates.io crate platform-data 0.1.0-beta.3 [INFO] tweaked toml for crates.io crate platform-data 0.1.0-beta.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56b19698f2a309abb599858766dd6af32acc0f40ebe050d64c50e295655b3261 [INFO] running `Command { std: "docker" "start" "-a" "56b19698f2a309abb599858766dd6af32acc0f40ebe050d64c50e295655b3261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56b19698f2a309abb599858766dd6af32acc0f40ebe050d64c50e295655b3261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56b19698f2a309abb599858766dd6af32acc0f40ebe050d64c50e295655b3261", kill_on_drop: false }` [INFO] [stdout] 56b19698f2a309abb599858766dd6af32acc0f40ebe050d64c50e295655b3261 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30170ffc779078903513089b3280e5271d3dbfeb2cb422b6cb2dc9519b3f0347 [INFO] running `Command { std: "docker" "start" "-a" "30170ffc779078903513089b3280e5271d3dbfeb2cb422b6cb2dc9519b3f0347", kill_on_drop: false }` [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking platform-data v0.1.0-beta.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::default::default` [INFO] [stdout] --> src/constants.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default::default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `default` in `default` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use std::default::Default; [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 1 | use std::default; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> src/point.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | type IntoIter = impl Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #63063 for more information [INFO] [stdout] = help: add `#![feature(impl_trait_in_assoc_type)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `const_destruct` [INFO] [stdout] --> src/link_type.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::marker::Destruct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #133214 for more information [INFO] [stdout] = help: add `#![feature(const_destruct)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `const_destruct` [INFO] [stdout] --> src/link_type.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | All: ~const Destruct, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #133214 for more information [INFO] [stdout] = help: add `#![feature(const_destruct)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `error_generic_member_access` [INFO] [stdout] --> src/links.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #99301 for more information [INFO] [stdout] = help: add `#![feature(error_generic_member_access)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the derive macro `thiserror::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `const_destruct` [INFO] [stdout] --> src/query.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::marker::Destruct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #133214 for more information [INFO] [stdout] = help: add `#![feature(const_destruct)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `const_destruct` [INFO] [stdout] --> src/query.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | Self: ~const Destruct, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #133214 for more information [INFO] [stdout] = help: add `#![feature(const_destruct)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `default_free_fn` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(default_free_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_deref` [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(const_deref)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_result_drop` [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(const_result_drop)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_convert` [INFO] [stdout] --> src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_convert)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `FuntyPart` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/link_type.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait FuntyPart: Sized + TryFrom { [INFO] [stdout] | - help: mark `FuntyPart` as const: `#[const_trait]` [INFO] [stdout] ... [INFO] [stdout] 11 | impl> const FuntyPart for All { [INFO] [stdout] | ^^^^^^^^^ [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 `LinkType` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/link_type.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait LinkType: Unsigned + FuntyPart {} [INFO] [stdout] | - help: mark `LinkType` as const: `#[const_trait]` [INFO] [stdout] 28 | [INFO] [stdout] 29 | impl const LinkType for All {} [INFO] [stdout] | ^^^^^^^^ [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` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/converters.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | pub const fn convert(&self, source: T) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/converters.rs:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | pub const fn convert(&self, source: T) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/converters.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | pub const fn convert(&self, source: T) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/converters.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 19 | pub const fn convert(&self, source: T) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/hybrid.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | T: ~const Div, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/hybrid.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | T: ~const Integral + ~const Sub, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/hybrid.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | T: ~const Integral + ~const Sub, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/hybrid.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | T: ~const Integral + ~const Sub, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/hybrid.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | T: ~const Integral + ~const Sub, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/hybrid.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | T: ~const Default + ~const PartialEq, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/hybrid.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | T: ~const Default + ~const PartialEq, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/hybrid.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | T: ~const Div + ~const PartialOrd, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/hybrid.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | T: ~const Div + ~const PartialOrd, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/hybrid.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | T: ~const Div + ~const PartialOrd + ~const PartialEq, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/hybrid.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | T: ~const Div + ~const PartialOrd + ~const PartialEq, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/hybrid.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | T: ~const Div + ~const PartialOrd + ~const PartialEq, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/hybrid.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | T: ~const Integral, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/link_type.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | All: ~const Destruct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/query.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | Self: ~const Destruct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `::funty` in constant functions [INFO] [stdout] --> src/hybrid.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | T::MAX / T::funty(2) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/hybrid.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | T::MAX / T::funty(2) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/hybrid.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | (T::MAX - value).wrapping_add(T::funty(1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `::funty` in constant functions [INFO] [stdout] --> src/hybrid.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | (T::MAX - value).wrapping_add(T::funty(1)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `::wrapping_add` in constant functions [INFO] [stdout] --> src/hybrid.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | (T::MAX - value).wrapping_add(T::funty(1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `::funty` in constant functions [INFO] [stdout] --> src/hybrid.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | self.value == T::funty(0) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/hybrid.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | self.value == T::funty(0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/hybrid.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | self.value < Self::half() // || self.value == T::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `::funty` in constant functions [INFO] [stdout] --> src/hybrid.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | !self.is_internal() || self.value == T::funty(0) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/hybrid.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | !self.is_internal() || self.value == T::funty(0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `::funty` in constant functions [INFO] [stdout] --> src/hybrid.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | self.value.wrapping_add(T::funty(1)).wrapping_add(T::MAX) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `::wrapping_add` in constant functions [INFO] [stdout] --> src/hybrid.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | self.value.wrapping_add(T::funty(1)).wrapping_add(T::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `::wrapping_add` in constant functions [INFO] [stdout] --> src/hybrid.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | self.value.wrapping_add(T::funty(1)).wrapping_add(T::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `>::try_from` in constant functions [INFO] [stdout] --> src/link_type.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | match All::try_from(n) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `Result` cannot be evaluated at compile-time [INFO] [stdout] --> src/link_type.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | match All::try_from(n) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] ... [INFO] [stdout] 24 | } [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot perform deref coercion on `Cow<'_, [T]>` in constant functions [INFO] [stdout] --> src/query.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | self.0.is_empty() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: attempting to deref into `[T]` [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/borrow.rs:329:1 [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot perform deref coercion on `Cow<'_, [T]>` in constant functions [INFO] [stdout] --> src/query.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | self.0.len() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: attempting to deref into `[T]` [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/borrow.rs:329:1 [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `Query<'_, T>` cannot be evaluated at compile-time [INFO] [stdout] --> src/query.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub const fn into_inner(self) -> Cow<'a, [T]> [INFO] [stdout] | ^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] ... [INFO] [stdout] 30 | } [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0432, E0493, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `platform-data` (lib) due to 50 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "30170ffc779078903513089b3280e5271d3dbfeb2cb422b6cb2dc9519b3f0347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30170ffc779078903513089b3280e5271d3dbfeb2cb422b6cb2dc9519b3f0347", kill_on_drop: false }` [INFO] [stdout] 30170ffc779078903513089b3280e5271d3dbfeb2cb422b6cb2dc9519b3f0347