Aug 02 12:01:23.208 INFO checking cstr_core-0.1.2 against 1.27.2 for lazy_static-1 Aug 02 12:01:23.208 INFO running: cargo +1.27.2 check --frozen --all --all-targets Aug 02 12:01:23.208 INFO creating container for: cargo +1.27.2 check --frozen --all --all-targets Aug 02 12:01:23.208 INFO running `"docker" "create" "-v" "/tmp/crater.RN5vox1CZUki:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/lazy_static-1/worker-1/1.27.2:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home/git:/cargo-home/git:rw,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +1.27.2 check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "crater"` Aug 02 12:01:23.514 INFO blam! 29f1ca87293f9b1e42a537f9e7bb3c5acdcdf073d88cc3af0431d1b78d30cef3 Aug 02 12:01:23.517 INFO running `"docker" "start" "-a" "29f1ca87293f9b1e42a537f9e7bb3c5acdcdf073d88cc3af0431d1b78d30cef3"` Aug 02 12:01:24.771 INFO kablam! Checking memchr v2.0.1 Aug 02 12:01:24.771 INFO kablam! Checking cty v0.1.5 Aug 02 12:01:25.244 INFO kablam! Checking cstr_core v0.1.2 (file:///source) Aug 02 12:01:25.974 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Aug 02 12:01:25.974 INFO kablam! --> src/lib.rs:1234:17 Aug 02 12:01:25.974 INFO kablam! | Aug 02 12:01:25.974 INFO kablam! 1234 | let s = CString::new("1234").unwrap(); Aug 02 12:01:25.974 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Aug 02 12:01:25.975 INFO kablam! Aug 02 12:01:25.975 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Aug 02 12:01:25.975 INFO kablam! --> src/lib.rs:1241:17 Aug 02 12:01:25.975 INFO kablam! | Aug 02 12:01:25.975 INFO kablam! 1241 | assert!(CString::new(&b"\0"[..]).is_err()); Aug 02 12:01:25.975 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Aug 02 12:01:25.975 INFO kablam! Aug 02 12:01:25.975 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Aug 02 12:01:25.975 INFO kablam! --> src/lib.rs:1245:17 Aug 02 12:01:25.975 INFO kablam! | Aug 02 12:01:25.975 INFO kablam! 1245 | assert!(CString::new(vec![0]).is_err()); Aug 02 12:01:25.976 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Aug 02 12:01:25.976 INFO kablam! Aug 02 12:01:25.976 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Aug 02 12:01:25.976 INFO kablam! --> src/lib.rs:1251:21 Aug 02 12:01:25.976 INFO kablam! | Aug 02 12:01:25.976 INFO kablam! 1251 | let s = CString::from_vec_unchecked(vec![0]); Aug 02 12:01:25.976 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Aug 02 12:01:25.976 INFO kablam! Aug 02 12:01:25.977 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Aug 02 12:01:25.977 INFO kablam! --> src/lib.rs:1258:17 Aug 02 12:01:25.977 INFO kablam! | Aug 02 12:01:25.977 INFO kablam! 1258 | let s = CString::new(&b"abc\x01\x02\n\xE2\x80\xA6\xFF"[..]).unwrap(); Aug 02 12:01:25.977 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Aug 02 12:01:25.977 INFO kablam! Aug 02 12:01:25.977 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Aug 02 12:01:25.977 INFO kablam! --> src/lib.rs:1309:9 Aug 02 12:01:25.977 INFO kablam! | Aug 02 12:01:25.977 INFO kablam! 1309 | CString::new(&data[..data.len() - 1]).unwrap().hash(&mut s); Aug 02 12:01:25.977 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Aug 02 12:01:25.977 INFO kablam! Aug 02 12:01:25.997 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Box` Aug 02 12:01:25.998 INFO kablam! --> src/lib.rs:1348:32 Aug 02 12:01:25.998 INFO kablam! | Aug 02 12:01:25.998 INFO kablam! 1348 | let boxed: Box = Box::from(cstr); Aug 02 12:01:25.998 INFO kablam! | ^^^ Use of undeclared type or module `Box` Aug 02 12:01:25.998 INFO kablam! Aug 02 12:01:26.003 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Rc` Aug 02 12:01:26.003 INFO kablam! --> src/lib.rs:1365:28 Aug 02 12:01:26.003 INFO kablam! | Aug 02 12:01:26.003 INFO kablam! 1365 | let rc: Rc = Rc::from(cstr); Aug 02 12:01:26.003 INFO kablam! | ^^ Use of undeclared type or module `Rc` Aug 02 12:01:26.003 INFO kablam! Aug 02 12:01:26.006 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Arc` Aug 02 12:01:26.006 INFO kablam! --> src/lib.rs:1366:30 Aug 02 12:01:26.006 INFO kablam! | Aug 02 12:01:26.006 INFO kablam! 1366 | let arc: Arc = Arc::from(cstr); Aug 02 12:01:26.006 INFO kablam! | ^^^ Use of undeclared type or module `Arc` Aug 02 12:01:26.006 INFO kablam! Aug 02 12:01:26.008 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Rc` Aug 02 12:01:26.009 INFO kablam! --> src/lib.rs:1371:29 Aug 02 12:01:26.009 INFO kablam! | Aug 02 12:01:26.009 INFO kablam! 1371 | let rc2: Rc = Rc::from(cstr.to_owned()); Aug 02 12:01:26.009 INFO kablam! | ^^ Use of undeclared type or module `Rc` Aug 02 12:01:26.009 INFO kablam! Aug 02 12:01:26.011 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Arc` Aug 02 12:01:26.011 INFO kablam! --> src/lib.rs:1372:31 Aug 02 12:01:26.011 INFO kablam! | Aug 02 12:01:26.011 INFO kablam! 1372 | let arc2: Arc = Arc::from(cstr.to_owned()); Aug 02 12:01:26.011 INFO kablam! | ^^^ Use of undeclared type or module `Arc` Aug 02 12:01:26.011 INFO kablam! Aug 02 12:01:26.012 INFO kablam! error[E0412]: cannot find type `Box` in this scope Aug 02 12:01:26.012 INFO kablam! --> src/lib.rs:1348:20 Aug 02 12:01:26.012 INFO kablam! | Aug 02 12:01:26.012 INFO kablam! 1348 | let boxed: Box = Box::from(cstr); Aug 02 12:01:26.012 INFO kablam! | ^^^ not found in this scope Aug 02 12:01:26.013 INFO kablam! help: possible candidates are found in other modules, you can import them into scope Aug 02 12:01:26.013 INFO kablam! | Aug 02 12:01:26.013 INFO kablam! 1217 | use std::boxed::Box; Aug 02 12:01:26.013 INFO kablam! | Aug 02 12:01:26.013 INFO kablam! 1217 | use std::prelude::v1::Box; Aug 02 12:01:26.013 INFO kablam! | Aug 02 12:01:26.013 INFO kablam! Aug 02 12:01:26.013 INFO kablam! error[E0412]: cannot find type `Box` in this scope Aug 02 12:01:26.013 INFO kablam! --> src/lib.rs:1357:22 Aug 02 12:01:26.013 INFO kablam! | Aug 02 12:01:26.013 INFO kablam! 1357 | let boxed = >::default(); Aug 02 12:01:26.013 INFO kablam! | ^^^ not found in this scope Aug 02 12:01:26.013 INFO kablam! help: possible candidates are found in other modules, you can import them into scope Aug 02 12:01:26.013 INFO kablam! | Aug 02 12:01:26.013 INFO kablam! 1217 | use std::boxed::Box; Aug 02 12:01:26.013 INFO kablam! | Aug 02 12:01:26.013 INFO kablam! 1217 | use std::prelude::v1::Box; Aug 02 12:01:26.013 INFO kablam! | Aug 02 12:01:26.013 INFO kablam! Aug 02 12:01:26.013 INFO kablam! error[E0412]: cannot find type `Rc` in this scope Aug 02 12:01:26.013 INFO kablam! --> src/lib.rs:1365:17 Aug 02 12:01:26.013 INFO kablam! | Aug 02 12:01:26.014 INFO kablam! 1365 | let rc: Rc = Rc::from(cstr); Aug 02 12:01:26.014 INFO kablam! | ^^ not found in this scope Aug 02 12:01:26.014 INFO kablam! help: possible candidate is found in another module, you can import it into scope Aug 02 12:01:26.014 INFO kablam! | Aug 02 12:01:26.014 INFO kablam! 1217 | use std::rc::Rc; Aug 02 12:01:26.014 INFO kablam! | Aug 02 12:01:26.014 INFO kablam! Aug 02 12:01:26.014 INFO kablam! error[E0412]: cannot find type `Arc` in this scope Aug 02 12:01:26.014 INFO kablam! --> src/lib.rs:1366:18 Aug 02 12:01:26.014 INFO kablam! | Aug 02 12:01:26.014 INFO kablam! 1366 | let arc: Arc = Arc::from(cstr); Aug 02 12:01:26.014 INFO kablam! | ^^^ not found in this scope Aug 02 12:01:26.014 INFO kablam! help: possible candidate is found in another module, you can import it into scope Aug 02 12:01:26.014 INFO kablam! | Aug 02 12:01:26.014 INFO kablam! 1217 | use std::sync::Arc; Aug 02 12:01:26.015 INFO kablam! | Aug 02 12:01:26.015 INFO kablam! Aug 02 12:01:26.015 INFO kablam! error[E0412]: cannot find type `Rc` in this scope Aug 02 12:01:26.015 INFO kablam! --> src/lib.rs:1371:18 Aug 02 12:01:26.015 INFO kablam! | Aug 02 12:01:26.015 INFO kablam! 1371 | let rc2: Rc = Rc::from(cstr.to_owned()); Aug 02 12:01:26.015 INFO kablam! | ^^ not found in this scope Aug 02 12:01:26.015 INFO kablam! help: possible candidate is found in another module, you can import it into scope Aug 02 12:01:26.015 INFO kablam! | Aug 02 12:01:26.015 INFO kablam! 1217 | use std::rc::Rc; Aug 02 12:01:26.015 INFO kablam! | Aug 02 12:01:26.015 INFO kablam! Aug 02 12:01:26.015 INFO kablam! error[E0412]: cannot find type `Arc` in this scope Aug 02 12:01:26.015 INFO kablam! --> src/lib.rs:1372:19 Aug 02 12:01:26.015 INFO kablam! | Aug 02 12:01:26.015 INFO kablam! 1372 | let arc2: Arc = Arc::from(cstr.to_owned()); Aug 02 12:01:26.015 INFO kablam! | ^^^ not found in this scope Aug 02 12:01:26.015 INFO kablam! help: possible candidate is found in another module, you can import it into scope Aug 02 12:01:26.015 INFO kablam! | Aug 02 12:01:26.015 INFO kablam! 1217 | use std::sync::Arc; Aug 02 12:01:26.015 INFO kablam! | Aug 02 12:01:26.015 INFO kablam! Aug 02 12:01:26.350 INFO kablam! error[E0599]: no method named `to_string_lossy` found for type `&CStr` in the current scope Aug 02 12:01:26.350 INFO kablam! --> src/lib.rs:1277:44 Aug 02 12:01:26.350 INFO kablam! | Aug 02 12:01:26.350 INFO kablam! 1277 | assert_eq!(CStr::from_ptr(ptr).to_string_lossy(), Borrowed("123…")); Aug 02 12:01:26.350 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 02 12:01:26.350 INFO kablam! Aug 02 12:01:26.357 INFO kablam! error[E0599]: no method named `to_string_lossy` found for type `&CStr` in the current scope Aug 02 12:01:26.357 INFO kablam! --> src/lib.rs:1284:37 Aug 02 12:01:26.357 INFO kablam! | Aug 02 12:01:26.357 INFO kablam! 1284 | CStr::from_ptr(ptr).to_string_lossy(), Aug 02 12:01:26.357 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 02 12:01:26.357 INFO kablam! Aug 02 12:01:26.363 INFO kablam! error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope Aug 02 12:01:26.363 INFO kablam! --> src/lib.rs:1295:50 Aug 02 12:01:26.363 INFO kablam! | Aug 02 12:01:26.363 INFO kablam! 1295 | let owned = unsafe { CStr::from_ptr(ptr).to_owned() }; Aug 02 12:01:26.363 INFO kablam! | ^^^^^^^^ Aug 02 12:01:26.363 INFO kablam! | Aug 02 12:01:26.363 INFO kablam! = help: items from traits can only be used if the trait is in scope Aug 02 12:01:26.363 INFO kablam! = note: the following trait is implemented but not in scope, perhaps add a `use` for it: Aug 02 12:01:26.363 INFO kablam! candidate #1: `use std::borrow::ToOwned;` Aug 02 12:01:26.363 INFO kablam! Aug 02 12:01:26.429 INFO kablam! error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope Aug 02 12:01:26.429 INFO kablam! --> src/lib.rs:1349:28 Aug 02 12:01:26.429 INFO kablam! | Aug 02 12:01:26.429 INFO kablam! 1349 | let cstring = cstr.to_owned().into_boxed_c_str().into_c_string(); Aug 02 12:01:26.429 INFO kablam! | ^^^^^^^^ Aug 02 12:01:26.429 INFO kablam! | Aug 02 12:01:26.430 INFO kablam! = help: items from traits can only be used if the trait is in scope Aug 02 12:01:26.430 INFO kablam! = note: the following trait is implemented but not in scope, perhaps add a `use` for it: Aug 02 12:01:26.430 INFO kablam! candidate #1: `use std::borrow::ToOwned;` Aug 02 12:01:26.430 INFO kablam! Aug 02 12:01:26.448 INFO kablam! error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope Aug 02 12:01:26.448 INFO kablam! --> src/lib.rs:1371:43 Aug 02 12:01:26.448 INFO kablam! | Aug 02 12:01:26.448 INFO kablam! 1371 | let rc2: Rc = Rc::from(cstr.to_owned()); Aug 02 12:01:26.448 INFO kablam! | ^^^^^^^^ Aug 02 12:01:26.449 INFO kablam! | Aug 02 12:01:26.449 INFO kablam! = help: items from traits can only be used if the trait is in scope Aug 02 12:01:26.449 INFO kablam! = note: the following trait is implemented but not in scope, perhaps add a `use` for it: Aug 02 12:01:26.449 INFO kablam! candidate #1: `use std::borrow::ToOwned;` Aug 02 12:01:26.449 INFO kablam! Aug 02 12:01:26.450 INFO kablam! error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope Aug 02 12:01:26.450 INFO kablam! --> src/lib.rs:1372:46 Aug 02 12:01:26.450 INFO kablam! | Aug 02 12:01:26.450 INFO kablam! 1372 | let arc2: Arc = Arc::from(cstr.to_owned()); Aug 02 12:01:26.450 INFO kablam! | ^^^^^^^^ Aug 02 12:01:26.451 INFO kablam! | Aug 02 12:01:26.451 INFO kablam! = help: items from traits can only be used if the trait is in scope Aug 02 12:01:26.451 INFO kablam! = note: the following trait is implemented but not in scope, perhaps add a `use` for it: Aug 02 12:01:26.451 INFO kablam! candidate #1: `use std::borrow::ToOwned;` Aug 02 12:01:26.451 INFO kablam! Aug 02 12:01:26.467 INFO kablam! error: aborting due to 23 previous errors Aug 02 12:01:26.467 INFO kablam! Aug 02 12:01:26.468 INFO kablam! Some errors occurred: E0412, E0433, E0599. Aug 02 12:01:26.468 INFO kablam! For more information about an error, try `rustc --explain E0412`. Aug 02 12:01:26.482 INFO kablam! error: Could not compile `cstr_core`. Aug 02 12:01:26.482 INFO kablam! Aug 02 12:01:26.482 INFO kablam! To learn more, run the command again with --verbose. Aug 02 12:01:26.493 INFO kablam! su: No module specific data is present Aug 02 12:01:27.058 INFO running `"docker" "rm" "-f" "29f1ca87293f9b1e42a537f9e7bb3c5acdcdf073d88cc3af0431d1b78d30cef3"` Aug 02 12:01:27.224 INFO blam! 29f1ca87293f9b1e42a537f9e7bb3c5acdcdf073d88cc3af0431d1b78d30cef3