[INFO] fetching crate consume_ptr 0.3.0... [INFO] testing consume_ptr-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate consume_ptr 0.3.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate consume_ptr 0.3.0 [INFO] finished tweaking crates.io crate consume_ptr 0.3.0 [INFO] tweaked toml for crates.io crate consume_ptr 0.3.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate consume_ptr 0.3.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ed8a6578bdfe88708b8e1cdd06d04f66d3f8d39d6d2e36b8fc59e0440106ba2 [INFO] running `Command { std: "docker" "start" "-a" "4ed8a6578bdfe88708b8e1cdd06d04f66d3f8d39d6d2e36b8fc59e0440106ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ed8a6578bdfe88708b8e1cdd06d04f66d3f8d39d6d2e36b8fc59e0440106ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ed8a6578bdfe88708b8e1cdd06d04f66d3f8d39d6d2e36b8fc59e0440106ba2", kill_on_drop: false }` [INFO] [stdout] 4ed8a6578bdfe88708b8e1cdd06d04f66d3f8d39d6d2e36b8fc59e0440106ba2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f01d5effad65a04ea67c6c3868ec4c083471764921f8a3547024ffb71357d04 [INFO] running `Command { std: "docker" "start" "-a" "1f01d5effad65a04ea67c6c3868ec4c083471764921f8a3547024ffb71357d04", kill_on_drop: false }` [INFO] [stderr] Compiling consume_ptr v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/lib.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe trait TryConsume: Sized { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this trait is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / pub unsafe trait TryConsume: Sized { [INFO] [stdout] 31 | | [INFO] [stdout] 32 | | /// `Target` is never read after this call [INFO] [stdout] 33 | | fn try_consume_unsized(self, f: impl FnOnce(*mut Target) -> T) -> Result; [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[const]` is not allowed here [INFO] [stdout] --> src/lib.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | pub unsafe trait Consume: TryConsume { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this trait is not `const`, so it cannot have `[const]` trait bounds [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / pub unsafe trait Consume: TryConsume { [INFO] [stdout] 53 | | /// `Target` is never read after this call [INFO] [stdout] 54 | | fn consume_unsized(self, f: impl FnOnce(*mut Target) -> T) -> T; [INFO] [stdout] ... | [INFO] [stdout] 71 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `const_destruct` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::marker::Destruct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #133214 for more information [INFO] [stdout] = help: add `#![feature(const_destruct)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-28; 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:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe trait TryConsume: Sized { [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-08-28; 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:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe trait TryConsume: Sized { [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-08-28; 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:52:50 [INFO] [stdout] | [INFO] [stdout] 52 | pub unsafe trait Consume: TryConsume { [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-08-28; 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:52:50 [INFO] [stdout] | [INFO] [stdout] 52 | pub unsafe trait Consume: TryConsume { [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-08-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/lib.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | std::intrinsics::copy_nonoverlapping(x, &mut ret as _, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/lib.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | std::intrinsics::copy_nonoverlapping(x, &mut ret as _, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/lib.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | std::intrinsics::copy_nonoverlapping(self, &mut ret as _, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/lib.rs:314:26 [INFO] [stdout] | [INFO] [stdout] 314 | ... std::intrinsics::copy_nonoverlapping(p as *const AlwaysCopy, Arc::get_mut_unchecked(&mut ret).assume_init_mut() as *mut AlwaysCo... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/lib.rs:325:26 [INFO] [stdout] | [INFO] [stdout] 325 | ... std::intrinsics::copy_nonoverlapping(p as *const AlwaysCopy, Arc::get_mut_unchecked(&mut ret).as_mut_ptr() as *mut AlwaysCopy... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/lib.rs:363:26 [INFO] [stdout] | [INFO] [stdout] 363 | ... std::intrinsics::copy_nonoverlapping(p as *const AlwaysCopy, Rc::get_mut_unchecked(&mut ret).assume_init_mut() as *mut AlwaysCop... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/lib.rs:374:26 [INFO] [stdout] | [INFO] [stdout] 374 | ... std::intrinsics::copy_nonoverlapping(p as *const AlwaysCopy, Rc::get_mut_unchecked(&mut ret).as_mut_ptr() as *mut AlwaysCopy,... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_ptr_len` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(slice_ptr_len)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `new_uninit` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(new_uninit)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `consume_ptr` (lib) due to 7 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1f01d5effad65a04ea67c6c3868ec4c083471764921f8a3547024ffb71357d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f01d5effad65a04ea67c6c3868ec4c083471764921f8a3547024ffb71357d04", kill_on_drop: false }` [INFO] [stdout] 1f01d5effad65a04ea67c6c3868ec4c083471764921f8a3547024ffb71357d04