Jul 12 11:30:45.266 INFO checking cstr_core-0.1.1 against master#ae5b629efd79de78e6ba7ef493c32857bd7f9cf9 for pr-52234 Jul 12 11:30:45.266 INFO running: cargo +ae5b629efd79de78e6ba7ef493c32857bd7f9cf9-alt check --frozen --all --all-targets Jul 12 11:30:45.266 INFO creating container for: cargo +ae5b629efd79de78e6ba7ef493c32857bd7f9cf9-alt check --frozen --all --all-targets Jul 12 11:30:45.266 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-6/pr-52234/master#ae5b629efd79de78e6ba7ef493c32857bd7f9cf9:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-52234/worker-6/master#ae5b629efd79de78e6ba7ef493c32857bd7f9cf9:/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" "-e" "USER_ID=500" "-e" "CMD=cargo +ae5b629efd79de78e6ba7ef493c32857bd7f9cf9-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "crater"` Jul 12 11:30:45.494 INFO blam! c6450fdf39a4ff78474018939493dafac4b1e9fff05ab87031436d0428eec57c Jul 12 11:30:45.495 INFO running `"docker" "start" "-a" "c6450fdf39a4ff78474018939493dafac4b1e9fff05ab87031436d0428eec57c"` Jul 12 11:30:46.503 INFO kablam! Checking memchr v2.0.1 Jul 12 11:30:46.503 INFO kablam! Checking cty v0.1.5 Jul 12 11:30:46.982 INFO kablam! Checking cstr_core v0.1.1 (file:///source) Jul 12 11:30:47.653 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Jul 12 11:30:47.653 INFO kablam! --> src/lib.rs:1232:17 Jul 12 11:30:47.653 INFO kablam! | Jul 12 11:30:47.653 INFO kablam! 1232 | let s = CString::new("1234").unwrap(); Jul 12 11:30:47.653 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Jul 12 11:30:47.653 INFO kablam! Jul 12 11:30:47.654 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Jul 12 11:30:47.654 INFO kablam! --> src/lib.rs:1239:17 Jul 12 11:30:47.654 INFO kablam! | Jul 12 11:30:47.654 INFO kablam! 1239 | assert!(CString::new(&b"\0"[..]).is_err()); Jul 12 11:30:47.654 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Jul 12 11:30:47.654 INFO kablam! Jul 12 11:30:47.654 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Jul 12 11:30:47.654 INFO kablam! --> src/lib.rs:1243:17 Jul 12 11:30:47.654 INFO kablam! | Jul 12 11:30:47.654 INFO kablam! 1243 | assert!(CString::new(vec![0]).is_err()); Jul 12 11:30:47.654 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Jul 12 11:30:47.655 INFO kablam! Jul 12 11:30:47.655 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Jul 12 11:30:47.655 INFO kablam! --> src/lib.rs:1249:21 Jul 12 11:30:47.655 INFO kablam! | Jul 12 11:30:47.655 INFO kablam! 1249 | let s = CString::from_vec_unchecked(vec![0]); Jul 12 11:30:47.655 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Jul 12 11:30:47.655 INFO kablam! Jul 12 11:30:47.655 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Jul 12 11:30:47.655 INFO kablam! --> src/lib.rs:1256:17 Jul 12 11:30:47.655 INFO kablam! | Jul 12 11:30:47.655 INFO kablam! 1256 | let s = CString::new(&b"abc\x01\x02\n\xE2\x80\xA6\xFF"[..]).unwrap(); Jul 12 11:30:47.655 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Jul 12 11:30:47.655 INFO kablam! Jul 12 11:30:47.663 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Jul 12 11:30:47.663 INFO kablam! --> src/lib.rs:1307:9 Jul 12 11:30:47.663 INFO kablam! | Jul 12 11:30:47.664 INFO kablam! 1307 | CString::new(&data[..data.len() - 1]).unwrap().hash(&mut s); Jul 12 11:30:47.664 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Jul 12 11:30:47.664 INFO kablam! Jul 12 11:30:47.705 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Box` Jul 12 11:30:47.705 INFO kablam! --> src/lib.rs:1346:32 Jul 12 11:30:47.705 INFO kablam! | Jul 12 11:30:47.705 INFO kablam! 1346 | let boxed: Box = Box::from(cstr); Jul 12 11:30:47.705 INFO kablam! | ^^^ Use of undeclared type or module `Box` Jul 12 11:30:47.705 INFO kablam! Jul 12 11:30:47.721 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Rc` Jul 12 11:30:47.721 INFO kablam! --> src/lib.rs:1363:28 Jul 12 11:30:47.721 INFO kablam! | Jul 12 11:30:47.721 INFO kablam! 1363 | let rc: Rc = Rc::from(cstr); Jul 12 11:30:47.721 INFO kablam! | ^^ Use of undeclared type or module `Rc` Jul 12 11:30:47.721 INFO kablam! Jul 12 11:30:47.738 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Arc` Jul 12 11:30:47.738 INFO kablam! --> src/lib.rs:1364:30 Jul 12 11:30:47.738 INFO kablam! | Jul 12 11:30:47.738 INFO kablam! 1364 | let arc: Arc = Arc::from(cstr); Jul 12 11:30:47.738 INFO kablam! | ^^^ Use of undeclared type or module `Arc` Jul 12 11:30:47.738 INFO kablam! Jul 12 11:30:47.741 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Rc` Jul 12 11:30:47.741 INFO kablam! --> src/lib.rs:1369:29 Jul 12 11:30:47.741 INFO kablam! | Jul 12 11:30:47.741 INFO kablam! 1369 | let rc2: Rc = Rc::from(cstr.to_owned()); Jul 12 11:30:47.741 INFO kablam! | ^^ Use of undeclared type or module `Rc` Jul 12 11:30:47.741 INFO kablam! Jul 12 11:30:47.749 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Arc` Jul 12 11:30:47.750 INFO kablam! --> src/lib.rs:1370:31 Jul 12 11:30:47.750 INFO kablam! | Jul 12 11:30:47.750 INFO kablam! 1370 | let arc2: Arc = Arc::from(cstr.to_owned()); Jul 12 11:30:47.750 INFO kablam! | ^^^ Use of undeclared type or module `Arc` Jul 12 11:30:47.750 INFO kablam! Jul 12 11:30:47.756 INFO kablam! error[E0412]: cannot find type `Box` in this scope Jul 12 11:30:47.756 INFO kablam! --> src/lib.rs:1346:20 Jul 12 11:30:47.756 INFO kablam! | Jul 12 11:30:47.756 INFO kablam! 1346 | let boxed: Box = Box::from(cstr); Jul 12 11:30:47.756 INFO kablam! | ^^^ not found in this scope Jul 12 11:30:47.756 INFO kablam! help: possible candidates are found in other modules, you can import them into scope Jul 12 11:30:47.756 INFO kablam! | Jul 12 11:30:47.756 INFO kablam! 1215 | use std::boxed::Box; Jul 12 11:30:47.756 INFO kablam! | Jul 12 11:30:47.756 INFO kablam! 1215 | use std::prelude::v1::Box; Jul 12 11:30:47.756 INFO kablam! | Jul 12 11:30:47.756 INFO kablam! Jul 12 11:30:47.763 INFO kablam! error[E0412]: cannot find type `Box` in this scope Jul 12 11:30:47.763 INFO kablam! --> src/lib.rs:1355:22 Jul 12 11:30:47.763 INFO kablam! | Jul 12 11:30:47.763 INFO kablam! 1355 | let boxed = >::default(); Jul 12 11:30:47.763 INFO kablam! | ^^^ not found in this scope Jul 12 11:30:47.763 INFO kablam! help: possible candidates are found in other modules, you can import them into scope Jul 12 11:30:47.763 INFO kablam! | Jul 12 11:30:47.763 INFO kablam! 1215 | use std::boxed::Box; Jul 12 11:30:47.763 INFO kablam! | Jul 12 11:30:47.763 INFO kablam! 1215 | use std::prelude::v1::Box; Jul 12 11:30:47.763 INFO kablam! | Jul 12 11:30:47.763 INFO kablam! Jul 12 11:30:47.763 INFO kablam! error[E0412]: cannot find type `Rc` in this scope Jul 12 11:30:47.763 INFO kablam! --> src/lib.rs:1363:17 Jul 12 11:30:47.763 INFO kablam! | Jul 12 11:30:47.763 INFO kablam! 1363 | let rc: Rc = Rc::from(cstr); Jul 12 11:30:47.763 INFO kablam! | ^^ not found in this scope Jul 12 11:30:47.763 INFO kablam! help: possible candidate is found in another module, you can import it into scope Jul 12 11:30:47.763 INFO kablam! | Jul 12 11:30:47.763 INFO kablam! 1215 | use std::rc::Rc; Jul 12 11:30:47.763 INFO kablam! | Jul 12 11:30:47.763 INFO kablam! Jul 12 11:30:47.763 INFO kablam! error[E0412]: cannot find type `Arc` in this scope Jul 12 11:30:47.763 INFO kablam! --> src/lib.rs:1364:18 Jul 12 11:30:47.764 INFO kablam! | Jul 12 11:30:47.764 INFO kablam! 1364 | let arc: Arc = Arc::from(cstr); Jul 12 11:30:47.764 INFO kablam! | ^^^ not found in this scope Jul 12 11:30:47.764 INFO kablam! help: possible candidate is found in another module, you can import it into scope Jul 12 11:30:47.764 INFO kablam! | Jul 12 11:30:47.764 INFO kablam! 1215 | use std::sync::Arc; Jul 12 11:30:47.764 INFO kablam! | Jul 12 11:30:47.764 INFO kablam! Jul 12 11:30:47.764 INFO kablam! error[E0412]: cannot find type `Rc` in this scope Jul 12 11:30:47.764 INFO kablam! --> src/lib.rs:1369:18 Jul 12 11:30:47.764 INFO kablam! | Jul 12 11:30:47.764 INFO kablam! 1369 | let rc2: Rc = Rc::from(cstr.to_owned()); Jul 12 11:30:47.764 INFO kablam! | ^^ not found in this scope Jul 12 11:30:47.764 INFO kablam! help: possible candidate is found in another module, you can import it into scope Jul 12 11:30:47.764 INFO kablam! | Jul 12 11:30:47.764 INFO kablam! 1215 | use std::rc::Rc; Jul 12 11:30:47.764 INFO kablam! | Jul 12 11:30:47.764 INFO kablam! Jul 12 11:30:47.764 INFO kablam! error[E0412]: cannot find type `Arc` in this scope Jul 12 11:30:47.764 INFO kablam! --> src/lib.rs:1370:19 Jul 12 11:30:47.764 INFO kablam! | Jul 12 11:30:47.764 INFO kablam! 1370 | let arc2: Arc = Arc::from(cstr.to_owned()); Jul 12 11:30:47.764 INFO kablam! | ^^^ not found in this scope Jul 12 11:30:47.764 INFO kablam! help: possible candidate is found in another module, you can import it into scope Jul 12 11:30:47.764 INFO kablam! | Jul 12 11:30:47.765 INFO kablam! 1215 | use std::sync::Arc; Jul 12 11:30:47.765 INFO kablam! | Jul 12 11:30:47.765 INFO kablam! Jul 12 11:30:48.202 INFO kablam! error[E0599]: no method named `to_string_lossy` found for type `&CStr` in the current scope Jul 12 11:30:48.202 INFO kablam! --> src/lib.rs:1275:44 Jul 12 11:30:48.202 INFO kablam! | Jul 12 11:30:48.202 INFO kablam! 1275 | assert_eq!(CStr::from_ptr(ptr).to_string_lossy(), Borrowed("123…")); Jul 12 11:30:48.202 INFO kablam! | ^^^^^^^^^^^^^^^ Jul 12 11:30:48.202 INFO kablam! Jul 12 11:30:48.210 INFO kablam! error[E0599]: no method named `to_string_lossy` found for type `&CStr` in the current scope Jul 12 11:30:48.210 INFO kablam! --> src/lib.rs:1282:37 Jul 12 11:30:48.210 INFO kablam! | Jul 12 11:30:48.210 INFO kablam! 1282 | CStr::from_ptr(ptr).to_string_lossy(), Jul 12 11:30:48.210 INFO kablam! | ^^^^^^^^^^^^^^^ Jul 12 11:30:48.210 INFO kablam! Jul 12 11:30:48.216 INFO kablam! error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope Jul 12 11:30:48.216 INFO kablam! --> src/lib.rs:1293:50 Jul 12 11:30:48.216 INFO kablam! | Jul 12 11:30:48.216 INFO kablam! 1293 | let owned = unsafe { CStr::from_ptr(ptr).to_owned() }; Jul 12 11:30:48.217 INFO kablam! | ^^^^^^^^ Jul 12 11:30:48.217 INFO kablam! | Jul 12 11:30:48.217 INFO kablam! = help: items from traits can only be used if the trait is in scope Jul 12 11:30:48.217 INFO kablam! = note: the following trait is implemented but not in scope, perhaps add a `use` for it: Jul 12 11:30:48.217 INFO kablam! `use std::borrow::ToOwned;` Jul 12 11:30:48.217 INFO kablam! Jul 12 11:30:48.249 INFO kablam! error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope Jul 12 11:30:48.249 INFO kablam! --> src/lib.rs:1347:28 Jul 12 11:30:48.249 INFO kablam! | Jul 12 11:30:48.249 INFO kablam! 1347 | let cstring = cstr.to_owned().into_boxed_c_str().into_c_string(); Jul 12 11:30:48.249 INFO kablam! | ^^^^^^^^ Jul 12 11:30:48.249 INFO kablam! | Jul 12 11:30:48.249 INFO kablam! = help: items from traits can only be used if the trait is in scope Jul 12 11:30:48.249 INFO kablam! = note: the following trait is implemented but not in scope, perhaps add a `use` for it: Jul 12 11:30:48.249 INFO kablam! `use std::borrow::ToOwned;` Jul 12 11:30:48.249 INFO kablam! Jul 12 11:30:48.268 INFO kablam! error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope Jul 12 11:30:48.268 INFO kablam! --> src/lib.rs:1369:43 Jul 12 11:30:48.268 INFO kablam! | Jul 12 11:30:48.268 INFO kablam! 1369 | let rc2: Rc = Rc::from(cstr.to_owned()); Jul 12 11:30:48.268 INFO kablam! | ^^^^^^^^ Jul 12 11:30:48.268 INFO kablam! | Jul 12 11:30:48.268 INFO kablam! = help: items from traits can only be used if the trait is in scope Jul 12 11:30:48.268 INFO kablam! = note: the following trait is implemented but not in scope, perhaps add a `use` for it: Jul 12 11:30:48.268 INFO kablam! `use std::borrow::ToOwned;` Jul 12 11:30:48.268 INFO kablam! Jul 12 11:30:48.270 INFO kablam! error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope Jul 12 11:30:48.270 INFO kablam! --> src/lib.rs:1370:46 Jul 12 11:30:48.270 INFO kablam! | Jul 12 11:30:48.270 INFO kablam! 1370 | let arc2: Arc = Arc::from(cstr.to_owned()); Jul 12 11:30:48.270 INFO kablam! | ^^^^^^^^ Jul 12 11:30:48.270 INFO kablam! | Jul 12 11:30:48.270 INFO kablam! = help: items from traits can only be used if the trait is in scope Jul 12 11:30:48.270 INFO kablam! = note: the following trait is implemented but not in scope, perhaps add a `use` for it: Jul 12 11:30:48.271 INFO kablam! `use std::borrow::ToOwned;` Jul 12 11:30:48.271 INFO kablam! Jul 12 11:30:48.283 INFO kablam! error: aborting due to 23 previous errors Jul 12 11:30:48.283 INFO kablam! Jul 12 11:30:48.283 INFO kablam! Some errors occurred: E0412, E0433, E0599. Jul 12 11:30:48.283 INFO kablam! For more information about an error, try `rustc --explain E0412`. Jul 12 11:30:48.292 INFO kablam! error: Could not compile `cstr_core`. Jul 12 11:30:48.292 INFO kablam! Jul 12 11:30:48.292 INFO kablam! To learn more, run the command again with --verbose. Jul 12 11:30:48.294 INFO kablam! su: No module specific data is present Jul 12 11:30:48.887 INFO running `"docker" "rm" "-f" "c6450fdf39a4ff78474018939493dafac4b1e9fff05ab87031436d0428eec57c"` Jul 12 11:30:49.053 INFO blam! c6450fdf39a4ff78474018939493dafac4b1e9fff05ab87031436d0428eec57c