[INFO] crate cstr_core 0.1.2 is already in cache
[INFO] extracting crate cstr_core 0.1.2 into work/ex/beta-1.37-6/sources/1.36.0/reg/cstr_core/0.1.2
[INFO] extracting crate cstr_core 0.1.2 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/cstr_core/0.1.2
[INFO] validating manifest of cstr_core-0.1.2 on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of cstr_core-0.1.2 on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing cstr_core-0.1.2
[INFO] finished frobbing cstr_core-0.1.2
[INFO] frobbed toml for cstr_core-0.1.2 written to work/ex/beta-1.37-6/sources/1.36.0/reg/cstr_core/0.1.2/Cargo.toml
[INFO] started frobbing cstr_core-0.1.2
[INFO] finished frobbing cstr_core-0.1.2
[INFO] frobbed toml for cstr_core-0.1.2 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/cstr_core/0.1.2/Cargo.toml
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing cstr_core-0.1.2 against 1.36.0 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/cstr_core/0.1.2:/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" "+1.36.0" "build" "--frozen"`
[INFO] [stdout] 893165449f5d5883099cc77f8c1fb06ccd1436046b60d8085d9ad75233ccfac8
[INFO] running `"docker" "start" "-a" "893165449f5d5883099cc77f8c1fb06ccd1436046b60d8085d9ad75233ccfac8"`
[INFO] [stderr]     Blocking waiting for file lock on package cache lock
[INFO] [stderr]    Compiling cty v0.1.5
[INFO] [stderr]    Compiling cstr_core v0.1.2 (/opt/crater/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.39s
[INFO] running `"docker" "inspect" "893165449f5d5883099cc77f8c1fb06ccd1436046b60d8085d9ad75233ccfac8"`
[INFO] running `"docker" "rm" "-f" "893165449f5d5883099cc77f8c1fb06ccd1436046b60d8085d9ad75233ccfac8"`
[INFO] [stdout] 893165449f5d5883099cc77f8c1fb06ccd1436046b60d8085d9ad75233ccfac8
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/cstr_core/0.1.2:/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" "+1.36.0" "test" "--frozen" "--no-run"`
[INFO] [stdout] ced26cb1d29a370c5fd155f5adfb963bf92882d775203dcac390b8c3c1363dcb
[INFO] running `"docker" "start" "-a" "ced26cb1d29a370c5fd155f5adfb963bf92882d775203dcac390b8c3c1363dcb"`
[INFO] [stderr]    Compiling cstr_core v0.1.2 (/opt/crater/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CString`
[INFO] [stderr]     --> src/lib.rs:1234:17
[INFO] [stderr]      |
[INFO] [stderr] 1234 |         let s = CString::new("1234").unwrap();
[INFO] [stderr]      |                 ^^^^^^^ use of undeclared type or module `CString`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CString`
[INFO] [stderr]     --> src/lib.rs:1241:17
[INFO] [stderr]      |
[INFO] [stderr] 1241 |         assert!(CString::new(&b"\0"[..]).is_err());
[INFO] [stderr]      |                 ^^^^^^^ use of undeclared type or module `CString`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CString`
[INFO] [stderr]     --> src/lib.rs:1245:17
[INFO] [stderr]      |
[INFO] [stderr] 1245 |         assert!(CString::new(vec![0]).is_err());
[INFO] [stderr]      |                 ^^^^^^^ use of undeclared type or module `CString`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CString`
[INFO] [stderr]     --> src/lib.rs:1251:21
[INFO] [stderr]      |
[INFO] [stderr] 1251 |             let s = CString::from_vec_unchecked(vec![0]);
[INFO] [stderr]      |                     ^^^^^^^ use of undeclared type or module `CString`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CString`
[INFO] [stderr]     --> src/lib.rs:1258:17
[INFO] [stderr]      |
[INFO] [stderr] 1258 |         let s = CString::new(&b"abc\x01\x02\n\xE2\x80\xA6\xFF"[..]).unwrap();
[INFO] [stderr]      |                 ^^^^^^^ use of undeclared type or module `CString`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CString`
[INFO] [stderr]     --> src/lib.rs:1309:9
[INFO] [stderr]      |
[INFO] [stderr] 1309 |         CString::new(&data[..data.len() - 1]).unwrap().hash(&mut s);
[INFO] [stderr]      |         ^^^^^^^ use of undeclared type or module `CString`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Box`
[INFO] [stderr]     --> src/lib.rs:1348:32
[INFO] [stderr]      |
[INFO] [stderr] 1348 |         let boxed: Box<CStr> = Box::from(cstr);
[INFO] [stderr]      |                                ^^^ use of undeclared type or module `Box`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Rc`
[INFO] [stderr]     --> src/lib.rs:1365:28
[INFO] [stderr]      |
[INFO] [stderr] 1365 |         let rc: Rc<CStr> = Rc::from(cstr);
[INFO] [stderr]      |                            ^^ use of undeclared type or module `Rc`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Arc`
[INFO] [stderr]     --> src/lib.rs:1366:30
[INFO] [stderr]      |
[INFO] [stderr] 1366 |         let arc: Arc<CStr> = Arc::from(cstr);
[INFO] [stderr]      |                              ^^^ use of undeclared type or module `Arc`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Rc`
[INFO] [stderr]     --> src/lib.rs:1371:29
[INFO] [stderr]      |
[INFO] [stderr] 1371 |         let rc2: Rc<CStr> = Rc::from(cstr.to_owned());
[INFO] [stderr]      |                             ^^ use of undeclared type or module `Rc`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Arc`
[INFO] [stderr]     --> src/lib.rs:1372:31
[INFO] [stderr]      |
[INFO] [stderr] 1372 |         let arc2: Arc<CStr> = Arc::from(cstr.to_owned());
[INFO] [stderr]      |                               ^^^ use of undeclared type or module `Arc`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Box` in this scope
[INFO] [stderr]     --> src/lib.rs:1348:20
[INFO] [stderr]      |
[INFO] [stderr] 1348 |         let boxed: Box<CStr> = Box::from(cstr);
[INFO] [stderr]      |                    ^^^ not found in this scope
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]      |
[INFO] [stderr] 1217 |     use std::boxed::Box;
[INFO] [stderr]      |
[INFO] [stderr] 1217 |     use std::prelude::v1::Box;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Box` in this scope
[INFO] [stderr]     --> src/lib.rs:1357:22
[INFO] [stderr]      |
[INFO] [stderr] 1357 |         let boxed = <Box<CStr>>::default();
[INFO] [stderr]      |                      ^^^ not found in this scope
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]      |
[INFO] [stderr] 1217 |     use std::boxed::Box;
[INFO] [stderr]      |
[INFO] [stderr] 1217 |     use std::prelude::v1::Box;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Rc` in this scope
[INFO] [stderr]     --> src/lib.rs:1365:17
[INFO] [stderr]      |
[INFO] [stderr] 1365 |         let rc: Rc<CStr> = Rc::from(cstr);
[INFO] [stderr]      |                 ^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1217 |     use std::rc::Rc;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Arc` in this scope
[INFO] [stderr]     --> src/lib.rs:1366:18
[INFO] [stderr]      |
[INFO] [stderr] 1366 |         let arc: Arc<CStr> = Arc::from(cstr);
[INFO] [stderr]      |                  ^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1217 |     use std::sync::Arc;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Rc` in this scope
[INFO] [stderr]     --> src/lib.rs:1371:18
[INFO] [stderr]      |
[INFO] [stderr] 1371 |         let rc2: Rc<CStr> = Rc::from(cstr.to_owned());
[INFO] [stderr]      |                  ^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1217 |     use std::rc::Rc;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Arc` in this scope
[INFO] [stderr]     --> src/lib.rs:1372:19
[INFO] [stderr]      |
[INFO] [stderr] 1372 |         let arc2: Arc<CStr> = Arc::from(cstr.to_owned());
[INFO] [stderr]      |                   ^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]      |
[INFO] [stderr] 1217 |     use std::sync::Arc;
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_string_lossy` found for type `&CStr` in the current scope
[INFO] [stderr]     --> src/lib.rs:1277:44
[INFO] [stderr]      |
[INFO] [stderr] 1277 |             assert_eq!(CStr::from_ptr(ptr).to_string_lossy(), Borrowed("123…"));
[INFO] [stderr]      |                                            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_string_lossy` found for type `&CStr` in the current scope
[INFO] [stderr]     --> src/lib.rs:1284:37
[INFO] [stderr]      |
[INFO] [stderr] 1284 |                 CStr::from_ptr(ptr).to_string_lossy(),
[INFO] [stderr]      |                                     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope
[INFO] [stderr]     --> src/lib.rs:1295:50
[INFO] [stderr]      |
[INFO] [stderr] 1295 |         let owned = unsafe { CStr::from_ptr(ptr).to_owned() };
[INFO] [stderr]      |                                                  ^^^^^^^^
[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 std::borrow::ToOwned;`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope
[INFO] [stderr]     --> src/lib.rs:1349:28
[INFO] [stderr]      |
[INFO] [stderr] 1349 |         let cstring = cstr.to_owned().into_boxed_c_str().into_c_string();
[INFO] [stderr]      |                            ^^^^^^^^
[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 std::borrow::ToOwned;`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope
[INFO] [stderr]     --> src/lib.rs:1371:43
[INFO] [stderr]      |
[INFO] [stderr] 1371 |         let rc2: Rc<CStr> = Rc::from(cstr.to_owned());
[INFO] [stderr]      |                                           ^^^^^^^^
[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 std::borrow::ToOwned;`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope
[INFO] [stderr]     --> src/lib.rs:1372:46
[INFO] [stderr]      |
[INFO] [stderr] 1372 |         let arc2: Arc<CStr> = Arc::from(cstr.to_owned());
[INFO] [stderr]      |                                              ^^^^^^^^
[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 std::borrow::ToOwned;`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 23 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: Could not compile `cstr_core`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "ced26cb1d29a370c5fd155f5adfb963bf92882d775203dcac390b8c3c1363dcb"`
[INFO] running `"docker" "rm" "-f" "ced26cb1d29a370c5fd155f5adfb963bf92882d775203dcac390b8c3c1363dcb"`
[INFO] [stdout] ced26cb1d29a370c5fd155f5adfb963bf92882d775203dcac390b8c3c1363dcb
