[INFO] crate c_str 1.0.8 is already in cache [INFO] testing c_str-1.0.8 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate c_str 1.0.8 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate c_str 1.0.8 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: path `/workspace/builds/worker-2/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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] feb6341ee0f212830828c0aff0fe26b423feec4ca4842558aea78fc8f7000912 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "feb6341ee0f212830828c0aff0fe26b423feec4ca4842558aea78fc8f7000912"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] [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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> src/c_str.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | #![feature(core, collections, libc, convert)] [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 for more information [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 for more information [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 for more information [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 for more information [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 for more information [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(buf: *const libc::c_char, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #27812 for more information [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 for more information [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 for more information [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] 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 for more information [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 for more information [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 for more information [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 for more information [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 for more information [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 for more information [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 for more information [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 for more information [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 for more information [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] 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 for more information [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 for more information [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] 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 for more information [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 for more information [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 for more information [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 for more information [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 for more information [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 for more information [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 = 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 = 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: aborting due to 32 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0433, E0554, 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] running `"docker" "inspect" "feb6341ee0f212830828c0aff0fe26b423feec4ca4842558aea78fc8f7000912"` [INFO] running `"docker" "rm" "-f" "feb6341ee0f212830828c0aff0fe26b423feec4ca4842558aea78fc8f7000912"` [INFO] [stdout] feb6341ee0f212830828c0aff0fe26b423feec4ca4842558aea78fc8f7000912