[INFO] cloning repository https://github.com/linksplatform/Solver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linksplatform/Solver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinksplatform%2FSolver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinksplatform%2FSolver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 869e0fcda7046f03c39a77bcdab8c5e84e16d033 [INFO] checking linksplatform/Solver against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinksplatform%2FSolver" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/linksplatform/Solver on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/linksplatform/Solver [INFO] finished tweaking git repo https://github.com/linksplatform/Solver [INFO] tweaked toml for git repo https://github.com/linksplatform/Solver written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/linksplatform/Solver already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/linksplatform/doublets-rs` [INFO] [stderr] Updating git submodule `https://github.com/linksplatform/data-rs` [INFO] [stderr] Updating git submodule `https://github.com/linksplatform/mem-rs` [INFO] [stderr] Updating git submodule `https://github.com/linksplatform/trees-rs` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded leak_slice v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f8f2ef6f39b22005cf83a04b8be2cf713aa52034174a840577ee9a66969ff87 [INFO] running `Command { std: "docker" "start" "-a" "8f8f2ef6f39b22005cf83a04b8be2cf713aa52034174a840577ee9a66969ff87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f8f2ef6f39b22005cf83a04b8be2cf713aa52034174a840577ee9a66969ff87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f8f2ef6f39b22005cf83a04b8be2cf713aa52034174a840577ee9a66969ff87", kill_on_drop: false }` [INFO] [stdout] 8f8f2ef6f39b22005cf83a04b8be2cf713aa52034174a840577ee9a66969ff87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26cea54a6176e17ce6161881c6aa4a5763da2d9a7e233eed42c445a05bd3e527 [INFO] running `Command { std: "docker" "start" "-a" "26cea54a6176e17ce6161881c6aa4a5763da2d9a7e233eed42c445a05bd3e527", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking beef v0.5.2 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking bumpalo v3.11.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking leak_slice v0.2.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.81 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking platform-data v0.1.0-beta.3 (https://github.com/linksplatform/doublets-rs#5522d91c) [INFO] [stdout] error[E0658]: `impl Trait` in associated types is unstable [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/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 2025-02-09; 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] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/link_type.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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 2025-02-09; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_destruct` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/link_type.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | All: ~const Destruct, [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [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 2025-02-09; 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] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/link_type.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | 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 2025-02-09; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_destruct` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/link_type.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | >::Error: ~const Destruct, [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [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 2025-02-09; 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] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/link_type.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | >::Error: ~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 2025-02-09; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_convert` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(const_convert)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_result_drop` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_result_drop)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `FuntyPart` which is not marked with `#[const_trait]` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/link_type.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | impl> const FuntyPart for All { [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 `FuntyPart` as `#[const_trait]` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 10 | #[const_trait] pub trait FuntyPart: Sized + TryFrom { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `LinkType` which is not marked with `#[const_trait]` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/link_type.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | impl const LinkType for All where [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 `LinkType` as `#[const_trait]` to allow it to have `const` implementations [INFO] [stdout] | [INFO] [stdout] 32 | #[const_trait] pub trait LinkType: [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/converters.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub const fn convert(&self, source: T) -> T { [INFO] [stdout] | ^^^^^^ can't be applied to `Integral` [INFO] [stdout] | [INFO] [stdout] note: `Integral` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/funty-2.0.0/src/lib.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | / pub trait Integral: [INFO] [stdout] 227 | | Numeric [INFO] [stdout] 228 | | + Hash [INFO] [stdout] 229 | | + Eq [INFO] [stdout] ... | [INFO] [stdout] 374 | | + ShrAssign [INFO] [stdout] 375 | | + for<'a> ShrAssign<&'a usize> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/converters.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 9 | pub const fn convert(&self, source: T) -> T { [INFO] [stdout] | ^^^^^^ can't be applied to `Sub` [INFO] [stdout] | [INFO] [stdout] note: `Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/44f3504e96c944ae54fc72b5f5008f53f7eda001/library/core/src/ops/arith.rs:187:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/converters.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | pub const fn convert(&self, source: T) -> T { [INFO] [stdout] | ^^^^^^ can't be applied to `Integral` [INFO] [stdout] | [INFO] [stdout] note: `Integral` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/funty-2.0.0/src/lib.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | / pub trait Integral: [INFO] [stdout] 227 | | Numeric [INFO] [stdout] 228 | | + Hash [INFO] [stdout] 229 | | + Eq [INFO] [stdout] ... | [INFO] [stdout] 374 | | + ShrAssign [INFO] [stdout] 375 | | + for<'a> ShrAssign<&'a usize> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/converters.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 18 | pub const fn convert(&self, source: T) -> T { [INFO] [stdout] | ^^^^^^ can't be applied to `Sub` [INFO] [stdout] | [INFO] [stdout] note: `Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/44f3504e96c944ae54fc72b5f5008f53f7eda001/library/core/src/ops/arith.rs:187:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/hybrid.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | T: ~const Div, [INFO] [stdout] | ^^^^^^ can't be applied to `Div` [INFO] [stdout] | [INFO] [stdout] note: `Div` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/44f3504e96c944ae54fc72b5f5008f53f7eda001/library/core/src/ops/arith.rs:451:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/hybrid.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | T: ~const Integral + ~const Sub, [INFO] [stdout] | ^^^^^^ can't be applied to `Integral` [INFO] [stdout] | [INFO] [stdout] note: `Integral` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/funty-2.0.0/src/lib.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | / pub trait Integral: [INFO] [stdout] 227 | | Numeric [INFO] [stdout] 228 | | + Hash [INFO] [stdout] 229 | | + Eq [INFO] [stdout] ... | [INFO] [stdout] 374 | | + ShrAssign [INFO] [stdout] 375 | | + for<'a> ShrAssign<&'a usize> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/hybrid.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | T: ~const Integral + ~const Sub, [INFO] [stdout] | ^^^^^^ can't be applied to `Sub` [INFO] [stdout] | [INFO] [stdout] note: `Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/44f3504e96c944ae54fc72b5f5008f53f7eda001/library/core/src/ops/arith.rs:187:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/hybrid.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | T: ~const Integral + ~const Sub, [INFO] [stdout] | ^^^^^^ can't be applied to `Integral` [INFO] [stdout] | [INFO] [stdout] note: `Integral` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/funty-2.0.0/src/lib.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | / pub trait Integral: [INFO] [stdout] 227 | | Numeric [INFO] [stdout] 228 | | + Hash [INFO] [stdout] 229 | | + Eq [INFO] [stdout] ... | [INFO] [stdout] 374 | | + ShrAssign [INFO] [stdout] 375 | | + for<'a> ShrAssign<&'a usize> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/hybrid.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | T: ~const Integral + ~const Sub, [INFO] [stdout] | ^^^^^^ can't be applied to `Sub` [INFO] [stdout] | [INFO] [stdout] note: `Sub` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/44f3504e96c944ae54fc72b5f5008f53f7eda001/library/core/src/ops/arith.rs:187:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/hybrid.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | T: ~const Default + ~const PartialEq, [INFO] [stdout] | ^^^^^^ can't be applied to `Default` [INFO] [stdout] | [INFO] [stdout] note: `Default` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/44f3504e96c944ae54fc72b5f5008f53f7eda001/library/core/src/default.rs:107:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/hybrid.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | T: ~const Default + ~const PartialEq, [INFO] [stdout] | ^^^^^^ can't be applied to `PartialEq` [INFO] [stdout] | [INFO] [stdout] note: `PartialEq` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/44f3504e96c944ae54fc72b5f5008f53f7eda001/library/core/src/cmp.rs:248:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/hybrid.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | T: ~const Div + ~const PartialOrd, [INFO] [stdout] | ^^^^^^ can't be applied to `Div` [INFO] [stdout] | [INFO] [stdout] note: `Div` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/44f3504e96c944ae54fc72b5f5008f53f7eda001/library/core/src/ops/arith.rs:451:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/hybrid.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | T: ~const Div + ~const PartialOrd, [INFO] [stdout] | ^^^^^^ can't be applied to `PartialOrd` [INFO] [stdout] | [INFO] [stdout] note: `PartialOrd` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/44f3504e96c944ae54fc72b5f5008f53f7eda001/library/core/src/cmp.rs:1329:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/hybrid.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | T: ~const Div + ~const PartialOrd + ~const PartialEq, [INFO] [stdout] | ^^^^^^ can't be applied to `Div` [INFO] [stdout] | [INFO] [stdout] note: `Div` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/44f3504e96c944ae54fc72b5f5008f53f7eda001/library/core/src/ops/arith.rs:451:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/hybrid.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | T: ~const Div + ~const PartialOrd + ~const PartialEq, [INFO] [stdout] | ^^^^^^ can't be applied to `PartialOrd` [INFO] [stdout] | [INFO] [stdout] note: `PartialOrd` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/44f3504e96c944ae54fc72b5f5008f53f7eda001/library/core/src/cmp.rs:1329:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/hybrid.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | T: ~const Div + ~const PartialOrd + ~const PartialEq, [INFO] [stdout] | ^^^^^^ can't be applied to `PartialEq` [INFO] [stdout] | [INFO] [stdout] note: `PartialEq` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/44f3504e96c944ae54fc72b5f5008f53f7eda001/library/core/src/cmp.rs:248:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/hybrid.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | T: ~const Integral, [INFO] [stdout] | ^^^^^^ can't be applied to `Integral` [INFO] [stdout] | [INFO] [stdout] note: `Integral` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/funty-2.0.0/src/lib.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | / pub trait Integral: [INFO] [stdout] 227 | | Numeric [INFO] [stdout] 228 | | + Hash [INFO] [stdout] 229 | | + Eq [INFO] [stdout] ... | [INFO] [stdout] 374 | | + ShrAssign [INFO] [stdout] 375 | | + for<'a> ShrAssign<&'a usize> [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::funty` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/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] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/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] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/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 associated function `::funty` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/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 method `::wrapping_add` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/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 associated function `::funty` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/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] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/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] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/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 associated function `::funty` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/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] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/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 associated function `::funty` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/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 method `::wrapping_add` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/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 method `::wrapping_add` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/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 associated function `>::try_from` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/link_type.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | 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>::Error>` cannot be evaluated at compile-time [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/doublets-rs-d364ff6f141dcf99/5522d91/dev-deps/data-rs/src/link_type.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | match All::try_from(n) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] ... [INFO] [stdout] 29 | } [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, 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 42 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "26cea54a6176e17ce6161881c6aa4a5763da2d9a7e233eed42c445a05bd3e527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26cea54a6176e17ce6161881c6aa4a5763da2d9a7e233eed42c445a05bd3e527", kill_on_drop: false }` [INFO] [stdout] 26cea54a6176e17ce6161881c6aa4a5763da2d9a7e233eed42c445a05bd3e527