[INFO] fetching crate c_str 1.0.8...
[INFO] checking c_str-1.0.8 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate c_str 1.0.8 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate c_str 1.0.8 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: path `/workspace/builds/worker-3-tc1/source/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 896d2a36610a7786b817a944b3c59759fe44212ce83aab39caeac7abba90421c
[INFO] running `Command { std: "docker" "start" "-a" "896d2a36610a7786b817a944b3c59759fe44212ce83aab39caeac7abba90421c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "896d2a36610a7786b817a944b3c59759fe44212ce83aab39caeac7abba90421c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "896d2a36610a7786b817a944b3c59759fe44212ce83aab39caeac7abba90421c", kill_on_drop: false }`
[INFO] [stdout] 896d2a36610a7786b817a944b3c59759fe44212ce83aab39caeac7abba90421c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9b1f8f761b2d952ccc070ef4b2e32a73e2301821e4040b09f376058221ae98ba
[INFO] running `Command { std: "docker" "start" "-a" "9b1f8f761b2d952ccc070ef4b2e32a73e2301821e4040b09f376058221ae98ba", kill_on_drop: false }`
[INFO] [stderr] warning: path `/opt/rustwide/workdir/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]     Checking 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[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] warning: the item `String` is imported redundantly
[INFO] [stdout]   --> src/c_str.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | use std::string::String;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `String` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `String` is imported redundantly
[INFO] [stdout]   --> src/c_str.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | use std::string::String;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `String` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/c_str.rs:376:9
[INFO] [stdout]     |
[INFO] [stdout] 374 |     use super::*;
[INFO] [stdout]     |         -------- the item `libc` is already imported here
[INFO] [stdout] 375 |     use std::thread::Thread;
[INFO] [stdout] 376 |     use libc;
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `CString` is imported redundantly
[INFO] [stdout]    --> src/c_str.rs:378:9
[INFO] [stdout]     |
[INFO] [stdout] 374 |     use super::*;
[INFO] [stdout]     |         -------- the item `CString` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 378 |     use std::ffi::CString;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/c_str.rs:600:7
[INFO] [stdout]     |
[INFO] [stdout] 600 |     #[bench]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: `#[deny(soft_unstable)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/c_str.rs:605:7
[INFO] [stdout]     |
[INFO] [stdout] 605 |     #[bench]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/c_str.rs:610:7
[INFO] [stdout]     |
[INFO] [stdout] 610 |     #[bench]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/c_str.rs:622:7
[INFO] [stdout]     |
[INFO] [stdout] 622 |     #[bench]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/c_str.rs:627:7
[INFO] [stdout]     |
[INFO] [stdout] 627 |     #[bench]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/c_str.rs:632:7
[INFO] [stdout]     |
[INFO] [stdout] 632 |     #[bench]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/c_str.rs:643:7
[INFO] [stdout]     |
[INFO] [stdout] 643 |     #[bench]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/c_str.rs:648:7
[INFO] [stdout]     |
[INFO] [stdout] 648 |     #[bench]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/c_str.rs:653:7
[INFO] [stdout]     |
[INFO] [stdout] 653 |     #[bench]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/c_str.rs:666:7
[INFO] [stdout]     |
[INFO] [stdout] 666 |     #[bench]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/c_str.rs:671:7
[INFO] [stdout]     |
[INFO] [stdout] 671 |     #[bench]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/c_str.rs:676:7
[INFO] [stdout]     |
[INFO] [stdout] 676 |     #[bench]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/c_str.rs:569:9
[INFO] [stdout]     |
[INFO] [stdout] 45  | extern crate libc;
[INFO] [stdout]     | ------------------ the item `libc` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 569 |     use libc;
[INFO] [stdout]     |         ^^^^
[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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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: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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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: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 2024-03-14; 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: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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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[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 2024-03-14; consider upgrading it if it is out of date
[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[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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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 2024-03-14; 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:376:9
[INFO] [stdout]     |
[INFO] [stdout] 376 |     use 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 2024-03-14; 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:387:59
[INFO] [stdout]     |
[INFO] [stdout] 387 |             let result = from_c_multistring(ptr as *const libc::c_char, None, |c| {
[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 2024-03-14; 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:406:47
[INFO] [stdout]     |
[INFO] [stdout] 406 |             assert_eq!(*buf.offset(0), 'h' 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 2024-03-14; 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:407:47
[INFO] [stdout]     |
[INFO] [stdout] 407 |             assert_eq!(*buf.offset(1), 'e' 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 2024-03-14; 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:408:47
[INFO] [stdout]     |
[INFO] [stdout] 408 |             assert_eq!(*buf.offset(2), 'l' 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 2024-03-14; 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:409:47
[INFO] [stdout]     |
[INFO] [stdout] 409 |             assert_eq!(*buf.offset(3), 'l' 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 2024-03-14; 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:410:47
[INFO] [stdout]     |
[INFO] [stdout] 410 |             assert_eq!(*buf.offset(4), 'o' 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 2024-03-14; 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:426:47
[INFO] [stdout]     |
[INFO] [stdout] 426 |             assert_eq!(*buf.offset(0), 'h' 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 2024-03-14; 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:427:47
[INFO] [stdout]     |
[INFO] [stdout] 427 |             assert_eq!(*buf.offset(1), 'e' 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 2024-03-14; 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:428:47
[INFO] [stdout]     |
[INFO] [stdout] 428 |             assert_eq!(*buf.offset(2), 'l' 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 2024-03-14; 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:429:47
[INFO] [stdout]     |
[INFO] [stdout] 429 |             assert_eq!(*buf.offset(3), 'l' 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 2024-03-14; 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:430:47
[INFO] [stdout]     |
[INFO] [stdout] 430 |             assert_eq!(*buf.offset(4), 'o' 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 2024-03-14; 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:437:47
[INFO] [stdout]     |
[INFO] [stdout] 437 |             assert_eq!(*buf.offset(0), 'f' 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 2024-03-14; 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:438:47
[INFO] [stdout]     |
[INFO] [stdout] 438 |             assert_eq!(*buf.offset(1), 'o' 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 2024-03-14; 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:439:47
[INFO] [stdout]     |
[INFO] [stdout] 439 |             assert_eq!(*buf.offset(2), 'o' 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 2024-03-14; 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:440:50
[INFO] [stdout]     |
[INFO] [stdout] 440 |             assert_eq!(*buf.offset(3), 0xffu8 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 2024-03-14; 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:448:18
[INFO] [stdout]     |
[INFO] [stdout] 448 |         unsafe { libc::free(c_str.into_inner() as *mut libc::c_void) }
[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 2024-03-14; 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:448:56
[INFO] [stdout]     |
[INFO] [stdout] 448 |         unsafe { libc::free(c_str.into_inner() as *mut libc::c_void) }
[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 2024-03-14; 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:454:28
[INFO] [stdout]     |
[INFO] [stdout] 454 |         let len = unsafe { libc::strlen(c_str.as_ptr()) };
[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 2024-03-14; 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:466:45
[INFO] [stdout]     |
[INFO] [stdout] 466 |         assert_eq!(iter.next(), Some('h' 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 2024-03-14; 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:467:45
[INFO] [stdout]     |
[INFO] [stdout] 467 |         assert_eq!(iter.next(), Some('e' 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 2024-03-14; 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:468:45
[INFO] [stdout]     |
[INFO] [stdout] 468 |         assert_eq!(iter.next(), Some('l' 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 2024-03-14; 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:469:45
[INFO] [stdout]     |
[INFO] [stdout] 469 |         assert_eq!(iter.next(), Some('l' 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 2024-03-14; 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:470:45
[INFO] [stdout]     |
[INFO] [stdout] 470 |         assert_eq!(iter.next(), Some('o' 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 2024-03-14; 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:484:47
[INFO] [stdout]     |
[INFO] [stdout] 484 |             assert_eq!(*buf.offset(0), 'h' 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 2024-03-14; 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:485:47
[INFO] [stdout]     |
[INFO] [stdout] 485 |             assert_eq!(*buf.offset(1), 'e' 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 2024-03-14; 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:487:47
[INFO] [stdout]     |
[INFO] [stdout] 487 |             assert_eq!(*buf.offset(3), 'l' 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 2024-03-14; 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:488:47
[INFO] [stdout]     |
[INFO] [stdout] 488 |             assert_eq!(*buf.offset(4), 'l' 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 2024-03-14; 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:489:47
[INFO] [stdout]     |
[INFO] [stdout] 489 |             assert_eq!(*buf.offset(5), 'o' 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 2024-03-14; 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:547:48
[INFO] [stdout]     |
[INFO] [stdout] 547 |             unsafe { *c_.as_mut_ptr() = 'X' 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 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:565:5
[INFO] [stdout]     |
[INFO] [stdout] 565 |     extern crate test;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:568:9
[INFO] [stdout]     |
[INFO] [stdout] 568 |     use self::test::Bencher;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; 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:569:9
[INFO] [stdout]     |
[INFO] [stdout] 569 |     use 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 2024-03-14; 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:572:37
[INFO] [stdout]     |
[INFO] [stdout] 572 |     fn check(s: &str, c_str: *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 2024-03-14; 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:577:50
[INFO] [stdout]     |
[INFO] [stdout] 577 |                     *s_buf.offset(i as isize) 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 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:593:32
[INFO] [stdout]     |
[INFO] [stdout] 593 |     fn bench_to_string(b: &mut Bencher, s: &str) {
[INFO] [stdout]     |                                ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:601:37
[INFO] [stdout]     |
[INFO] [stdout] 601 |     fn bench_to_c_str_short(b: &mut Bencher) {
[INFO] [stdout]     |                                     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:606:38
[INFO] [stdout]     |
[INFO] [stdout] 606 |     fn bench_to_c_str_medium(b: &mut Bencher) {
[INFO] [stdout]     |                                      ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:611:36
[INFO] [stdout]     |
[INFO] [stdout] 611 |     fn bench_to_c_str_long(b: &mut Bencher) {
[INFO] [stdout]     |                                    ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:615:41
[INFO] [stdout]     |
[INFO] [stdout] 615 |     fn bench_to_c_str_unchecked(b: &mut Bencher, s: &str) {
[INFO] [stdout]     |                                         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:623:47
[INFO] [stdout]     |
[INFO] [stdout] 623 |     fn bench_to_c_str_unchecked_short(b: &mut Bencher) {
[INFO] [stdout]     |                                               ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:628:48
[INFO] [stdout]     |
[INFO] [stdout] 628 |     fn bench_to_c_str_unchecked_medium(b: &mut Bencher) {
[INFO] [stdout]     |                                                ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:633:46
[INFO] [stdout]     |
[INFO] [stdout] 633 |     fn bench_to_c_str_unchecked_long(b: &mut Bencher) {
[INFO] [stdout]     |                                              ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:637:33
[INFO] [stdout]     |
[INFO] [stdout] 637 |     fn bench_with_c_str(b: &mut Bencher, s: &str) {
[INFO] [stdout]     |                                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:644:39
[INFO] [stdout]     |
[INFO] [stdout] 644 |     fn bench_with_c_str_short(b: &mut Bencher) {
[INFO] [stdout]     |                                       ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:649:40
[INFO] [stdout]     |
[INFO] [stdout] 649 |     fn bench_with_c_str_medium(b: &mut Bencher) {
[INFO] [stdout]     |                                        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:654:38
[INFO] [stdout]     |
[INFO] [stdout] 654 |     fn bench_with_c_str_long(b: &mut Bencher) {
[INFO] [stdout]     |                                      ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:658:43
[INFO] [stdout]     |
[INFO] [stdout] 658 |     fn bench_with_c_str_unchecked(b: &mut Bencher, s: &str) {
[INFO] [stdout]     |                                           ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:667:49
[INFO] [stdout]     |
[INFO] [stdout] 667 |     fn bench_with_c_str_unchecked_short(b: &mut Bencher) {
[INFO] [stdout]     |                                                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:672:50
[INFO] [stdout]     |
[INFO] [stdout] 672 |     fn bench_with_c_str_unchecked_medium(b: &mut Bencher) {
[INFO] [stdout]     |                                                  ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:677:48
[INFO] [stdout]     |
[INFO] [stdout] 677 |     fn bench_with_c_str_unchecked_long(b: &mut Bencher) {
[INFO] [stdout]     |                                                ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; 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 4 others
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/vec/mod.rs:422:5
[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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/vec/mod.rs:603:5
[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 4 others
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/vec/mod.rs:422:5
[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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/vec/mod.rs:603:5
[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 4 others
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/vec/mod.rs:422:5
[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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/vec/mod.rs:603:5
[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 4 others
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/vec/mod.rs:422:5
[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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/vec/mod.rs:603:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 33 previous errors; 3 warnings emitted
[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 34 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `as_bytes_no_nul` found for reference `&CString` in the current scope
[INFO] [stdout]    --> src/c_str.rs:388:32
[INFO] [stdout]     |
[INFO] [stdout] 388 |                 let cbytes = c.as_bytes_no_nul();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 388 |                 let cbytes = c.as_bytes();
[INFO] [stdout]     |                                ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: method `into_inner` is private
[INFO] [stdout]    --> src/c_str.rs:448:35
[INFO] [stdout]     |
[INFO] [stdout] 448 |         unsafe { libc::free(c_str.into_inner() as *mut libc::c_void) }
[INFO] [stdout]     |                                   ^^^^^^^^^^ private method
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/ffi/c_str.rs:606:5
[INFO] [stdout]     |
[INFO] [stdout]     = note: private method defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `CString` in the current scope
[INFO] [stdout]    --> src/c_str.rs:461:30
[INFO] [stdout]     |
[INFO] [stdout] 461 |         let mut iter = c_str.iter();
[INFO] [stdout]     |                              ^^^^ method not found in `CString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `CString` in the current scope
[INFO] [stdout]    --> src/c_str.rs:465:30
[INFO] [stdout]     |
[INFO] [stdout] 465 |         let mut iter = c_str.iter();
[INFO] [stdout]     |                              ^^^^ method not found in `CString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope
[INFO] [stdout]    --> src/c_str.rs:476:25
[INFO] [stdout]     |
[INFO] [stdout] 476 |         assert!(Thread::spawn(move|| { "he\x00llo".to_c_str() }).join().is_err());
[INFO] [stdout]     |                         ^^^^^ function or associated item not found in `Thread`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Thread`, consider using `Thread::new` which returns `Thread`
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/thread/mod.rs:1274:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_bytes_no_nul` found for struct `CString` in the current scope
[INFO] [stdout]    --> src/c_str.rs:507:26
[INFO] [stdout]     |
[INFO] [stdout] 507 |         assert_eq!(c_str.as_bytes_no_nul(), b"hello");
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 507 |         assert_eq!(c_str.as_bytes(), b"hello");
[INFO] [stdout]     |                          ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_bytes_no_nul` found for struct `CString` in the current scope
[INFO] [stdout]    --> src/c_str.rs:510:26
[INFO] [stdout]     |
[INFO] [stdout] 510 |         assert_eq!(c_str.as_bytes_no_nul(), exp);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 510 |         assert_eq!(c_str.as_bytes(), exp);
[INFO] [stdout]     |                          ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_bytes_no_nul` found for struct `CString` in the current scope
[INFO] [stdout]    --> src/c_str.rs:512:26
[INFO] [stdout]     |
[INFO] [stdout] 512 |         assert_eq!(c_str.as_bytes_no_nul(), b"foo\xFF");
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 512 |         assert_eq!(c_str.as_bytes(), b"foo\xFF");
[INFO] [stdout]     |                          ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_str` found for struct `CString` in the current scope
[INFO] [stdout]    --> src/c_str.rs:518:26
[INFO] [stdout]     |
[INFO] [stdout] 518 |         assert_eq!(c_str.as_str(), Some("hello"));
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_ptr` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 518 |         assert_eq!(c_str.as_ptr(), Some("hello"));
[INFO] [stdout]     |                          ~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_str` found for struct `CString` in the current scope
[INFO] [stdout]    --> src/c_str.rs:520:26
[INFO] [stdout]     |
[INFO] [stdout] 520 |         assert_eq!(c_str.as_str(), Some(""));
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_ptr` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 520 |         assert_eq!(c_str.as_ptr(), Some(""));
[INFO] [stdout]     |                          ~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_str` found for struct `CString` in the current scope
[INFO] [stdout]    --> src/c_str.rs:522:26
[INFO] [stdout]     |
[INFO] [stdout] 522 |         assert_eq!(c_str.as_str(), None);
[INFO] [stdout]     |                          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_ptr` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 522 |         assert_eq!(c_str.as_ptr(), None);
[INFO] [stdout]     |                          ~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Vec<u8>: From<*const _>` is not satisfied
[INFO] [stdout]    --> src/c_str.rs:528:44
[INFO] [stdout]     |
[INFO] [stdout] 528 |         let _c_str = unsafe { CString::new(ptr::null(), false) };
[INFO] [stdout]     |                               ------------ ^^^^^^^^^^^ the trait `From<*const _>` is not implemented for `Vec<u8>`, which is required by `*const _: Into<Vec<u8>>`
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <Vec<u8> as From<CString>>
[INFO] [stdout]               <Vec<u8> as From<String>>
[INFO] [stdout]               <Vec<u8> as From<&str>>
[INFO] [stdout]     = note: required for `*const _` to implement `Into<Vec<u8>>`
[INFO] [stdout] note: required by a bound in `CString::new`
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/ffi/c_str.rs:263:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> src/c_str.rs:528:31
[INFO] [stdout]     |
[INFO] [stdout] 528 |         let _c_str = unsafe { CString::new(ptr::null(), false) };
[INFO] [stdout]     |                               ^^^^^^^^^^^^            -------
[INFO] [stdout]     |                                                       | |
[INFO] [stdout]     |                                                       | unexpected argument of type `bool`
[INFO] [stdout]     |                                                       help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/ffi/c_str.rs:263:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Vec<u8>: From<*const i8>` is not satisfied
[INFO] [stdout]    --> src/c_str.rs:544:48
[INFO] [stdout]     |
[INFO] [stdout] 544 |             let mut c_ = unsafe { CString::new(c.as_ptr(), false) };
[INFO] [stdout]     |                                   ------------ ^^^^^^^^^^ the trait `From<*const i8>` is not implemented for `Vec<u8>`, which is required by `*const i8: Into<Vec<u8>>`
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <Vec<u8> as From<CString>>
[INFO] [stdout]               <Vec<u8> as From<String>>
[INFO] [stdout]               <Vec<u8> as From<&str>>
[INFO] [stdout]     = note: required for `*const i8` to implement `Into<Vec<u8>>`
[INFO] [stdout] note: required by a bound in `CString::new`
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/ffi/c_str.rs:263:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> src/c_str.rs:544:35
[INFO] [stdout]     |
[INFO] [stdout] 544 |             let mut c_ = unsafe { CString::new(c.as_ptr(), false) };
[INFO] [stdout]     |                                   ^^^^^^^^^^^^           -------
[INFO] [stdout]     |                                                          | |
[INFO] [stdout]     |                                                          | unexpected argument of type `bool`
[INFO] [stdout]     |                                                          help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/ffi/c_str.rs:263:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/c_str.rs:545:15
[INFO] [stdout]     |
[INFO] [stdout] 545 |             f(&c_);
[INFO] [stdout]     |             - ^^^ expected `&CString`, found `&Result<CString, NulError>`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&CString`
[INFO] [stdout]                found reference `&Result<CString, NulError>`
[INFO] [stdout] note: callable defined here
[INFO] [stdout]    --> src/c_str.rs:540:34
[INFO] [stdout]     |
[INFO] [stdout] 540 |         fn foo<F>(f: F) where F: FnOnce(&CString) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_mut_ptr` found for enum `Result` in the current scope
[INFO] [stdout]    --> src/c_str.rs:547:26
[INFO] [stdout]     |
[INFO] [stdout] 547 |             unsafe { *c_.as_mut_ptr() = 'X' as libc::c_char }
[INFO] [stdout]     |                          ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_mut` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 547 |             unsafe { *c_.as_mut() = 'X' as libc::c_char }
[INFO] [stdout]     |                          ~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:594:11
[INFO] [stdout]     |
[INFO] [stdout] 594 |         b.iter(|| {
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_c_str` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/c_str.rs:595:27
[INFO] [stdout]     |
[INFO] [stdout] 595 |             let c_str = s.to_c_str();
[INFO] [stdout]     |                           ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `with_c_str` with a similar name, but with different arguments
[INFO] [stdout]    --> src/c_str.rs:92:5
[INFO] [stdout]     |
[INFO] [stdout] 92  | /     fn with_c_str<T, F>(&self, f: F) -> T where
[INFO] [stdout] 93  | |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stdout]     | |____________________________________________^
[INFO] [stdout] help: trait `ToCStr` which provides `to_c_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 565 +     use ToCStr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:616:11
[INFO] [stdout]     |
[INFO] [stdout] 616 |         b.iter(|| {
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_c_str_unchecked` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/c_str.rs:617:36
[INFO] [stdout]     |
[INFO] [stdout] 617 |             let c_str = unsafe { s.to_c_str_unchecked() };
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `with_c_str_unchecked` with a similar name, but with different arguments
[INFO] [stdout]    --> src/c_str.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout] 101 | /     unsafe fn with_c_str_unchecked<T, F>(&self, f: F) -> T where
[INFO] [stdout] 102 | |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stdout]     | |____________________________________________^
[INFO] [stdout] help: trait `ToCStr` which provides `to_c_str_unchecked` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 565 +     use ToCStr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:638:11
[INFO] [stdout]     |
[INFO] [stdout] 638 |         b.iter(|| {
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `with_c_str` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/c_str.rs:639:15
[INFO] [stdout]     |
[INFO] [stdout] 639 |             s.with_c_str(|c_str_buf| check(s, c_str_buf))
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ToCStr` which provides `with_c_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 565 +     use ToCStr;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `with_c_str_unchecked` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 639 |             s.with_c_str_unchecked(|c_str_buf| check(s, c_str_buf))
[INFO] [stdout]     |               ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]    --> src/c_str.rs:659:11
[INFO] [stdout]     |
[INFO] [stdout] 659 |         b.iter(|| {
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `with_c_str_unchecked` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/c_str.rs:661:19
[INFO] [stdout]     |
[INFO] [stdout] 661 |                 s.with_c_str_unchecked(|c_str_buf| check(s, c_str_buf))
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `ToCStr` which provides `with_c_str_unchecked` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 565 +     use ToCStr;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `with_c_str` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 661 |                 s.with_c_str(|c_str_buf| check(s, c_str_buf))
[INFO] [stdout]     |                   ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 121 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0433, E0599, E0624, E0635, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `c_str` (lib test) due to 134 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9b1f8f761b2d952ccc070ef4b2e32a73e2301821e4040b09f376058221ae98ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b1f8f761b2d952ccc070ef4b2e32a73e2301821e4040b09f376058221ae98ba", kill_on_drop: false }`
[INFO] [stdout] 9b1f8f761b2d952ccc070ef4b2e32a73e2301821e4040b09f376058221ae98ba
