[INFO] crate c_str 1.0.8 is already in cache
[INFO] checking c_str-1.0.8 against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] extracting crate c_str 1.0.8 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate c_str 1.0.8 on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[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/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: path `/workspace/builds/worker-3/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 `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 168157cc02bda8b4e899b05650234fc8b6e4c6ccb13c414ef65e4782d0c43118
[INFO] running `"docker" "start" "-a" "168157cc02bda8b4e899b05650234fc8b6e4c6ccb13c414ef65e4782d0c43118"`
[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] [stderr] error[E0433]: failed to resolve: could not find `bytes` in `slice`
[INFO] [stderr]    --> src/c_str.rs:278:16
[INFO] [stderr]     |
[INFO] [stderr] 278 |         slice::bytes::copy_memory(&mut buf, copy_.as_mut_slice());
[INFO] [stderr]     |                ^^^^^ could not find `bytes` in `slice`
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]   --> src/c_str.rs:45:1
[INFO] [stderr]    |
[INFO] [stderr] 45 | extern crate libc;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:273:22
[INFO] [stderr]     |
[INFO] [stderr] 273 |     F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                      ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stderr]    --> src/c_str.rs:276:38
[INFO] [stderr]     |
[INFO] [stderr] 276 |         let mut buf: [u8; BUF_LEN] = mem::uninitialized();
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:283:43
[INFO] [stderr]     |
[INFO] [stderr] 283 |             check_for_null(v, buf as *mut libc::c_char);
[INFO] [stderr]     |                                           ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:286:32
[INFO] [stderr]     |
[INFO] [stderr] 286 |         return f(buf as *const libc::c_char)
[INFO] [stderr]     |                                ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:297:39
[INFO] [stderr]     |
[INFO] [stderr] 297 | fn check_for_null(v: &[u8], buf: *mut libc::c_char) {
[INFO] [stderr]     |                                       ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:338:49
[INFO] [stderr]     |
[INFO] [stderr] 338 | pub unsafe fn from_c_multistring<F>(buf: *const libc::c_char,
[INFO] [stderr]     |                                                 ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:352:35
[INFO] [stderr]     |
[INFO] [stderr] 352 |           && *(curr_ptr as *const libc::c_char) != 0 as libc::c_char {
[INFO] [stderr]     |                                   ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:352:57
[INFO] [stderr]     |
[INFO] [stderr] 352 |           && *(curr_ptr as *const libc::c_char) != 0 as libc::c_char {
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:357:29
[INFO] [stderr]     |
[INFO] [stderr] 357 |             let tmp : u8 = *::std::intrinsics::offset(curr_ptr as *const libc::c_uchar, decal);
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:357:74
[INFO] [stderr]     |
[INFO] [stderr] 357 |             let tmp : u8 = *::std::intrinsics::offset(curr_ptr as *const libc::c_uchar, decal);
[INFO] [stderr]     |                                                                          ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]   --> src/c_str.rs:54:40
[INFO] [stderr]    |
[INFO] [stderr] 54 |     unsafe fn from_c_str(c_str: *const libc::c_char) -> Self;
[INFO] [stderr]    |                                        ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]   --> src/c_str.rs:93:26
[INFO] [stderr]    |
[INFO] [stderr] 93 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]    |                          ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:102:26
[INFO] [stderr]     |
[INFO] [stderr] 102 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:122:26
[INFO] [stderr]     |
[INFO] [stderr] 122 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:129:26
[INFO] [stderr]     |
[INFO] [stderr] 129 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:148:26
[INFO] [stderr]     |
[INFO] [stderr] 148 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:155:26
[INFO] [stderr]     |
[INFO] [stderr] 155 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:163:40
[INFO] [stderr]     |
[INFO] [stderr] 163 |     unsafe fn from_c_str(c_str: *const libc::c_char) -> String {
[INFO] [stderr]     |                                        ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:167:23
[INFO] [stderr]     |
[INFO] [stderr] 167 |             let tmp = ::std::intrinsics::offset(c_str, count);
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:185:46
[INFO] [stderr]     |
[INFO] [stderr] 185 |         FromCStr::from_c_str(c_str as *const libc::c_char)
[INFO] [stderr]     |                                              ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:191:40
[INFO] [stderr]     |
[INFO] [stderr] 191 |     unsafe fn from_c_str(c_str: *const libc::c_char) -> CString {
[INFO] [stderr]     |                                        ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:195:23
[INFO] [stderr]     |
[INFO] [stderr] 195 |             let tmp = ::std::intrinsics::offset(c_str, count);
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:213:46
[INFO] [stderr]     |
[INFO] [stderr] 213 |         FromCStr::from_c_str(c_str as *const libc::c_char)
[INFO] [stderr]     |                                              ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:224:50
[INFO] [stderr]     |
[INFO] [stderr] 224 |         check_for_null(self, cs.as_ptr() as *mut libc::c_char);
[INFO] [stderr]     |                                                  ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:233:26
[INFO] [stderr]     |
[INFO] [stderr] 233 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:239:26
[INFO] [stderr]     |
[INFO] [stderr] 239 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:258:26
[INFO] [stderr]     |
[INFO] [stderr] 258 |         F: FnOnce(*const libc::c_char) -> U,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:265:26
[INFO] [stderr]     |
[INFO] [stderr] 265 |         F: FnOnce(*const libc::c_char) -> U,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `bytes` in `slice`
[INFO] [stderr]    --> src/c_str.rs:278:16
[INFO] [stderr]     |
[INFO] [stderr] 278 |         slice::bytes::copy_memory(&mut buf, copy_.as_mut_slice());
[INFO] [stderr]     |                ^^^^^ could not find `bytes` in `slice`
[INFO] [stderr] 
[INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stderr]    --> src/c_str.rs:600:7
[INFO] [stderr]     |
[INFO] [stderr] 600 |     #[bench]
[INFO] [stderr]     |       ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[deny(soft_unstable)]` on by default
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stderr] 
[INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stderr]    --> src/c_str.rs:605:7
[INFO] [stderr]     |
[INFO] [stderr] 605 |     #[bench]
[INFO] [stderr]     |       ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stderr] 
[INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stderr]    --> src/c_str.rs:610:7
[INFO] [stderr]     |
[INFO] [stderr] 610 |     #[bench]
[INFO] [stderr]     |       ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stderr] 
[INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stderr]    --> src/c_str.rs:622:7
[INFO] [stderr]     |
[INFO] [stderr] 622 |     #[bench]
[INFO] [stderr]     |       ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stderr] 
[INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stderr]    --> src/c_str.rs:627:7
[INFO] [stderr]     |
[INFO] [stderr] 627 |     #[bench]
[INFO] [stderr]     |       ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stderr] 
[INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stderr]    --> src/c_str.rs:632:7
[INFO] [stderr]     |
[INFO] [stderr] 632 |     #[bench]
[INFO] [stderr]     |       ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stderr] 
[INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stderr]    --> src/c_str.rs:643:7
[INFO] [stderr]     |
[INFO] [stderr] 643 |     #[bench]
[INFO] [stderr]     |       ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stderr] 
[INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stderr]    --> src/c_str.rs:648:7
[INFO] [stderr]     |
[INFO] [stderr] 648 |     #[bench]
[INFO] [stderr]     |       ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stderr] 
[INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stderr]    --> src/c_str.rs:653:7
[INFO] [stderr]     |
[INFO] [stderr] 653 |     #[bench]
[INFO] [stderr]     |       ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stderr] 
[INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stderr]    --> src/c_str.rs:666:7
[INFO] [stderr]     |
[INFO] [stderr] 666 |     #[bench]
[INFO] [stderr]     |       ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stderr] 
[INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stderr]    --> src/c_str.rs:671:7
[INFO] [stderr]     |
[INFO] [stderr] 671 |     #[bench]
[INFO] [stderr]     |       ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stderr] 
[INFO] [stderr] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stderr]    --> src/c_str.rs:676:7
[INFO] [stderr]     |
[INFO] [stderr] 676 |     #[bench]
[INFO] [stderr]     |       ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_raw_buf` found for struct `std::vec::Vec<_>` in the current scope
[INFO] [stderr]    --> src/c_str.rs:177:36
[INFO] [stderr]     |
[INFO] [stderr] 177 |             let v : Vec<u8> = Vec::from_raw_buf(c_str as *const u8, count as usize);
[INFO] [stderr]     |                                    ^^^^^^^^^^^^ function or associated item not found in `std::vec::Vec<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr] note: `FromCStr` defines an item `from_raw_buf`, perhaps you need to implement it
[INFO] [stderr]    --> src/c_str.rs:52:1
[INFO] [stderr]     |
[INFO] [stderr] 52  | pub trait FromCStr {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]   --> src/c_str.rs:45:1
[INFO] [stderr]    |
[INFO] [stderr] 45 | extern crate libc;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:273:22
[INFO] [stderr]     |
[INFO] [stderr] 273 |     F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                      ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_raw_buf` found for struct `std::vec::Vec<_>` in the current scope
[INFO] [stderr]    --> src/c_str.rs:205:36
[INFO] [stderr]     |
[INFO] [stderr] 205 |             let v : Vec<u8> = Vec::from_raw_buf(c_str as *const u8, count as usize);
[INFO] [stderr]     |                                    ^^^^^^^^^^^^ function or associated item not found in `std::vec::Vec<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr] note: `FromCStr` defines an item `from_raw_buf`, perhaps you need to implement it
[INFO] [stderr]    --> src/c_str.rs:52:1
[INFO] [stderr]     |
[INFO] [stderr] 52  | pub trait FromCStr {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead
[INFO] [stderr]    --> src/c_str.rs:276:38
[INFO] [stderr]     |
[INFO] [stderr] 276 |         let mut buf: [u8; BUF_LEN] = mem::uninitialized();
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:283:43
[INFO] [stderr]     |
[INFO] [stderr] 283 |             check_for_null(v, buf as *mut libc::c_char);
[INFO] [stderr]     |                                           ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:286:32
[INFO] [stderr]     |
[INFO] [stderr] 286 |         return f(buf as *const libc::c_char)
[INFO] [stderr]     |                                ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:297:39
[INFO] [stderr]     |
[INFO] [stderr] 297 | fn check_for_null(v: &[u8], buf: *mut libc::c_char) {
[INFO] [stderr]     |                                       ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:338:49
[INFO] [stderr]     |
[INFO] [stderr] 338 | pub unsafe fn from_c_multistring<F>(buf: *const libc::c_char,
[INFO] [stderr]     |                                                 ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:352:35
[INFO] [stderr]     |
[INFO] [stderr] 352 |           && *(curr_ptr as *const libc::c_char) != 0 as libc::c_char {
[INFO] [stderr]     |                                   ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:352:57
[INFO] [stderr]     |
[INFO] [stderr] 352 |           && *(curr_ptr as *const libc::c_char) != 0 as libc::c_char {
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:357:29
[INFO] [stderr]     |
[INFO] [stderr] 357 |             let tmp : u8 = *::std::intrinsics::offset(curr_ptr as *const libc::c_uchar, decal);
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:357:74
[INFO] [stderr]     |
[INFO] [stderr] 357 |             let tmp : u8 = *::std::intrinsics::offset(curr_ptr as *const libc::c_uchar, decal);
[INFO] [stderr]     |                                                                          ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]   --> src/c_str.rs:54:40
[INFO] [stderr]    |
[INFO] [stderr] 54 |     unsafe fn from_c_str(c_str: *const libc::c_char) -> Self;
[INFO] [stderr]    |                                        ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]   --> src/c_str.rs:93:26
[INFO] [stderr]    |
[INFO] [stderr] 93 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]    |                          ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:102:26
[INFO] [stderr]     |
[INFO] [stderr] 102 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:122:26
[INFO] [stderr]     |
[INFO] [stderr] 122 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:129:26
[INFO] [stderr]     |
[INFO] [stderr] 129 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:148:26
[INFO] [stderr]     |
[INFO] [stderr] 148 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:155:26
[INFO] [stderr]     |
[INFO] [stderr] 155 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:163:40
[INFO] [stderr]     |
[INFO] [stderr] 163 |     unsafe fn from_c_str(c_str: *const libc::c_char) -> String {
[INFO] [stderr]     |                                        ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:167:23
[INFO] [stderr]     |
[INFO] [stderr] 167 |             let tmp = ::std::intrinsics::offset(c_str, count);
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:185:46
[INFO] [stderr]     |
[INFO] [stderr] 185 |         FromCStr::from_c_str(c_str as *const libc::c_char)
[INFO] [stderr]     |                                              ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:191:40
[INFO] [stderr]     |
[INFO] [stderr] 191 |     unsafe fn from_c_str(c_str: *const libc::c_char) -> CString {
[INFO] [stderr]     |                                        ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:195:23
[INFO] [stderr]     |
[INFO] [stderr] 195 |             let tmp = ::std::intrinsics::offset(c_str, count);
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:213:46
[INFO] [stderr]     |
[INFO] [stderr] 213 |         FromCStr::from_c_str(c_str as *const libc::c_char)
[INFO] [stderr]     |                                              ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:224:50
[INFO] [stderr]     |
[INFO] [stderr] 224 |         check_for_null(self, cs.as_ptr() as *mut libc::c_char);
[INFO] [stderr]     |                                                  ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:233:26
[INFO] [stderr]     |
[INFO] [stderr] 233 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:239:26
[INFO] [stderr]     |
[INFO] [stderr] 239 |         F: FnOnce(*const libc::c_char) -> T,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:258:26
[INFO] [stderr]     |
[INFO] [stderr] 258 |         F: FnOnce(*const libc::c_char) -> U,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:265:26
[INFO] [stderr]     |
[INFO] [stderr] 265 |         F: FnOnce(*const libc::c_char) -> U,
[INFO] [stderr]     |                          ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:376:9
[INFO] [stderr]     |
[INFO] [stderr] 376 |     use libc;
[INFO] [stderr]     |         ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:387:59
[INFO] [stderr]     |
[INFO] [stderr] 387 |             let result = from_c_multistring(ptr as *const libc::c_char, None, |c| {
[INFO] [stderr]     |                                                           ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:406:47
[INFO] [stderr]     |
[INFO] [stderr] 406 |             assert_eq!(*buf.offset(0), 'h' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:407:47
[INFO] [stderr]     |
[INFO] [stderr] 407 |             assert_eq!(*buf.offset(1), 'e' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:408:47
[INFO] [stderr]     |
[INFO] [stderr] 408 |             assert_eq!(*buf.offset(2), 'l' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:409:47
[INFO] [stderr]     |
[INFO] [stderr] 409 |             assert_eq!(*buf.offset(3), 'l' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:410:47
[INFO] [stderr]     |
[INFO] [stderr] 410 |             assert_eq!(*buf.offset(4), 'o' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:426:47
[INFO] [stderr]     |
[INFO] [stderr] 426 |             assert_eq!(*buf.offset(0), 'h' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:427:47
[INFO] [stderr]     |
[INFO] [stderr] 427 |             assert_eq!(*buf.offset(1), 'e' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:428:47
[INFO] [stderr]     |
[INFO] [stderr] 428 |             assert_eq!(*buf.offset(2), 'l' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:429:47
[INFO] [stderr]     |
[INFO] [stderr] 429 |             assert_eq!(*buf.offset(3), 'l' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:430:47
[INFO] [stderr]     |
[INFO] [stderr] 430 |             assert_eq!(*buf.offset(4), 'o' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:437:47
[INFO] [stderr]     |
[INFO] [stderr] 437 |             assert_eq!(*buf.offset(0), 'f' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:438:47
[INFO] [stderr]     |
[INFO] [stderr] 438 |             assert_eq!(*buf.offset(1), 'o' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:439:47
[INFO] [stderr]     |
[INFO] [stderr] 439 |             assert_eq!(*buf.offset(2), 'o' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:440:50
[INFO] [stderr]     |
[INFO] [stderr] 440 |             assert_eq!(*buf.offset(3), 0xffu8 as libc::c_char);
[INFO] [stderr]     |                                                  ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:448:18
[INFO] [stderr]     |
[INFO] [stderr] 448 |         unsafe { libc::free(c_str.into_inner() as *mut libc::c_void) }
[INFO] [stderr]     |                  ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:454:28
[INFO] [stderr]     |
[INFO] [stderr] 454 |         let len = unsafe { libc::strlen(c_str.as_ptr()) };
[INFO] [stderr]     |                            ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:466:45
[INFO] [stderr]     |
[INFO] [stderr] 466 |         assert_eq!(iter.next(), Some('h' as libc::c_char));
[INFO] [stderr]     |                                             ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:467:45
[INFO] [stderr]     |
[INFO] [stderr] 467 |         assert_eq!(iter.next(), Some('e' as libc::c_char));
[INFO] [stderr]     |                                             ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:468:45
[INFO] [stderr]     |
[INFO] [stderr] 468 |         assert_eq!(iter.next(), Some('l' as libc::c_char));
[INFO] [stderr]     |                                             ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:469:45
[INFO] [stderr]     |
[INFO] [stderr] 469 |         assert_eq!(iter.next(), Some('l' as libc::c_char));
[INFO] [stderr]     |                                             ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:470:45
[INFO] [stderr]     |
[INFO] [stderr] 470 |         assert_eq!(iter.next(), Some('o' as libc::c_char));
[INFO] [stderr]     |                                             ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:484:47
[INFO] [stderr]     |
[INFO] [stderr] 484 |             assert_eq!(*buf.offset(0), 'h' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:485:47
[INFO] [stderr]     |
[INFO] [stderr] 485 |             assert_eq!(*buf.offset(1), 'e' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:487:47
[INFO] [stderr]     |
[INFO] [stderr] 487 |             assert_eq!(*buf.offset(3), 'l' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:488:47
[INFO] [stderr]     |
[INFO] [stderr] 488 |             assert_eq!(*buf.offset(4), 'l' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:489:47
[INFO] [stderr]     |
[INFO] [stderr] 489 |             assert_eq!(*buf.offset(5), 'o' as libc::c_char);
[INFO] [stderr]     |                                               ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:547:48
[INFO] [stderr]     |
[INFO] [stderr] 547 |             unsafe { *c_.as_mut_ptr() = 'X' as libc::c_char }
[INFO] [stderr]     |                                                ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:565:5
[INFO] [stderr]     |
[INFO] [stderr] 565 |     extern crate test;
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:568:9
[INFO] [stderr]     |
[INFO] [stderr] 568 |     use self::test::Bencher;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:569:9
[INFO] [stderr]     |
[INFO] [stderr] 569 |     use libc;
[INFO] [stderr]     |         ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:572:37
[INFO] [stderr]     |
[INFO] [stderr] 572 |     fn check(s: &str, c_str: *const libc::c_char) {
[INFO] [stderr]     |                                     ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] 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] [stderr]    --> src/c_str.rs:577:50
[INFO] [stderr]     |
[INFO] [stderr] 577 |                     *s_buf.offset(i as isize) as libc::c_char,
[INFO] [stderr]     |                                                  ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]     = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:593:32
[INFO] [stderr]     |
[INFO] [stderr] 593 |     fn bench_to_string(b: &mut Bencher, s: &str) {
[INFO] [stderr]     |                                ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:615:41
[INFO] [stderr]     |
[INFO] [stderr] 615 |     fn bench_to_c_str_unchecked(b: &mut Bencher, s: &str) {
[INFO] [stderr]     |                                         ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:637:33
[INFO] [stderr]     |
[INFO] [stderr] 637 |     fn bench_with_c_str(b: &mut Bencher, s: &str) {
[INFO] [stderr]     |                                 ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:658:43
[INFO] [stderr]     |
[INFO] [stderr] 658 |     fn bench_with_c_str_unchecked(b: &mut Bencher, s: &str) {
[INFO] [stderr]     |                                           ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:601:37
[INFO] [stderr]     |
[INFO] [stderr] 601 |     fn bench_to_c_str_short(b: &mut Bencher) {
[INFO] [stderr]     |                                     ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:606:38
[INFO] [stderr]     |
[INFO] [stderr] 606 |     fn bench_to_c_str_medium(b: &mut Bencher) {
[INFO] [stderr]     |                                      ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:611:36
[INFO] [stderr]     |
[INFO] [stderr] 611 |     fn bench_to_c_str_long(b: &mut Bencher) {
[INFO] [stderr]     |                                    ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:623:47
[INFO] [stderr]     |
[INFO] [stderr] 623 |     fn bench_to_c_str_unchecked_short(b: &mut Bencher) {
[INFO] [stderr]     |                                               ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:628:48
[INFO] [stderr]     |
[INFO] [stderr] 628 |     fn bench_to_c_str_unchecked_medium(b: &mut Bencher) {
[INFO] [stderr]     |                                                ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:633:46
[INFO] [stderr]     |
[INFO] [stderr] 633 |     fn bench_to_c_str_unchecked_long(b: &mut Bencher) {
[INFO] [stderr]     |                                              ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:644:39
[INFO] [stderr]     |
[INFO] [stderr] 644 |     fn bench_with_c_str_short(b: &mut Bencher) {
[INFO] [stderr]     |                                       ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:649:40
[INFO] [stderr]     |
[INFO] [stderr] 649 |     fn bench_with_c_str_medium(b: &mut Bencher) {
[INFO] [stderr]     |                                        ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:654:38
[INFO] [stderr]     |
[INFO] [stderr] 654 |     fn bench_with_c_str_long(b: &mut Bencher) {
[INFO] [stderr]     |                                      ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:667:49
[INFO] [stderr]     |
[INFO] [stderr] 667 |     fn bench_with_c_str_unchecked_short(b: &mut Bencher) {
[INFO] [stderr]     |                                                 ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:672:50
[INFO] [stderr]     |
[INFO] [stderr] 672 |     fn bench_with_c_str_unchecked_medium(b: &mut Bencher) {
[INFO] [stderr]     |                                                  ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:677:48
[INFO] [stderr]     |
[INFO] [stderr] 677 |     fn bench_with_c_str_unchecked_long(b: &mut Bencher) {
[INFO] [stderr]     |                                                ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 31 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0433, E0599, E0658.
[INFO] [stderr] For more information about an error, try `rustc --explain E0433`.
[INFO] [stderr] error: could not compile `c_str`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0599]: no function or associated item named `from_raw_buf` found for struct `std::vec::Vec<_>` in the current scope
[INFO] [stderr]    --> src/c_str.rs:177:36
[INFO] [stderr]     |
[INFO] [stderr] 177 |             let v : Vec<u8> = Vec::from_raw_buf(c_str as *const u8, count as usize);
[INFO] [stderr]     |                                    ^^^^^^^^^^^^ function or associated item not found in `std::vec::Vec<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr] note: `FromCStr` defines an item `from_raw_buf`, perhaps you need to implement it
[INFO] [stderr]    --> src/c_str.rs:52:1
[INFO] [stderr]     |
[INFO] [stderr] 52  | pub trait FromCStr {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_raw_buf` found for struct `std::vec::Vec<_>` in the current scope
[INFO] [stderr]    --> src/c_str.rs:205:36
[INFO] [stderr]     |
[INFO] [stderr] 205 |             let v : Vec<u8> = Vec::from_raw_buf(c_str as *const u8, count as usize);
[INFO] [stderr]     |                                    ^^^^^^^^^^^^ function or associated item not found in `std::vec::Vec<_>`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr] note: `FromCStr` defines an item `from_raw_buf`, perhaps you need to implement it
[INFO] [stderr]    --> src/c_str.rs:52:1
[INFO] [stderr]     |
[INFO] [stderr] 52  | pub trait FromCStr {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_bytes_no_nul` found for reference `&std::ffi::CString` in the current scope
[INFO] [stderr]    --> src/c_str.rs:388:32
[INFO] [stderr]     |
[INFO] [stderr] 388 |                 let cbytes = c.as_bytes_no_nul();
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `as_bytes_with_nul`
[INFO] [stderr] 
[INFO] [stderr] error[E0624]: associated function `into_inner` is private
[INFO] [stderr]    --> src/c_str.rs:448:35
[INFO] [stderr]     |
[INFO] [stderr] 448 |         unsafe { libc::free(c_str.into_inner() as *mut libc::c_void) }
[INFO] [stderr]     |                                   ^^^^^^^^^^ private associated function
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `iter` found for struct `std::ffi::CString` in the current scope
[INFO] [stderr]    --> src/c_str.rs:461:30
[INFO] [stderr]     |
[INFO] [stderr] 461 |         let mut iter = c_str.iter();
[INFO] [stderr]     |                              ^^^^ method not found in `std::ffi::CString`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `iter` found for struct `std::ffi::CString` in the current scope
[INFO] [stderr]    --> src/c_str.rs:465:30
[INFO] [stderr]     |
[INFO] [stderr] 465 |         let mut iter = c_str.iter();
[INFO] [stderr]     |                              ^^^^ method not found in `std::ffi::CString`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `spawn` found for struct `std::thread::Thread` in the current scope
[INFO] [stderr]    --> src/c_str.rs:476:25
[INFO] [stderr]     |
[INFO] [stderr] 476 |         assert!(Thread::spawn(move|| { "he\x00llo".to_c_str() }).join().is_err());
[INFO] [stderr]     |                         ^^^^^ function or associated item not found in `std::thread::Thread`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_bytes_no_nul` found for struct `std::ffi::CString` in the current scope
[INFO] [stderr]    --> src/c_str.rs:507:26
[INFO] [stderr]     |
[INFO] [stderr] 507 |         assert_eq!(c_str.as_bytes_no_nul(), b"hello");
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `as_bytes_with_nul`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_bytes_no_nul` found for struct `std::ffi::CString` in the current scope
[INFO] [stderr]    --> src/c_str.rs:510:26
[INFO] [stderr]     |
[INFO] [stderr] 510 |         assert_eq!(c_str.as_bytes_no_nul(), exp);
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `as_bytes_with_nul`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_bytes_no_nul` found for struct `std::ffi::CString` in the current scope
[INFO] [stderr]    --> src/c_str.rs:512:26
[INFO] [stderr]     |
[INFO] [stderr] 512 |         assert_eq!(c_str.as_bytes_no_nul(), b"foo\xFF");
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `as_bytes_with_nul`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_str` found for struct `std::ffi::CString` in the current scope
[INFO] [stderr]    --> src/c_str.rs:518:26
[INFO] [stderr]     |
[INFO] [stderr] 518 |         assert_eq!(c_str.as_str(), Some("hello"));
[INFO] [stderr]     |                          ^^^^^^ help: there is an associated function with a similar name: `as_ptr`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_str` found for struct `std::ffi::CString` in the current scope
[INFO] [stderr]    --> src/c_str.rs:520:26
[INFO] [stderr]     |
[INFO] [stderr] 520 |         assert_eq!(c_str.as_str(), Some(""));
[INFO] [stderr]     |                          ^^^^^^ help: there is an associated function with a similar name: `as_ptr`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_str` found for struct `std::ffi::CString` in the current scope
[INFO] [stderr]    --> src/c_str.rs:522:26
[INFO] [stderr]     |
[INFO] [stderr] 522 |         assert_eq!(c_str.as_str(), None);
[INFO] [stderr]     |                          ^^^^^^ help: there is an associated function with a similar name: `as_ptr`
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stderr]    --> src/c_str.rs:528:31
[INFO] [stderr]     |
[INFO] [stderr] 528 |         let _c_str = unsafe { CString::new(ptr::null(), false) };
[INFO] [stderr]     |                               ^^^^^^^^^^^^ -----------  ----- supplied 2 arguments
[INFO] [stderr]     |                               |
[INFO] [stderr]     |                               expected 1 argument
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stderr]    --> src/c_str.rs:544:35
[INFO] [stderr]     |
[INFO] [stderr] 544 |             let mut c_ = unsafe { CString::new(c.as_ptr(), false) };
[INFO] [stderr]     |                                   ^^^^^^^^^^^^ ----------  ----- supplied 2 arguments
[INFO] [stderr]     |                                   |
[INFO] [stderr]     |                                   expected 1 argument
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/c_str.rs:545:15
[INFO] [stderr]     |
[INFO] [stderr] 545 |             f(&c_);
[INFO] [stderr]     |               ^^^ expected struct `std::ffi::CString`, found enum `std::result::Result`
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected reference `&std::ffi::CString`
[INFO] [stderr]                found reference `&std::result::Result<std::ffi::CString, std::ffi::NulError>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_mut_ptr` found for enum `std::result::Result<std::ffi::CString, std::ffi::NulError>` in the current scope
[INFO] [stderr]    --> src/c_str.rs:547:26
[INFO] [stderr]     |
[INFO] [stderr] 547 |             unsafe { *c_.as_mut_ptr() = 'X' as libc::c_char }
[INFO] [stderr]     |                          ^^^^^^^^^^ method not found in `std::result::Result<std::ffi::CString, std::ffi::NulError>`
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:594:11
[INFO] [stderr]     |
[INFO] [stderr] 594 |         b.iter(|| {
[INFO] [stderr]     |           ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_c_str` found for reference `&str` in the current scope
[INFO] [stderr]    --> src/c_str.rs:595:27
[INFO] [stderr]     |
[INFO] [stderr] 595 |             let c_str = s.to_c_str();
[INFO] [stderr]     |                           ^^^^^^^^ method not found in `&str`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]             `use ToCStr;`
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:616:11
[INFO] [stderr]     |
[INFO] [stderr] 616 |         b.iter(|| {
[INFO] [stderr]     |           ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_c_str_unchecked` found for reference `&str` in the current scope
[INFO] [stderr]    --> src/c_str.rs:617:36
[INFO] [stderr]     |
[INFO] [stderr] 617 |             let c_str = unsafe { s.to_c_str_unchecked() };
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^ method not found in `&str`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]             `use ToCStr;`
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:638:11
[INFO] [stderr]     |
[INFO] [stderr] 638 |         b.iter(|| {
[INFO] [stderr]     |           ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `with_c_str` found for reference `&str` in the current scope
[INFO] [stderr]    --> src/c_str.rs:639:15
[INFO] [stderr]     |
[INFO] [stderr] 639 |             s.with_c_str(|c_str_buf| check(s, c_str_buf))
[INFO] [stderr]     |               ^^^^^^^^^^ method not found in `&str`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]             `use ToCStr;`
[INFO] [stderr] 
[INFO] [stderr] error[E0658]: use of unstable library feature 'test'
[INFO] [stderr]    --> src/c_str.rs:659:11
[INFO] [stderr]     |
[INFO] [stderr] 659 |         b.iter(|| {
[INFO] [stderr]     |           ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stderr]     = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `with_c_str_unchecked` found for reference `&str` in the current scope
[INFO] [stderr]    --> src/c_str.rs:661:19
[INFO] [stderr]     |
[INFO] [stderr] 661 |                 s.with_c_str_unchecked(|c_str_buf| check(s, c_str_buf))
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^ method not found in `&str`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]             `use ToCStr;`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 116 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0308, E0433, E0599, E0624, E0658.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: could not compile `c_str`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "168157cc02bda8b4e899b05650234fc8b6e4c6ccb13c414ef65e4782d0c43118"`
[INFO] running `"docker" "rm" "-f" "168157cc02bda8b4e899b05650234fc8b6e4c6ccb13c414ef65e4782d0c43118"`
[INFO] [stdout] 168157cc02bda8b4e899b05650234fc8b6e4c6ccb13c414ef65e4782d0c43118
