[INFO] crate c_str 1.0.8 is already in cache [INFO] extracting crate c_str 1.0.8 into work/ex/beta-1.38-1/sources/1.37.0/reg/c_str/1.0.8 [INFO] extracting crate c_str 1.0.8 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/c_str/1.0.8 [INFO] validating manifest of c_str-1.0.8 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of c_str-1.0.8 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing c_str-1.0.8 [INFO] finished frobbing c_str-1.0.8 [INFO] frobbed toml for c_str-1.0.8 written to work/ex/beta-1.38-1/sources/1.37.0/reg/c_str/1.0.8/Cargo.toml [INFO] started frobbing c_str-1.0.8 [INFO] finished frobbing c_str-1.0.8 [INFO] frobbed toml for c_str-1.0.8 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/c_str/1.0.8/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing c_str-1.0.8 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/c_str/1.0.8:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 157ac7181688fcaf8362fc3e16383b14833ca88eb3c0c8fa0c715d6998e2c565 [INFO] running `"docker" "start" "-a" "157ac7181688fcaf8362fc3e16383b14833ca88eb3c0c8fa0c715d6998e2c565"` [INFO] [stderr] warning: path `/opt/crater/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/crater/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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [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: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_raw_buf` found for type `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: the following trait defines an item `from_raw_buf`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `FromCStr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_raw_buf` found for type `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: the following trait defines an item `from_raw_buf`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `FromCStr` [INFO] [stderr] [INFO] [stderr] error: aborting due to 32 previous errors [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" "157ac7181688fcaf8362fc3e16383b14833ca88eb3c0c8fa0c715d6998e2c565"` [INFO] running `"docker" "rm" "-f" "157ac7181688fcaf8362fc3e16383b14833ca88eb3c0c8fa0c715d6998e2c565"` [INFO] [stdout] 157ac7181688fcaf8362fc3e16383b14833ca88eb3c0c8fa0c715d6998e2c565