[INFO] fetching crate fallible-option 0.1.3... [INFO] testing fallible-option-0.1.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate fallible-option 0.1.3 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate fallible-option 0.1.3 [INFO] finished tweaking crates.io crate fallible-option 0.1.3 [INFO] tweaked toml for crates.io crate fallible-option 0.1.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fallible-option 0.1.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75f311b9cc886d0f262cc74ab1234c94411b8e10c2063eb494efddd7097f38d0 [INFO] running `Command { std: "docker" "start" "-a" "75f311b9cc886d0f262cc74ab1234c94411b8e10c2063eb494efddd7097f38d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75f311b9cc886d0f262cc74ab1234c94411b8e10c2063eb494efddd7097f38d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f311b9cc886d0f262cc74ab1234c94411b8e10c2063eb494efddd7097f38d0", kill_on_drop: false }` [INFO] [stdout] 75f311b9cc886d0f262cc74ab1234c94411b8e10c2063eb494efddd7097f38d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5af58730400ef133ae54d827ada7c64551284f675962b5a2005ab0bff7391710 [INFO] running `Command { std: "docker" "start" "-a" "5af58730400ef133ae54d827ada7c64551284f675962b5a2005ab0bff7391710", kill_on_drop: false }` [INFO] [stderr] Compiling fallible-option v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: `~const` is not allowed here [INFO] [stdout] --> src/lib.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | E: ~const Clone, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: inherent impls cannot have `~const` trait bounds [INFO] [stdout] --> src/lib.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 449 | / impl Fallible<&E> [INFO] [stdout] 450 | | where [INFO] [stdout] 451 | | E: ~const Clone, [INFO] [stdout] ... | [INFO] [stdout] 477 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` is not allowed here [INFO] [stdout] --> src/lib.rs:481:8 [INFO] [stdout] | [INFO] [stdout] 481 | E: ~const Clone, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: inherent impls cannot have `~const` trait bounds [INFO] [stdout] --> src/lib.rs:479:1 [INFO] [stdout] | [INFO] [stdout] 479 | / impl Fallible<&mut E> [INFO] [stdout] 480 | | where [INFO] [stdout] 481 | | E: ~const Clone, [INFO] [stdout] ... | [INFO] [stdout] 507 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | private_in_public, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `const_destruct` [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | use core::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-06-19; 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] --> src/lib.rs:564:15 [INFO] [stdout] | [INFO] [stdout] 564 | E: ~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-06-19; 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/lib.rs:564:15 [INFO] [stdout] | [INFO] [stdout] 564 | E: ~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-06-19; 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] --> src/lib.rs:565:15 [INFO] [stdout] | [INFO] [stdout] 565 | T: ~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-06-19; 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/lib.rs:565:15 [INFO] [stdout] | [INFO] [stdout] 565 | T: ~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-06-19; 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] --> src/lib.rs:599:30 [INFO] [stdout] | [INFO] [stdout] 599 | E: ~const Clone + ~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-06-19; 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/lib.rs:599:30 [INFO] [stdout] | [INFO] [stdout] 599 | E: ~const Clone + ~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-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_deref` [INFO] [stdout] --> src/lib.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | E: ~const Deref, [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #88955 for more information [INFO] [stdout] = help: add `#![feature(const_deref)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_deref` [INFO] [stdout] --> src/lib.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | E: ~const DerefMut, [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #88955 for more information [INFO] [stdout] = help: add `#![feature(const_deref)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; 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] --> src/lib.rs:360:19 [INFO] [stdout] | [INFO] [stdout] 360 | F: ~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-06-19; 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/lib.rs:360:19 [INFO] [stdout] | [INFO] [stdout] 360 | F: ~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-06-19; 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] --> src/lib.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | E: ~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-06-19; 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/lib.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | E: ~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-06-19; 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] --> src/lib.rs:380:19 [INFO] [stdout] | [INFO] [stdout] 380 | E: ~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-06-19; 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/lib.rs:380:19 [INFO] [stdout] | [INFO] [stdout] 380 | E: ~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-06-19; 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] --> src/lib.rs:416:19 [INFO] [stdout] | [INFO] [stdout] 416 | E: ~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-06-19; 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/lib.rs:416:19 [INFO] [stdout] | [INFO] [stdout] 416 | E: ~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-06-19; 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] --> src/lib.rs:417:19 [INFO] [stdout] | [INFO] [stdout] 417 | T: ~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-06-19; 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/lib.rs:417:19 [INFO] [stdout] | [INFO] [stdout] 417 | T: ~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-06-19; 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] --> src/lib.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 440 | E: ~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-06-19; 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/lib.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 440 | E: ~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-06-19; 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] --> src/lib.rs:546:19 [INFO] [stdout] | [INFO] [stdout] 546 | E: ~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-06-19; 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/lib.rs:546:19 [INFO] [stdout] | [INFO] [stdout] 546 | E: ~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-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_replace` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | #![feature(const_replace)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Clone` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/lib.rs:597:15 [INFO] [stdout] | [INFO] [stdout] 597 | impl const Clone for Fallible [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] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/lib.rs:599:8 [INFO] [stdout] | [INFO] [stdout] 599 | E: ~const Clone + ~const Destruct, [INFO] [stdout] | ^^^^^^ can't be applied to `Clone` [INFO] [stdout] | [INFO] [stdout] note: `Clone` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/clone.rs:160:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/lib.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | E: ~const Clone, [INFO] [stdout] | ^^^^^^ can't be applied to `Clone` [INFO] [stdout] | [INFO] [stdout] note: `Clone` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/clone.rs:160:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/lib.rs:481:8 [INFO] [stdout] | [INFO] [stdout] 481 | E: ~const Clone, [INFO] [stdout] | ^^^^^^ can't be applied to `Clone` [INFO] [stdout] | [INFO] [stdout] note: `Clone` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/clone.rs:160:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/lib.rs:555:15 [INFO] [stdout] | [INFO] [stdout] 555 | impl const From for Fallible { [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] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/lib.rs:562:18 [INFO] [stdout] | [INFO] [stdout] 562 | impl const From> for Fallible [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] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/lib.rs:576:19 [INFO] [stdout] | [INFO] [stdout] 576 | impl<'a, E> const From<&'a Fallible> for Fallible<&'a E> { [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] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/lib.rs:583:19 [INFO] [stdout] | [INFO] [stdout] 583 | impl<'a, E> const From<&'a mut Fallible> for Fallible<&'a mut E> { [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] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Default` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/lib.rs:590:15 [INFO] [stdout] | [INFO] [stdout] 590 | impl const Default for Fallible { [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] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/lib.rs:339:30 [INFO] [stdout] | [INFO] [stdout] 339 | pub const fn contains>(&self, x: &U) -> bool { [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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/cmp.rs:250:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `~const` can only be applied to `#[const_trait]` traits [INFO] [stdout] --> src/lib.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | F: ~const FnOnce(E) -> U, [INFO] [stdout] | ^^^^^^ can't be applied to `FnOnce` [INFO] [stdout] | [INFO] [stdout] note: `FnOnce` can't be used with `~const` because it isn't annotated with `#[const_trait]` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:242:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `Deref` is not yet stable as a const trait [INFO] [stdout] --> src/lib.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | Fail(e) => Fail(e.deref()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_deref)]` to the crate attributes to enable [INFO] [stdout] | [INFO] [stdout] 179 + #![feature(const_deref)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DerefMut` is not yet stable as a const trait [INFO] [stdout] --> src/lib.rs:243:29 [INFO] [stdout] | [INFO] [stdout] 243 | Fail(e) => Fail(e.deref_mut()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#![feature(const_deref)]` to the crate attributes to enable [INFO] [stdout] | [INFO] [stdout] 179 + #![feature(const_deref)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::eq` in constant functions [INFO] [stdout] --> src/lib.rs:342:26 [INFO] [stdout] | [INFO] [stdout] 342 | Fail(e) => x.eq(e), [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 closure in constant functions [INFO] [stdout] --> src/lib.rs:365:29 [INFO] [stdout] | [INFO] [stdout] 365 | Fail(e) => Fail(op(e)), [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 `F` cannot be evaluated at compile-time [INFO] [stdout] --> src/lib.rs:357:34 [INFO] [stdout] | [INFO] [stdout] 357 | pub const fn map(self, op: F) -> Fallible [INFO] [stdout] | ^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] ... [INFO] [stdout] 367 | } [INFO] [stdout] | - value is dropped here [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-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `Fallible` cannot be evaluated at compile-time [INFO] [stdout] --> src/lib.rs:357:28 [INFO] [stdout] | [INFO] [stdout] 357 | pub const fn map(self, op: F) -> Fallible [INFO] [stdout] | ^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] ... [INFO] [stdout] 367 | } [INFO] [stdout] | - value is dropped here [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-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `Fallible` cannot be evaluated at compile-time [INFO] [stdout] --> src/lib.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | pub const fn result(self) -> Result<(), E> [INFO] [stdout] | ^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] ... [INFO] [stdout] 386 | } [INFO] [stdout] | - value is dropped here [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-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `T` cannot be evaluated at compile-time [INFO] [stdout] --> src/lib.rs:414:34 [INFO] [stdout] | [INFO] [stdout] 414 | pub const fn err_or(self, value: T) -> Result [INFO] [stdout] | ^^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] ... [INFO] [stdout] 423 | } [INFO] [stdout] | - value is dropped here [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-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `Fallible` cannot be evaluated at compile-time [INFO] [stdout] --> src/lib.rs:414:28 [INFO] [stdout] | [INFO] [stdout] 414 | pub const fn err_or(self, value: T) -> Result [INFO] [stdout] | ^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] ... [INFO] [stdout] 423 | } [INFO] [stdout] | - value is dropped here [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-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `Fallible` cannot be evaluated at compile-time [INFO] [stdout] --> src/lib.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | match mem::replace(self, Success) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] ... [INFO] [stdout] 446 | } [INFO] [stdout] | - value is dropped here [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-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::clone` in constant functions [INFO] [stdout] --> src/lib.rs:460:31 [INFO] [stdout] | [INFO] [stdout] 460 | Fail(e) => Fail(e.clone()), [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 `::clone` in constant functions [INFO] [stdout] --> src/lib.rs:490:31 [INFO] [stdout] | [INFO] [stdout] 490 | Fail(e) => Fail(e.clone()), [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 `Fallible>` cannot be evaluated at compile-time [INFO] [stdout] --> src/lib.rs:544:26 [INFO] [stdout] | [INFO] [stdout] 544 | pub const fn flatten(self) -> Fallible [INFO] [stdout] | ^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] ... [INFO] [stdout] 552 | } [INFO] [stdout] | - value is dropped here [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-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `Result` cannot be evaluated at compile-time [INFO] [stdout] --> src/lib.rs:568:13 [INFO] [stdout] | [INFO] [stdout] 568 | fn from(value: Result) -> Self { [INFO] [stdout] | ^^^^^ the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] ... [INFO] [stdout] 573 | } [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::clone` in constant functions [INFO] [stdout] --> src/lib.rs:604:31 [INFO] [stdout] | [INFO] [stdout] 604 | Fail(x) => Fail(x.clone()), [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 ` as Clone>::clone` in constant functions [INFO] [stdout] --> src/lib.rs:613:38 [INFO] [stdout] | [INFO] [stdout] 613 | (to, from) => *to = from.clone(), [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 `::clone_from` in constant functions [INFO] [stdout] --> src/lib.rs:612:42 [INFO] [stdout] | [INFO] [stdout] 612 | (Fail(to), Fail(from)) => to.clone_from(from), [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 `Fallible` cannot be evaluated at compile-time [INFO] [stdout] --> src/lib.rs:613:27 [INFO] [stdout] | [INFO] [stdout] 613 | (to, from) => *to = from.clone(), [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | the destructor for this type cannot be evaluated in constant functions [INFO] [stdout] | value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0493, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fallible-option` (lib) due to 54 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5af58730400ef133ae54d827ada7c64551284f675962b5a2005ab0bff7391710", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5af58730400ef133ae54d827ada7c64551284f675962b5a2005ab0bff7391710", kill_on_drop: false }` [INFO] [stdout] 5af58730400ef133ae54d827ada7c64551284f675962b5a2005ab0bff7391710