[INFO] fetching crate raw 0.0.6... [INFO] testing raw-0.0.6 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate raw 0.0.6 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate raw 0.0.6 [INFO] finished tweaking crates.io crate raw 0.0.6 [INFO] tweaked toml for crates.io crate raw 0.0.6 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate raw 0.0.6 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3e83bcd50c886cf0484c448aec037cb4476f98aec16a9fa247901bda04921189 [INFO] running `Command { std: "docker" "start" "-a" "3e83bcd50c886cf0484c448aec037cb4476f98aec16a9fa247901bda04921189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e83bcd50c886cf0484c448aec037cb4476f98aec16a9fa247901bda04921189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e83bcd50c886cf0484c448aec037cb4476f98aec16a9fa247901bda04921189", kill_on_drop: false }` [INFO] [stdout] 3e83bcd50c886cf0484c448aec037cb4476f98aec16a9fa247901bda04921189 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 43b8a7e3ec4739a4f3d767bf3670ee9cb54771a1d517639a5117a55330276a95 [INFO] running `Command { std: "docker" "start" "-a" "43b8a7e3ec4739a4f3d767bf3670ee9cb54771a1d517639a5117a55330276a95", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling raw v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::raw` [INFO] [stdout] --> src/rawptr.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use std::raw::Slice; [INFO] [stdout] | ^^^ could not find `raw` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::rt::heap`, `std::rt::heap` [INFO] [stdout] --> src/alloc/plain.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rt::heap::{self, usable_size, EMPTY}; [INFO] [stdout] | ^^^^ ^^^^ no `heap` in `rt` [INFO] [stdout] | | [INFO] [stdout] | could not find `heap` in `rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `core_intrinsics`: intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> src/alloc/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::intrinsics::abort; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(core_intrinsics)]` 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 `core_intrinsics`: intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> src/alloc/mod.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { abort() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(core_intrinsics)]` 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: use of deprecated function `std::mem::min_align_of`: use `align_of` instead [INFO] [stdout] --> src/alloc/plain.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem::{size_of, min_align_of}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::min_align_of`: use `align_of` instead [INFO] [stdout] --> src/alloc/plain.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | heap::allocate(size, min_align_of::()) as *mut T [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated function [INFO] [stdout] | [INFO] [stdout] 13 - heap::allocate(size, min_align_of::()) as *mut T [INFO] [stdout] 13 + heap::allocate(size, align_of::()) as *mut T [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::min_align_of`: use `align_of` instead [INFO] [stdout] --> src/alloc/plain.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | heap::allocate(desired_size, min_align_of::()) as *mut T [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated function [INFO] [stdout] | [INFO] [stdout] 31 - heap::allocate(desired_size, min_align_of::()) as *mut T [INFO] [stdout] 31 + heap::allocate(desired_size, align_of::()) as *mut T [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::min_align_of`: use `align_of` instead [INFO] [stdout] --> src/alloc/plain.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let align = min_align_of::(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated function [INFO] [stdout] | [INFO] [stdout] 50 - let align = min_align_of::(); [INFO] [stdout] 50 + let align = align_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::min_align_of`: use `align_of` instead [INFO] [stdout] --> src/alloc/plain.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let align = min_align_of::(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated function [INFO] [stdout] | [INFO] [stdout] 71 - let align = min_align_of::(); [INFO] [stdout] 71 + let align = align_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::min_align_of`: use `align_of` instead [INFO] [stdout] --> src/alloc/plain.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let align = min_align_of::(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated function [INFO] [stdout] | [INFO] [stdout] 103 - let align = min_align_of::(); [INFO] [stdout] 103 + let align = align_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::min_align_of`: use `align_of` instead [INFO] [stdout] --> src/alloc/plain.rs:134:48 [INFO] [stdout] | [INFO] [stdout] 134 | heap::deallocate(ptr as *mut u8, size, min_align_of::()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated function [INFO] [stdout] | [INFO] [stdout] 134 - heap::deallocate(ptr as *mut u8, size, min_align_of::()); [INFO] [stdout] 134 + heap::deallocate(ptr as *mut u8, size, align_of::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::min_align_of`: use `align_of` instead [INFO] [stdout] --> src/alloc/plain.rs:155:54 [INFO] [stdout] | [INFO] [stdout] 155 | heap::deallocate(ptr as *mut u8, size * len, min_align_of::()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated function [INFO] [stdout] | [INFO] [stdout] 155 - heap::deallocate(ptr as *mut u8, size * len, min_align_of::()); [INFO] [stdout] 155 + heap::deallocate(ptr as *mut u8, size * len, align_of::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(core)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #![feature(alloc)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/rawslice.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | self.as_ptr().add(from).as_raw_slice(to - from) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `RawSlice::as_ptr(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(slice_ptr_get)]` to the crate attributes to enable `std::ptr::const_ptr::::as_ptr` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 + #![feature(slice_ptr_get)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/rawslice.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | self.as_mut_ptr().add(from).as_raw_mut_slice(to - from) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `RawMutSlice::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(slice_ptr_get)]` to the crate attributes to enable `std::ptr::mut_ptr::::as_mut_ptr` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 + #![feature(slice_ptr_get)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/rawslice.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | self.as_mut_ptr().add(index).write(val); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `RawMutSlice::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(slice_ptr_get)]` to the crate attributes to enable `std::ptr::mut_ptr::::as_mut_ptr` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 + #![feature(slice_ptr_get)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/rawslice.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | self.as_mut_ptr().write_bytes(byte, len); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `RawMutSlice::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(slice_ptr_get)]` to the crate attributes to enable `std::ptr::mut_ptr::::as_mut_ptr` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 + #![feature(slice_ptr_get)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/rawslice.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | from.as_ptr().copy(self.as_mut_ptr(), from.len()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `RawSlice::as_ptr(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(slice_ptr_get)]` to the crate attributes to enable `std::ptr::const_ptr::::as_ptr` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 + #![feature(slice_ptr_get)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/rawslice.rs:146:33 [INFO] [stdout] | [INFO] [stdout] 146 | from.as_ptr().copy(self.as_mut_ptr(), from.len()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `RawMutSlice::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(slice_ptr_get)]` to the crate attributes to enable `std::ptr::mut_ptr::::as_mut_ptr` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 + #![feature(slice_ptr_get)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/rawslice.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | from.as_ptr().copy_nonoverlapping(self.as_mut_ptr(), from.len()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `RawSlice::as_ptr(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(slice_ptr_get)]` to the crate attributes to enable `std::ptr::const_ptr::::as_ptr` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 + #![feature(slice_ptr_get)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/rawslice.rs:150:48 [INFO] [stdout] | [INFO] [stdout] 150 | from.as_ptr().copy_nonoverlapping(self.as_mut_ptr(), from.len()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `RawMutSlice::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(slice_ptr_get)]` to the crate attributes to enable `std::ptr::mut_ptr::::as_mut_ptr` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 + #![feature(slice_ptr_get)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/rawslice.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | &mut *self.as_mut_ptr().add(index) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `RawMutSlice::as_mut_ptr(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(slice_ptr_get)]` to the crate attributes to enable `std::ptr::mut_ptr::::as_mut_ptr` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 + #![feature(slice_ptr_get)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/alloc/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { abort() } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raw` (lib) due to 4 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "43b8a7e3ec4739a4f3d767bf3670ee9cb54771a1d517639a5117a55330276a95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43b8a7e3ec4739a4f3d767bf3670ee9cb54771a1d517639a5117a55330276a95", kill_on_drop: false }` [INFO] [stdout] 43b8a7e3ec4739a4f3d767bf3670ee9cb54771a1d517639a5117a55330276a95