[INFO] fetching crate secbox 0.1.1... [INFO] testing secbox-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate secbox 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate secbox 0.1.1 [INFO] finished tweaking crates.io crate secbox 0.1.1 [INFO] tweaked toml for crates.io crate secbox 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate secbox 0.1.1 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] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2ab4862b1768072e28fe4211503df97411f0a8fc49a0a63e4f0b673832ee61ba [INFO] running `Command { std: "docker" "start" "-a" "2ab4862b1768072e28fe4211503df97411f0a8fc49a0a63e4f0b673832ee61ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ab4862b1768072e28fe4211503df97411f0a8fc49a0a63e4f0b673832ee61ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ab4862b1768072e28fe4211503df97411f0a8fc49a0a63e4f0b673832ee61ba", kill_on_drop: false }` [INFO] [stdout] 2ab4862b1768072e28fe4211503df97411f0a8fc49a0a63e4f0b673832ee61ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 98796ac5125b62af763ce7f5dc98ff4991bc087af1405b774850d151cd1bd7b7 [INFO] running `Command { std: "docker" "start" "-a" "98796ac5125b62af763ce7f5dc98ff4991bc087af1405b774850d151cd1bd7b7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling secbox v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/lib.rs:76:55 [INFO] [stdout] | [INFO] [stdout] 76 | inner: unsafe { Unique::new(Box::into_raw(box mem::uninitialized::())) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 76 - inner: unsafe { Unique::new(Box::into_raw(box mem::uninitialized::())) }, [INFO] [stdout] 76 + inner: unsafe { Unique::new(Box::into_raw(Box::new(mem::uninitialized::()))) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | #![feature(box_syntax, unique, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.70.0 (you are using 1.89.0-nightly (8de4c7234 2025-06-19)); see for more information [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | #![feature(box_syntax, unique, core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | use std::ptr::{self, Unique}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` 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 `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | inner: Unique, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` 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 `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | inner: unsafe { Unique::new(Box::into_raw(box mem::uninitialized::())) }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` 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::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 127 | let mut bx = SecBox::new(mem::uninitialized::()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals`: use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/lib.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | inner: unsafe { Unique::new(Box::into_raw(from)) }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` 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[E0635]: unknown feature `unique` [INFO] [stdout] --> src/lib.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | #![feature(box_syntax, unique, core_intrinsics)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/lib.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | inner: unsafe { Unique::new(Box::into_raw(box mem::uninitialized::())) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` 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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | inner: unsafe { Unique::new(Box::into_raw(box mem::uninitialized::())) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique<_>`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 76 | inner: unsafe { Unique::new(Box::into_raw(box mem::uninitialized::())).expect("REASON") }, [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `SecBox<_>` [INFO] [stdout] --> src/lib.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let res = SecBox { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | res.memlock(); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 75 | let res: SecBox = SecBox { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/lib.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | let res = ptr::read(*self.inner); [INFO] [stdout] | ^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/lib.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | ptr::write_volatile(*self.inner, mem::zeroed()); [INFO] [stdout] | ^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `ptr_internals` [INFO] [stdout] --> src/lib.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | inner: unsafe { Unique::new(Box::into_raw(from)) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` 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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | inner: unsafe { Unique::new(Box::into_raw(from)) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Unique<_>`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 144 | inner: unsafe { Unique::new(Box::into_raw(from)).expect("REASON") }, [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `SecBox<_>` [INFO] [stdout] --> src/lib.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let res = SecBox { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | res.memlock(); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 143 | let res: SecBox = SecBox { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `Unique` in the current scope [INFO] [stdout] --> src/lib.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | unsafe { self.inner.get() } [INFO] [stdout] | ^^^ method not found in `Unique` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `Unique` in the current scope [INFO] [stdout] --> src/lib.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | unsafe { self.inner.get_mut() } [INFO] [stdout] | ^^^^^^^ method not found in `Unique` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/lib.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | ptr::drop_in_place(*self.inner); [INFO] [stdout] | ^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/lib.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | intrinsics::volatile_set_memory(*self.inner as *mut u8, 0, mem::size_of_val(&**self)); [INFO] [stdout] | ^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/lib.rs:191:64 [INFO] [stdout] | [INFO] [stdout] 191 | let _buf = Box::from_raw(slice::from_raw_parts_mut(*self.inner as *mut u8, mem::size_of_val(&**self))); [INFO] [stdout] | ^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0557, E0599, E0614, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `secbox` (lib) due to 20 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "98796ac5125b62af763ce7f5dc98ff4991bc087af1405b774850d151cd1bd7b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98796ac5125b62af763ce7f5dc98ff4991bc087af1405b774850d151cd1bd7b7", kill_on_drop: false }` [INFO] [stdout] 98796ac5125b62af763ce7f5dc98ff4991bc087af1405b774850d151cd1bd7b7