[INFO] fetching crate c_str 1.0.8... [INFO] testing c_str-1.0.8 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate c_str 1.0.8 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate c_str 1.0.8 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate c_str 1.0.8 [INFO] finished tweaking crates.io crate c_str 1.0.8 [INFO] tweaked toml for crates.io crate c_str 1.0.8 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-14/source/src/c_str.rs` was erroneously implicitly accepted for library `c_str`, [INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f3bfb9ad06b4441bc505435689ae0464d0f5df8acac86c8f652d6db5f7604ea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9f3bfb9ad06b4441bc505435689ae0464d0f5df8acac86c8f652d6db5f7604ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f3bfb9ad06b4441bc505435689ae0464d0f5df8acac86c8f652d6db5f7604ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f3bfb9ad06b4441bc505435689ae0464d0f5df8acac86c8f652d6db5f7604ea", kill_on_drop: false }` [INFO] [stdout] 9f3bfb9ad06b4441bc505435689ae0464d0f5df8acac86c8f652d6db5f7604ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac113d345d59f749de35728cd9db0eca3c73f7c87e58968f117a982e84cd8bf1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ac113d345d59f749de35728cd9db0eca3c73f7c87e58968f117a982e84cd8bf1", kill_on_drop: false }` [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/c_str.rs` was erroneously implicitly accepted for library `c_str`, [INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml [INFO] [stderr] Compiling c_str v1.0.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `bytes` in `slice` [INFO] [stdout] --> src/c_str.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 278 | slice::bytes::copy_memory(&mut buf, copy_.as_mut_slice()); [INFO] [stdout] | ^^^^^ could not find `bytes` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | F: FnOnce(*const libc::c_char) -> T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/c_str.rs:276:43 [INFO] [stdout] | [INFO] [stdout] 276 | let mut buf: [u8; BUF_LEN] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | check_for_null(v, buf as *mut libc::c_char); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:286:32 [INFO] [stdout] | [INFO] [stdout] 286 | return f(buf as *const libc::c_char) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:297:39 [INFO] [stdout] | [INFO] [stdout] 297 | fn check_for_null(v: &[u8], buf: *mut libc::c_char) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:338:49 [INFO] [stdout] | [INFO] [stdout] 338 | pub unsafe fn from_c_multistring(buf: *const libc::c_char, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:352:35 [INFO] [stdout] | [INFO] [stdout] 352 | && *(curr_ptr as *const libc::c_char) != 0 as libc::c_char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:352:57 [INFO] [stdout] | [INFO] [stdout] 352 | && *(curr_ptr as *const libc::c_char) != 0 as libc::c_char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> src/c_str.rs:357:29 [INFO] [stdout] | [INFO] [stdout] 357 | let tmp : u8 = *::std::intrinsics::offset(curr_ptr as *const libc::c_uchar, decal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:357:74 [INFO] [stdout] | [INFO] [stdout] 357 | let tmp : u8 = *::std::intrinsics::offset(curr_ptr as *const libc::c_uchar, decal); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe fn from_c_str(c_str: *const libc::c_char) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | F: FnOnce(*const libc::c_char) -> T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | F: FnOnce(*const libc::c_char) -> T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | F: FnOnce(*const libc::c_char) -> T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | F: FnOnce(*const libc::c_char) -> T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | F: FnOnce(*const libc::c_char) -> T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | F: FnOnce(*const libc::c_char) -> T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:163:40 [INFO] [stdout] | [INFO] [stdout] 163 | unsafe fn from_c_str(c_str: *const libc::c_char) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> src/c_str.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | let tmp = ::std::intrinsics::offset(c_str, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:185:46 [INFO] [stdout] | [INFO] [stdout] 185 | FromCStr::from_c_str(c_str as *const libc::c_char) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:191:40 [INFO] [stdout] | [INFO] [stdout] 191 | unsafe fn from_c_str(c_str: *const libc::c_char) -> CString { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> src/c_str.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | let tmp = ::std::intrinsics::offset(c_str, count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:213:46 [INFO] [stdout] | [INFO] [stdout] 213 | FromCStr::from_c_str(c_str as *const libc::c_char) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:224:50 [INFO] [stdout] | [INFO] [stdout] 224 | check_for_null(self, cs.as_ptr() as *mut libc::c_char); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 233 | F: FnOnce(*const libc::c_char) -> T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 239 | F: FnOnce(*const libc::c_char) -> T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:258:26 [INFO] [stdout] | [INFO] [stdout] 258 | F: FnOnce(*const libc::c_char) -> U, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_str.rs:265:26 [INFO] [stdout] | [INFO] [stdout] 265 | F: FnOnce(*const libc::c_char) -> U, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/c_str.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | #![feature(core, collections, libc, convert)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/c_str.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | #![feature(core, collections, libc, convert)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/c_str.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | #![feature(core, collections, libc, convert)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/c_str.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | #![feature(core, collections, libc, convert)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/c_str.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | #![feature(core, collections, libc, convert)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `convert` [INFO] [stdout] --> src/c_str.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | #![feature(core, collections, libc, convert)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/c_str.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | #![feature(core, collections, libc, convert)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_raw_buf` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/c_str.rs:177:36 [INFO] [stdout] | [INFO] [stdout] 177 | let v : Vec = Vec::from_raw_buf(c_str as *const u8, count as usize); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `FromCStr` defines an item `from_raw_buf`, perhaps you need to implement it [INFO] [stdout] --> src/c_str.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait FromCStr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_raw_buf` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/c_str.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | let v : Vec = Vec::from_raw_buf(c_str as *const u8, count as usize); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `FromCStr` defines an item `from_raw_buf`, perhaps you need to implement it [INFO] [stdout] --> src/c_str.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub trait FromCStr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0554, E0599, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `c_str` due to 38 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ac113d345d59f749de35728cd9db0eca3c73f7c87e58968f117a982e84cd8bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac113d345d59f749de35728cd9db0eca3c73f7c87e58968f117a982e84cd8bf1", kill_on_drop: false }` [INFO] [stdout] ac113d345d59f749de35728cd9db0eca3c73f7c87e58968f117a982e84cd8bf1