[INFO] fetching crate c_str 1.0.8...
[INFO] testing c_str-1.0.8 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate c_str 1.0.8 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate c_str 1.0.8
[INFO] finished tweaking crates.io crate c_str 1.0.8
[INFO] tweaked toml for crates.io crate c_str 1.0.8 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate c_str 1.0.8 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: path `src/c_str.rs` was erroneously implicitly accepted for library `c_str`,
[INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml
[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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4f32e31a32afd8f449a60970677664469af20643232e0f7255580bd59ecfd602
[INFO] running `Command { std: "docker" "start" "-a" "4f32e31a32afd8f449a60970677664469af20643232e0f7255580bd59ecfd602", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f32e31a32afd8f449a60970677664469af20643232e0f7255580bd59ecfd602", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f32e31a32afd8f449a60970677664469af20643232e0f7255580bd59ecfd602", kill_on_drop: false }`
[INFO] [stdout] 4f32e31a32afd8f449a60970677664469af20643232e0f7255580bd59ecfd602
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cbae42af9c256d26a5f5cc1540d2a7f5a44d75605f52345e6736f727abe82fee
[INFO] running `Command { std: "docker" "start" "-a" "cbae42af9c256d26a5f5cc1540d2a7f5a44d75605f52345e6736f727abe82fee", kill_on_drop: false }`
[INFO] [stderr] warning: path `src/c_str.rs` was erroneously implicitly accepted for library `c_str`,
[INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling c_str v1.0.8 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `bytes` in `slice`
[INFO] [stdout]    --> src/c_str.rs:278:16
[INFO] [stdout]     |
[INFO] [stdout] 278 |         slice::bytes::copy_memory(&mut buf, copy_.as_mut_slice());
[INFO] [stdout]     |                ^^^^^ could not find `bytes` in `slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/c_str.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | extern crate libc;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:273:22
[INFO] [stdout]     |
[INFO] [stdout] 273 |     F: FnOnce(*const libc::c_char) -> T,
[INFO] [stdout]     |                      ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; 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/c_str.rs:276:43
[INFO] [stdout]     |
[INFO] [stdout] 276 |         let mut buf: [u8; BUF_LEN] = 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 `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:283:43
[INFO] [stdout]     |
[INFO] [stdout] 283 |             check_for_null(v, buf as *mut libc::c_char);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:286:32
[INFO] [stdout]     |
[INFO] [stdout] 286 |         return f(buf as *const libc::c_char)
[INFO] [stdout]     |                                ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:297:39
[INFO] [stdout]     |
[INFO] [stdout] 297 | fn check_for_null(v: &[u8], buf: *mut libc::c_char) {
[INFO] [stdout]     |                                       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:338:49
[INFO] [stdout]     |
[INFO] [stdout] 338 | pub unsafe fn from_c_multistring<F>(buf: *const libc::c_char,
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:352:35
[INFO] [stdout]     |
[INFO] [stdout] 352 |           && *(curr_ptr as *const libc::c_char) != 0 as libc::c_char {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:352:57
[INFO] [stdout]     |
[INFO] [stdout] 352 |           && *(curr_ptr as *const libc::c_char) != 0 as libc::c_char {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; 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/c_str.rs:357:29
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let tmp : u8 = *::std::intrinsics::offset(curr_ptr as *const libc::c_uchar, decal);
[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-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:357:74
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let tmp : u8 = *::std::intrinsics::offset(curr_ptr as *const libc::c_uchar, decal);
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/c_str.rs:54:40
[INFO] [stdout]    |
[INFO] [stdout] 54 |     unsafe fn from_c_str(c_str: *const libc::c_char) -> Self;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/c_str.rs:93:26
[INFO] [stdout]    |
[INFO] [stdout] 93 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stdout]    |                          ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:102:26
[INFO] [stdout]     |
[INFO] [stdout] 102 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stdout]     |                          ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:122:26
[INFO] [stdout]     |
[INFO] [stdout] 122 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stdout]     |                          ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:129:26
[INFO] [stdout]     |
[INFO] [stdout] 129 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stdout]     |                          ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:148:26
[INFO] [stdout]     |
[INFO] [stdout] 148 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stdout]     |                          ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:155:26
[INFO] [stdout]     |
[INFO] [stdout] 155 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stdout]     |                          ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:163:40
[INFO] [stdout]     |
[INFO] [stdout] 163 |     unsafe fn from_c_str(c_str: *const libc::c_char) -> String {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; 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/c_str.rs:167:23
[INFO] [stdout]     |
[INFO] [stdout] 167 |             let tmp = ::std::intrinsics::offset(c_str, count);
[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-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:185:46
[INFO] [stdout]     |
[INFO] [stdout] 185 |         FromCStr::from_c_str(c_str as *const libc::c_char)
[INFO] [stdout]     |                                              ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:191:40
[INFO] [stdout]     |
[INFO] [stdout] 191 |     unsafe fn from_c_str(c_str: *const libc::c_char) -> CString {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; 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/c_str.rs:195:23
[INFO] [stdout]     |
[INFO] [stdout] 195 |             let tmp = ::std::intrinsics::offset(c_str, count);
[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-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:213:46
[INFO] [stdout]     |
[INFO] [stdout] 213 |         FromCStr::from_c_str(c_str as *const libc::c_char)
[INFO] [stdout]     |                                              ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:224:50
[INFO] [stdout]     |
[INFO] [stdout] 224 |         check_for_null(self, cs.as_ptr() as *mut libc::c_char);
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:233:26
[INFO] [stdout]     |
[INFO] [stdout] 233 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stdout]     |                          ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:239:26
[INFO] [stdout]     |
[INFO] [stdout] 239 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stdout]     |                          ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:258:26
[INFO] [stdout]     |
[INFO] [stdout] 258 |         F: FnOnce(*const libc::c_char) -> U,
[INFO] [stdout]     |                          ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]    --> src/c_str.rs:265:26
[INFO] [stdout]     |
[INFO] [stdout] 265 |         F: FnOnce(*const libc::c_char) -> U,
[INFO] [stdout]     |                          ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[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/c_str.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | #![feature(core, collections, libc, convert)]
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `convert`
[INFO] [stdout]   --> src/c_str.rs:43:37
[INFO] [stdout]    |
[INFO] [stdout] 43 | #![feature(core, collections, libc, convert)]
[INFO] [stdout]    |                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `collections`
[INFO] [stdout]   --> src/c_str.rs:43:18
[INFO] [stdout]    |
[INFO] [stdout] 43 | #![feature(core, collections, libc, convert)]
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_raw_buf` found for struct `Vec<_, _>` in the current scope
[INFO] [stdout]    --> src/c_str.rs:177:36
[INFO] [stdout]     |
[INFO] [stdout] 177 |             let v : Vec<u8> = Vec::from_raw_buf(c_str as *const u8, count as usize);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ function or associated item not found in `Vec<_, _>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions:
[INFO] [stdout]       Vec::<T>::new
[INFO] [stdout]       Vec::<T>::with_capacity
[INFO] [stdout]       Vec::<T>::try_with_capacity
[INFO] [stdout]       Vec::<T>::from_raw_parts
[INFO] [stdout]       and 6 others
[INFO] [stdout]    --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/vec/mod.rs:459:4
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `FromCStr` defines an item `from_raw_buf`, perhaps you need to implement it
[INFO] [stdout]    --> src/c_str.rs:52:1
[INFO] [stdout]     |
[INFO] [stdout]  52 | pub trait FromCStr {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `from_raw_parts` with a similar name
[INFO] [stdout]    --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/vec/mod.rs:646:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_raw_buf` found for struct `Vec<_, _>` in the current scope
[INFO] [stdout]    --> src/c_str.rs:205:36
[INFO] [stdout]     |
[INFO] [stdout] 205 |             let v : Vec<u8> = Vec::from_raw_buf(c_str as *const u8, count as usize);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ function or associated item not found in `Vec<_, _>`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions:
[INFO] [stdout]       Vec::<T>::new
[INFO] [stdout]       Vec::<T>::with_capacity
[INFO] [stdout]       Vec::<T>::try_with_capacity
[INFO] [stdout]       Vec::<T>::from_raw_parts
[INFO] [stdout]       and 6 others
[INFO] [stdout]    --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/vec/mod.rs:459:4
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `FromCStr` defines an item `from_raw_buf`, perhaps you need to implement it
[INFO] [stdout]    --> src/c_str.rs:52:1
[INFO] [stdout]     |
[INFO] [stdout]  52 | pub trait FromCStr {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `from_raw_parts` with a similar name
[INFO] [stdout]    --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/vec/mod.rs:646:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0635, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `c_str` (lib) due to 33 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cbae42af9c256d26a5f5cc1540d2a7f5a44d75605f52345e6736f727abe82fee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cbae42af9c256d26a5f5cc1540d2a7f5a44d75605f52345e6736f727abe82fee", kill_on_drop: false }`
[INFO] [stdout] cbae42af9c256d26a5f5cc1540d2a7f5a44d75605f52345e6736f727abe82fee
