[INFO] fetching crate tyght-map 0.2.0... [INFO] checking tyght-map-0.2.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate tyght-map 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate tyght-map 0.2.0 [INFO] finished tweaking crates.io crate tyght-map 0.2.0 [INFO] tweaked toml for crates.io crate tyght-map 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tyght-map 0.2.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tyght-map 0.2.0 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 333d239bf4a3f347cc5c2ca41aabadb4add67e8184731473dc0b6425aa7d58fe [INFO] running `Command { std: "docker" "start" "-a" "333d239bf4a3f347cc5c2ca41aabadb4add67e8184731473dc0b6425aa7d58fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "333d239bf4a3f347cc5c2ca41aabadb4add67e8184731473dc0b6425aa7d58fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "333d239bf4a3f347cc5c2ca41aabadb4add67e8184731473dc0b6425aa7d58fe", kill_on_drop: false }` [INFO] [stdout] 333d239bf4a3f347cc5c2ca41aabadb4add67e8184731473dc0b6425aa7d58fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5179a686c2c94a8e5ad06a1f0b1ae6f97f00c6976b84ae2eceaa98d9aff5cba3 [INFO] running `Command { std: "docker" "start" "-a" "5179a686c2c94a8e5ad06a1f0b1ae6f97f00c6976b84ae2eceaa98d9aff5cba3", kill_on_drop: false }` [INFO] [stderr] Checking tyght-map v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `const_type_id` has been stable since 1.91.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | const_type_id [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_type_id` has been stable since 1.91.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | const_type_id [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:161:43 [INFO] [stdout] | [INFO] [stdout] 161 | () == type_id::() }>>::Inserted; [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:161:43 [INFO] [stdout] | [INFO] [stdout] 161 | () == type_id::() }>>::Inserted; [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:158:36 [INFO] [stdout] | [INFO] [stdout] 158 | Self: LocalMaybeContains() == type_id::() }>, [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:158:36 [INFO] [stdout] | [INFO] [stdout] 158 | Self: LocalMaybeContains() == type_id::() }>, [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:163:43 [INFO] [stdout] | [INFO] [stdout] 163 | () == type_id::() }>>::Removed; [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:163:43 [INFO] [stdout] | [INFO] [stdout] 163 | () == type_id::() }>>::Removed; [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:166:43 [INFO] [stdout] | [INFO] [stdout] 166 | () == type_id::() }>>::CONTAINS; [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:166:45 [INFO] [stdout] | [INFO] [stdout] 166 | () == type_id::() }>>::CONTAINS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:166:43 [INFO] [stdout] | [INFO] [stdout] 166 | () == type_id::() }>>::CONTAINS; [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:166:45 [INFO] [stdout] | [INFO] [stdout] 166 | () == type_id::() }>>::CONTAINS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:166:45 [INFO] [stdout] | [INFO] [stdout] 166 | () == type_id::() }>>::CONTAINS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:169:43 [INFO] [stdout] | [INFO] [stdout] 169 | () == type_id::() }>>::try_get(self) [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:169:45 [INFO] [stdout] | [INFO] [stdout] 169 | () == type_id::() }>>::try_get(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:169:45 [INFO] [stdout] | [INFO] [stdout] 169 | () == type_id::() }>>::try_get(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:173:43 [INFO] [stdout] | [INFO] [stdout] 173 | () == type_id::() }>>::try_get_mut( [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:173:45 [INFO] [stdout] | [INFO] [stdout] 173 | () == type_id::() }>>::try_get_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:173:45 [INFO] [stdout] | [INFO] [stdout] 173 | () == type_id::() }>>::try_get_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | () == type_id::() }>>::try_insert( [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:161:45 [INFO] [stdout] | [INFO] [stdout] 161 | () == type_id::() }>>::Inserted; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:161:45 [INFO] [stdout] | [INFO] [stdout] 161 | () == type_id::() }>>::Inserted; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:179:45 [INFO] [stdout] | [INFO] [stdout] 179 | () == type_id::() }>>::try_insert( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:179:45 [INFO] [stdout] | [INFO] [stdout] 179 | () == type_id::() }>>::try_insert( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:185:43 [INFO] [stdout] | [INFO] [stdout] 185 | () == type_id::() }>>::try_remove( [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:163:45 [INFO] [stdout] | [INFO] [stdout] 163 | () == type_id::() }>>::Removed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:163:45 [INFO] [stdout] | [INFO] [stdout] 163 | () == type_id::() }>>::Removed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:185:45 [INFO] [stdout] | [INFO] [stdout] 185 | () == type_id::() }>>::try_remove( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:185:45 [INFO] [stdout] | [INFO] [stdout] 185 | () == type_id::() }>>::try_remove( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:166:45 [INFO] [stdout] | [INFO] [stdout] 166 | () == type_id::() }>>::CONTAINS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:169:43 [INFO] [stdout] | [INFO] [stdout] 169 | () == type_id::() }>>::try_get(self) [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:169:45 [INFO] [stdout] | [INFO] [stdout] 169 | () == type_id::() }>>::try_get(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:169:45 [INFO] [stdout] | [INFO] [stdout] 169 | () == type_id::() }>>::try_get(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:173:43 [INFO] [stdout] | [INFO] [stdout] 173 | () == type_id::() }>>::try_get_mut( [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:173:45 [INFO] [stdout] | [INFO] [stdout] 173 | () == type_id::() }>>::try_get_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:173:45 [INFO] [stdout] | [INFO] [stdout] 173 | () == type_id::() }>>::try_get_mut( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | () == type_id::() }>>::try_insert( [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:161:45 [INFO] [stdout] | [INFO] [stdout] 161 | () == type_id::() }>>::Inserted; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:161:45 [INFO] [stdout] | [INFO] [stdout] 161 | () == type_id::() }>>::Inserted; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:179:45 [INFO] [stdout] | [INFO] [stdout] 179 | () == type_id::() }>>::try_insert( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:179:45 [INFO] [stdout] | [INFO] [stdout] 179 | () == type_id::() }>>::try_insert( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: overly complex generic constant [INFO] [stdout] --> src/maybe_contains.rs:185:43 [INFO] [stdout] | [INFO] [stdout] 185 | () == type_id::() }>>::try_remove( [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | borrowing is not supported in generic constants [INFO] [stdout] | [INFO] [stdout] = help: consider moving this anonymous constant into a `const` function [INFO] [stdout] = note: this operation may be supported in the future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:163:45 [INFO] [stdout] | [INFO] [stdout] 163 | () == type_id::() }>>::Removed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:163:45 [INFO] [stdout] | [INFO] [stdout] 163 | () == type_id::() }>>::Removed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:185:45 [INFO] [stdout] | [INFO] [stdout] 185 | () == type_id::() }>>::try_remove( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:185:45 [INFO] [stdout] | [INFO] [stdout] 185 | () == type_id::() }>>::try_remove( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:158:38 [INFO] [stdout] | [INFO] [stdout] 158 | Self: LocalMaybeContains() == type_id::() }>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:158:38 [INFO] [stdout] | [INFO] [stdout] 158 | Self: LocalMaybeContains() == type_id::() }>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/maybe_contains.rs:196:41 [INFO] [stdout] | [INFO] [stdout] 196 | static_assertions::assert_impl_all!(Cons: MaybeContains); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected ` as maybe_contains::MaybeContains>::CONTAINS`, found `true` [INFO] [stdout] | [INFO] [stdout] = note: expected constant ` as maybe_contains::MaybeContains>::CONTAINS` [INFO] [stdout] found constant `true` [INFO] [stdout] note: required by a bound in `maybe_contains::tests::_::{closure#0}::assert_impl_all` [INFO] [stdout] --> src/maybe_contains.rs:196:76 [INFO] [stdout] | [INFO] [stdout] 196 | static_assertions::assert_impl_all!(Cons: MaybeContains); [INFO] [stdout] | -----------------------------------------------------------------------^^^^^^^^^^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | required by this bound in `assert_impl_all` [INFO] [stdout] | required by a bound in this function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | Ty: [INFO] [stdout] | ^^ expected `>> as maybe_contains::MaybeContains>::CONTAINS`, found `true` [INFO] [stdout] | [INFO] [stdout] = note: expected constant `>> as maybe_contains::MaybeContains>::CONTAINS` [INFO] [stdout] found constant `true` [INFO] [stdout] note: required by a bound in `tests::_::{closure#0}::assert_impl_all` [INFO] [stdout] --> src/lib.rs:233:27 [INFO] [stdout] | [INFO] [stdout] 231 | / static_assertions::assert_impl_all!( [INFO] [stdout] 232 | | Ty: [INFO] [stdout] 233 | | MaybeContains, [INFO] [stdout] | | ^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all` [INFO] [stdout] 234 | | MaybeContains, [INFO] [stdout] ... | [INFO] [stdout] 237 | | MaybeContains [INFO] [stdout] 238 | | ); [INFO] [stdout] | |_____- required by a bound in this function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | Ty: [INFO] [stdout] | ^^ expected `>> as maybe_contains::MaybeContains>::CONTAINS`, found `true` [INFO] [stdout] | [INFO] [stdout] = note: expected constant `>> as maybe_contains::MaybeContains>::CONTAINS` [INFO] [stdout] found constant `true` [INFO] [stdout] note: required by a bound in `tests::_::{closure#0}::assert_impl_all` [INFO] [stdout] --> src/lib.rs:234:28 [INFO] [stdout] | [INFO] [stdout] 231 | / static_assertions::assert_impl_all!( [INFO] [stdout] 232 | | Ty: [INFO] [stdout] 233 | | MaybeContains, [INFO] [stdout] 234 | | MaybeContains, [INFO] [stdout] | | ^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all` [INFO] [stdout] ... | [INFO] [stdout] 237 | | MaybeContains [INFO] [stdout] 238 | | ); [INFO] [stdout] | |_____- required by a bound in this function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | Ty: [INFO] [stdout] | ^^ expected `>> as maybe_contains::MaybeContains>::CONTAINS`, found `true` [INFO] [stdout] | [INFO] [stdout] = note: expected constant `>> as maybe_contains::MaybeContains>::CONTAINS` [INFO] [stdout] found constant `true` [INFO] [stdout] note: required by a bound in `tests::_::{closure#0}::assert_impl_all` [INFO] [stdout] --> src/lib.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 231 | / static_assertions::assert_impl_all!( [INFO] [stdout] 232 | | Ty: [INFO] [stdout] 233 | | MaybeContains, [INFO] [stdout] 234 | | MaybeContains, [INFO] [stdout] 235 | | MaybeContains, [INFO] [stdout] | | ^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all` [INFO] [stdout] 236 | | MaybeContains, [INFO] [stdout] 237 | | MaybeContains [INFO] [stdout] 238 | | ); [INFO] [stdout] | |_____- required by a bound in this function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | Ty: Contains, [INFO] [stdout] | ^^ expected `>> as maybe_contains::MaybeContains>::CONTAINS`, found `true` [INFO] [stdout] | [INFO] [stdout] = note: expected constant `>> as maybe_contains::MaybeContains>::CONTAINS` [INFO] [stdout] found constant `true` [INFO] [stdout] note: required by a bound in `tests::_::{closure#0}::assert_impl_all` [INFO] [stdout] --> src/lib.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / static_assertions::assert_impl_all!( [INFO] [stdout] 240 | | Ty: Contains, [INFO] [stdout] 241 | | Contains, [INFO] [stdout] 242 | | Contains, [INFO] [stdout] 243 | | Missing, [INFO] [stdout] 244 | | Missing [INFO] [stdout] 245 | | ); [INFO] [stdout] | |_____^ required by this bound in `assert_impl_all` [INFO] [stdout] = note: this error originates in the macro `static_assertions::assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | Ty: Contains, [INFO] [stdout] | ^^ expected `>> as maybe_contains::MaybeContains>::CONTAINS`, found `true` [INFO] [stdout] | [INFO] [stdout] = note: expected constant `>> as maybe_contains::MaybeContains>::CONTAINS` [INFO] [stdout] found constant `true` [INFO] [stdout] note: required by a bound in `tests::_::{closure#0}::assert_impl_all` [INFO] [stdout] --> src/lib.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / static_assertions::assert_impl_all!( [INFO] [stdout] 240 | | Ty: Contains, [INFO] [stdout] 241 | | Contains, [INFO] [stdout] 242 | | Contains, [INFO] [stdout] 243 | | Missing, [INFO] [stdout] 244 | | Missing [INFO] [stdout] 245 | | ); [INFO] [stdout] | |_____^ required by this bound in `assert_impl_all` [INFO] [stdout] = note: this error originates in the macro `static_assertions::assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | Ty: Contains, [INFO] [stdout] | ^^ expected `>> as maybe_contains::MaybeContains>::CONTAINS`, found `true` [INFO] [stdout] | [INFO] [stdout] = note: expected constant `>> as maybe_contains::MaybeContains>::CONTAINS` [INFO] [stdout] found constant `true` [INFO] [stdout] note: required by a bound in `tests::_::{closure#0}::assert_impl_all` [INFO] [stdout] --> src/lib.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / static_assertions::assert_impl_all!( [INFO] [stdout] 240 | | Ty: Contains, [INFO] [stdout] 241 | | Contains, [INFO] [stdout] 242 | | Contains, [INFO] [stdout] 243 | | Missing, [INFO] [stdout] 244 | | Missing [INFO] [stdout] 245 | | ); [INFO] [stdout] | |_____^ required by this bound in `assert_impl_all` [INFO] [stdout] = note: this error originates in the macro `static_assertions::assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:258:27 [INFO] [stdout] | [INFO] [stdout] 258 | let (item, map) = map.remove(); [INFO] [stdout] | ^^^ expected `>> as maybe_contains::MaybeContains>::CONTAINS`, found `true` [INFO] [stdout] | [INFO] [stdout] = note: expected constant `>> as maybe_contains::MaybeContains>::CONTAINS` [INFO] [stdout] found constant `true` [INFO] [stdout] note: required by a bound in `TyghtMap::::remove` [INFO] [stdout] --> src/lib.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn remove(self) -> (T, TyghtMap) [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 205 | where [INFO] [stdout] 206 | S: Contains, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TyghtMap::::remove` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tyght-map` (lib) due to 24 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `Cons: LocalMaybeContains() == type_id::() }>` [INFO] [stdout] --> src/lib.rs:274:42 [INFO] [stdout] | [INFO] [stdout] 274 | let (item, map) = map.try_insert(2); [INFO] [stdout] | ---------- ^ [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Cons: LocalMaybeContains() == type_id::() }>` found [INFO] [stdout] --> src/maybe_contains.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl LocalMaybeContains for Cons { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | / impl LocalMaybeContains for Cons [INFO] [stdout] 69 | | where [INFO] [stdout] 70 | | T: MaybeContains, [INFO] [stdout] | |___________________________^ [INFO] [stdout] note: required for `Cons` to implement `maybe_contains::MaybeContains` [INFO] [stdout] --> src/maybe_contains.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | impl MaybeContains for Cons [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | Self: LocalMaybeContains() == type_id::() }>, [INFO] [stdout] | ----------------------------------------------------------------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `TyghtMap::::try_insert` [INFO] [stdout] --> src/lib.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn try_insert(self, item: T) -> (Option, TyghtMap) [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 152 | where [INFO] [stdout] 153 | S: MaybeContains, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TyghtMap::::try_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `Cons: LocalMaybeContains() == type_id::() }>` [INFO] [stdout] --> src/lib.rs:287:31 [INFO] [stdout] | [INFO] [stdout] 287 | let (item, map) = map.try_remove::(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `Cons: LocalMaybeContains() == type_id::() }>` found [INFO] [stdout] --> src/maybe_contains.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl LocalMaybeContains for Cons { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | / impl LocalMaybeContains for Cons [INFO] [stdout] 69 | | where [INFO] [stdout] 70 | | T: MaybeContains, [INFO] [stdout] | |___________________________^ [INFO] [stdout] note: required for `Cons` to implement `maybe_contains::MaybeContains` [INFO] [stdout] --> src/maybe_contains.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | impl MaybeContains for Cons [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | Self: LocalMaybeContains() == type_id::() }>, [INFO] [stdout] | ----------------------------------------------------------------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `(Option, TyghtMap<_>)` [INFO] [stdout] --> src/lib.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let (item, map) = map.try_remove::(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | let (item, map) = map.try_remove::(); [INFO] [stdout] | --- ---------- required by a bound introduced by this call [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `_: maybe_contains::MaybeContains` found [INFO] [stdout] --> src/maybe_contains.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | impl MaybeContains for Nil { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | / impl MaybeContains for Cons [INFO] [stdout] 155 | | where [INFO] [stdout] 156 | | Item: 'static, [INFO] [stdout] 157 | | H: 'static, [INFO] [stdout] 158 | | Self: LocalMaybeContains() == type_id::() }>, [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] note: required by a bound in `TyghtMap::::try_remove` [INFO] [stdout] --> src/lib.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn try_remove(self) -> (Option, TyghtMap) [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 216 | where [INFO] [stdout] 217 | S: MaybeContains, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `TyghtMap::::try_remove` [INFO] [stdout] help: consider giving this pattern a type, where the type for type parameter `S` is specified [INFO] [stdout] | [INFO] [stdout] 287 | let (item, map): (_, TyghtMap<_>) = map.try_remove::(); [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: cannot call conditionally-const operator in constants [INFO] [stdout] --> src/maybe_contains.rs:158:38 [INFO] [stdout] | [INFO] [stdout] 158 | Self: LocalMaybeContains() == type_id::() }>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: see issue #143874 for more information [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `PartialEq` is not yet stable as a const trait [INFO] [stdout] --> src/maybe_contains.rs:158:38 [INFO] [stdout] | [INFO] [stdout] 158 | Self: LocalMaybeContains() == type_id::() }>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_cmp)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 + #![feature(const_cmp)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tyght-map` (lib test) due to 35 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5179a686c2c94a8e5ad06a1f0b1ae6f97f00c6976b84ae2eceaa98d9aff5cba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5179a686c2c94a8e5ad06a1f0b1ae6f97f00c6976b84ae2eceaa98d9aff5cba3", kill_on_drop: false }` [INFO] [stdout] 5179a686c2c94a8e5ad06a1f0b1ae6f97f00c6976b84ae2eceaa98d9aff5cba3