Aug 30 20:25:18.787 INFO checking cstr_core-0.1.2 against master#545f22340f72ee0efaf6463efb43a2840e3d35db for pr-53699 Aug 30 20:25:18.787 INFO running: cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets Aug 30 20:25:18.787 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-2/pr-53699/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-2/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/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 +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 30 20:25:19.034 INFO blam! 3c2b20a2bb71979fe08013128305799792338d926677e212ecbd536cbe6c6742 Aug 30 20:25:19.036 INFO running `"docker" "start" "-a" "3c2b20a2bb71979fe08013128305799792338d926677e212ecbd536cbe6c6742"` Aug 30 20:25:19.871 INFO kablam! Checking cty v0.1.5 Aug 30 20:25:19.872 INFO kablam! Checking memchr v2.0.2 Aug 30 20:25:20.207 INFO kablam! Checking cstr_core v0.1.2 (file:///source) Aug 30 20:25:21.042 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Aug 30 20:25:21.042 INFO kablam! --> src/lib.rs:1234:17 Aug 30 20:25:21.042 INFO kablam! | Aug 30 20:25:21.042 INFO kablam! 1234 | let s = CString::new("1234").unwrap(); Aug 30 20:25:21.042 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Aug 30 20:25:21.043 INFO kablam! Aug 30 20:25:21.043 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Aug 30 20:25:21.044 INFO kablam! --> src/lib.rs:1241:17 Aug 30 20:25:21.044 INFO kablam! | Aug 30 20:25:21.044 INFO kablam! 1241 | assert!(CString::new(&b"\0"[..]).is_err()); Aug 30 20:25:21.044 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Aug 30 20:25:21.044 INFO kablam! Aug 30 20:25:21.044 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Aug 30 20:25:21.045 INFO kablam! --> src/lib.rs:1245:17 Aug 30 20:25:21.045 INFO kablam! | Aug 30 20:25:21.045 INFO kablam! 1245 | assert!(CString::new(vec![0]).is_err()); Aug 30 20:25:21.045 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Aug 30 20:25:21.045 INFO kablam! Aug 30 20:25:21.046 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Aug 30 20:25:21.046 INFO kablam! --> src/lib.rs:1251:21 Aug 30 20:25:21.046 INFO kablam! | Aug 30 20:25:21.046 INFO kablam! 1251 | let s = CString::from_vec_unchecked(vec![0]); Aug 30 20:25:21.046 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Aug 30 20:25:21.046 INFO kablam! Aug 30 20:25:21.047 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Aug 30 20:25:21.047 INFO kablam! --> src/lib.rs:1258:17 Aug 30 20:25:21.047 INFO kablam! | Aug 30 20:25:21.047 INFO kablam! 1258 | let s = CString::new(&b"abc\x01\x02\n\xE2\x80\xA6\xFF"[..]).unwrap(); Aug 30 20:25:21.047 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Aug 30 20:25:21.047 INFO kablam! Aug 30 20:25:21.049 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `CString` Aug 30 20:25:21.049 INFO kablam! --> src/lib.rs:1309:9 Aug 30 20:25:21.049 INFO kablam! | Aug 30 20:25:21.049 INFO kablam! 1309 | CString::new(&data[..data.len() - 1]).unwrap().hash(&mut s); Aug 30 20:25:21.049 INFO kablam! | ^^^^^^^ Use of undeclared type or module `CString` Aug 30 20:25:21.049 INFO kablam! Aug 30 20:25:21.069 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Box` Aug 30 20:25:21.069 INFO kablam! --> src/lib.rs:1348:32 Aug 30 20:25:21.069 INFO kablam! | Aug 30 20:25:21.069 INFO kablam! 1348 | let boxed: Box = Box::from(cstr); Aug 30 20:25:21.069 INFO kablam! | ^^^ Use of undeclared type or module `Box` Aug 30 20:25:21.069 INFO kablam! Aug 30 20:25:21.075 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Rc` Aug 30 20:25:21.075 INFO kablam! --> src/lib.rs:1365:28 Aug 30 20:25:21.075 INFO kablam! | Aug 30 20:25:21.075 INFO kablam! 1365 | let rc: Rc = Rc::from(cstr); Aug 30 20:25:21.075 INFO kablam! | ^^ Use of undeclared type or module `Rc` Aug 30 20:25:21.075 INFO kablam! Aug 30 20:25:21.078 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Arc` Aug 30 20:25:21.078 INFO kablam! --> src/lib.rs:1366:30 Aug 30 20:25:21.078 INFO kablam! | Aug 30 20:25:21.078 INFO kablam! 1366 | let arc: Arc = Arc::from(cstr); Aug 30 20:25:21.078 INFO kablam! | ^^^ Use of undeclared type or module `Arc` Aug 30 20:25:21.078 INFO kablam! Aug 30 20:25:21.081 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Rc` Aug 30 20:25:21.081 INFO kablam! --> src/lib.rs:1371:29 Aug 30 20:25:21.081 INFO kablam! | Aug 30 20:25:21.081 INFO kablam! 1371 | let rc2: Rc = Rc::from(cstr.to_owned()); Aug 30 20:25:21.081 INFO kablam! | ^^ Use of undeclared type or module `Rc` Aug 30 20:25:21.082 INFO kablam! Aug 30 20:25:21.085 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `Arc` Aug 30 20:25:21.085 INFO kablam! --> src/lib.rs:1372:31 Aug 30 20:25:21.085 INFO kablam! | Aug 30 20:25:21.085 INFO kablam! 1372 | let arc2: Arc = Arc::from(cstr.to_owned()); Aug 30 20:25:21.085 INFO kablam! | ^^^ Use of undeclared type or module `Arc` Aug 30 20:25:21.086 INFO kablam! Aug 30 20:25:21.088 INFO kablam! error[E0412]: cannot find type `Box` in this scope Aug 30 20:25:21.088 INFO kablam! --> src/lib.rs:1348:20 Aug 30 20:25:21.088 INFO kablam! | Aug 30 20:25:21.088 INFO kablam! 1348 | let boxed: Box = Box::from(cstr); Aug 30 20:25:21.088 INFO kablam! | ^^^ not found in this scope Aug 30 20:25:21.088 INFO kablam! help: possible candidates are found in other modules, you can import them into scope Aug 30 20:25:21.089 INFO kablam! | Aug 30 20:25:21.089 INFO kablam! 1217 | use std::boxed::Box; Aug 30 20:25:21.089 INFO kablam! | Aug 30 20:25:21.089 INFO kablam! 1217 | use std::prelude::v1::Box; Aug 30 20:25:21.089 INFO kablam! | Aug 30 20:25:21.089 INFO kablam! Aug 30 20:25:21.090 INFO kablam! error[E0412]: cannot find type `Box` in this scope Aug 30 20:25:21.090 INFO kablam! --> src/lib.rs:1357:22 Aug 30 20:25:21.090 INFO kablam! | Aug 30 20:25:21.090 INFO kablam! 1357 | let boxed = >::default(); Aug 30 20:25:21.090 INFO kablam! | ^^^ not found in this scope Aug 30 20:25:21.091 INFO kablam! help: possible candidates are found in other modules, you can import them into scope Aug 30 20:25:21.091 INFO kablam! | Aug 30 20:25:21.091 INFO kablam! 1217 | use std::boxed::Box; Aug 30 20:25:21.091 INFO kablam! | Aug 30 20:25:21.091 INFO kablam! 1217 | use std::prelude::v1::Box; Aug 30 20:25:21.091 INFO kablam! | Aug 30 20:25:21.092 INFO kablam! Aug 30 20:25:21.092 INFO kablam! error[E0412]: cannot find type `Rc` in this scope Aug 30 20:25:21.092 INFO kablam! --> src/lib.rs:1365:17 Aug 30 20:25:21.092 INFO kablam! | Aug 30 20:25:21.092 INFO kablam! 1365 | let rc: Rc = Rc::from(cstr); Aug 30 20:25:21.092 INFO kablam! | ^^ not found in this scope Aug 30 20:25:21.093 INFO kablam! help: possible candidate is found in another module, you can import it into scope Aug 30 20:25:21.093 INFO kablam! | Aug 30 20:25:21.093 INFO kablam! 1217 | use std::rc::Rc; Aug 30 20:25:21.093 INFO kablam! | Aug 30 20:25:21.094 INFO kablam! Aug 30 20:25:21.094 INFO kablam! error[E0412]: cannot find type `Arc` in this scope Aug 30 20:25:21.094 INFO kablam! --> src/lib.rs:1366:18 Aug 30 20:25:21.094 INFO kablam! | Aug 30 20:25:21.094 INFO kablam! 1366 | let arc: Arc = Arc::from(cstr); Aug 30 20:25:21.095 INFO kablam! | ^^^ not found in this scope Aug 30 20:25:21.095 INFO kablam! help: possible candidate is found in another module, you can import it into scope Aug 30 20:25:21.095 INFO kablam! | Aug 30 20:25:21.095 INFO kablam! 1217 | use std::sync::Arc; Aug 30 20:25:21.095 INFO kablam! | Aug 30 20:25:21.096 INFO kablam! Aug 30 20:25:21.096 INFO kablam! error[E0412]: cannot find type `Rc` in this scope Aug 30 20:25:21.096 INFO kablam! --> src/lib.rs:1371:18 Aug 30 20:25:21.096 INFO kablam! | Aug 30 20:25:21.097 INFO kablam! 1371 | let rc2: Rc = Rc::from(cstr.to_owned()); Aug 30 20:25:21.097 INFO kablam! | ^^ not found in this scope Aug 30 20:25:21.097 INFO kablam! help: possible candidate is found in another module, you can import it into scope Aug 30 20:25:21.097 INFO kablam! | Aug 30 20:25:21.097 INFO kablam! 1217 | use std::rc::Rc; Aug 30 20:25:21.097 INFO kablam! | Aug 30 20:25:21.098 INFO kablam! Aug 30 20:25:21.098 INFO kablam! error[E0412]: cannot find type `Arc` in this scope Aug 30 20:25:21.098 INFO kablam! --> src/lib.rs:1372:19 Aug 30 20:25:21.099 INFO kablam! | Aug 30 20:25:21.099 INFO kablam! 1372 | let arc2: Arc = Arc::from(cstr.to_owned()); Aug 30 20:25:21.099 INFO kablam! | ^^^ not found in this scope Aug 30 20:25:21.099 INFO kablam! help: possible candidate is found in another module, you can import it into scope Aug 30 20:25:21.099 INFO kablam! | Aug 30 20:25:21.099 INFO kablam! 1217 | use std::sync::Arc; Aug 30 20:25:21.099 INFO kablam! | Aug 30 20:25:21.100 INFO kablam! Aug 30 20:25:21.605 INFO kablam! error[E0599]: no method named `to_string_lossy` found for type `&CStr` in the current scope Aug 30 20:25:21.605 INFO kablam! --> src/lib.rs:1277:44 Aug 30 20:25:21.605 INFO kablam! | Aug 30 20:25:21.605 INFO kablam! 1277 | assert_eq!(CStr::from_ptr(ptr).to_string_lossy(), Borrowed("123…")); Aug 30 20:25:21.605 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 20:25:21.606 INFO kablam! Aug 30 20:25:21.613 INFO kablam! error[E0599]: no method named `to_string_lossy` found for type `&CStr` in the current scope Aug 30 20:25:21.613 INFO kablam! --> src/lib.rs:1284:37 Aug 30 20:25:21.613 INFO kablam! | Aug 30 20:25:21.613 INFO kablam! 1284 | CStr::from_ptr(ptr).to_string_lossy(), Aug 30 20:25:21.613 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 20:25:21.613 INFO kablam! Aug 30 20:25:21.619 INFO kablam! error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope Aug 30 20:25:21.619 INFO kablam! --> src/lib.rs:1295:50 Aug 30 20:25:21.619 INFO kablam! | Aug 30 20:25:21.619 INFO kablam! 1295 | let owned = unsafe { CStr::from_ptr(ptr).to_owned() }; Aug 30 20:25:21.619 INFO kablam! | ^^^^^^^^ Aug 30 20:25:21.619 INFO kablam! | Aug 30 20:25:21.619 INFO kablam! = help: items from traits can only be used if the trait is in scope Aug 30 20:25:21.619 INFO kablam! = note: the following trait is implemented but not in scope, perhaps add a `use` for it: Aug 30 20:25:21.619 INFO kablam! `use std::borrow::ToOwned;` Aug 30 20:25:21.619 INFO kablam! Aug 30 20:25:21.649 INFO kablam! error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope Aug 30 20:25:21.649 INFO kablam! --> src/lib.rs:1349:28 Aug 30 20:25:21.649 INFO kablam! | Aug 30 20:25:21.649 INFO kablam! 1349 | let cstring = cstr.to_owned().into_boxed_c_str().into_c_string(); Aug 30 20:25:21.649 INFO kablam! | ^^^^^^^^ Aug 30 20:25:21.649 INFO kablam! | Aug 30 20:25:21.649 INFO kablam! = help: items from traits can only be used if the trait is in scope Aug 30 20:25:21.649 INFO kablam! = note: the following trait is implemented but not in scope, perhaps add a `use` for it: Aug 30 20:25:21.649 INFO kablam! `use std::borrow::ToOwned;` Aug 30 20:25:21.649 INFO kablam! Aug 30 20:25:21.666 INFO kablam! error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope Aug 30 20:25:21.666 INFO kablam! --> src/lib.rs:1371:43 Aug 30 20:25:21.666 INFO kablam! | Aug 30 20:25:21.666 INFO kablam! 1371 | let rc2: Rc = Rc::from(cstr.to_owned()); Aug 30 20:25:21.666 INFO kablam! | ^^^^^^^^ Aug 30 20:25:21.666 INFO kablam! | Aug 30 20:25:21.666 INFO kablam! = help: items from traits can only be used if the trait is in scope Aug 30 20:25:21.666 INFO kablam! = note: the following trait is implemented but not in scope, perhaps add a `use` for it: Aug 30 20:25:21.666 INFO kablam! `use std::borrow::ToOwned;` Aug 30 20:25:21.666 INFO kablam! Aug 30 20:25:21.667 INFO kablam! error[E0599]: no method named `to_owned` found for type `&CStr` in the current scope Aug 30 20:25:21.667 INFO kablam! --> src/lib.rs:1372:46 Aug 30 20:25:21.667 INFO kablam! | Aug 30 20:25:21.667 INFO kablam! 1372 | let arc2: Arc = Arc::from(cstr.to_owned()); Aug 30 20:25:21.667 INFO kablam! | ^^^^^^^^ Aug 30 20:25:21.667 INFO kablam! | Aug 30 20:25:21.667 INFO kablam! = help: items from traits can only be used if the trait is in scope Aug 30 20:25:21.667 INFO kablam! = note: the following trait is implemented but not in scope, perhaps add a `use` for it: Aug 30 20:25:21.667 INFO kablam! `use std::borrow::ToOwned;` Aug 30 20:25:21.667 INFO kablam! Aug 30 20:25:21.680 INFO kablam! error: aborting due to 23 previous errors Aug 30 20:25:21.680 INFO kablam! Aug 30 20:25:21.680 INFO kablam! Some errors occurred: E0412, E0433, E0599. Aug 30 20:25:21.680 INFO kablam! For more information about an error, try `rustc --explain E0412`. Aug 30 20:25:21.689 INFO kablam! error: Could not compile `cstr_core`. Aug 30 20:25:21.690 INFO kablam! Aug 30 20:25:21.690 INFO kablam! To learn more, run the command again with --verbose. Aug 30 20:25:21.691 INFO kablam! su: No module specific data is present Aug 30 20:25:22.231 INFO running `"docker" "rm" "-f" "3c2b20a2bb71979fe08013128305799792338d926677e212ecbd536cbe6c6742"` Aug 30 20:25:22.381 INFO blam! 3c2b20a2bb71979fe08013128305799792338d926677e212ecbd536cbe6c6742