Jul 12 09:49:20.610 INFO checking fdringbuf-0.0.2 against master#ae5b629efd79de78e6ba7ef493c32857bd7f9cf9 for pr-52234 Jul 12 09:49:20.610 INFO running: cargo +ae5b629efd79de78e6ba7ef493c32857bd7f9cf9-alt check --frozen --all --all-targets Jul 12 09:49:20.610 INFO creating container for: cargo +ae5b629efd79de78e6ba7ef493c32857bd7f9cf9-alt check --frozen --all --all-targets Jul 12 09:49:20.610 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-2/pr-52234/master#ae5b629efd79de78e6ba7ef493c32857bd7f9cf9:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-52234/worker-2/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 09:49:20.881 INFO blam! fd61f5bdf71675fc3509879da0d8c492b57d199e95d2e95f6002df0aa5f48fd8 Jul 12 09:49:20.893 INFO running `"docker" "start" "-a" "fd61f5bdf71675fc3509879da0d8c492b57d199e95d2e95f6002df0aa5f48fd8"` Jul 12 09:49:22.052 INFO kablam! warning: dependency (nix) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions Jul 12 09:49:22.052 INFO kablam! warning: unused manifest key: dev-dependencies.nix.nix Jul 12 09:49:22.119 INFO kablam! Checking fdringbuf v0.0.2 (file:///source) Jul 12 09:49:23.703 INFO kablam! error[E0425]: cannot find value `EPOLLIN` in this scope Jul 12 09:49:23.703 INFO kablam! --> src/fdbuf.rs:187:51 Jul 12 09:49:23.703 INFO kablam! | Jul 12 09:49:23.703 INFO kablam! 187 | let event = EpollEvent { data: 0, events: EPOLLIN }; Jul 12 09:49:23.703 INFO kablam! | ^^^^^^^ not found in this scope Jul 12 09:49:23.711 INFO kablam! help: possible candidate is found in another module, you can import it into scope Jul 12 09:49:23.711 INFO kablam! | Jul 12 09:49:23.711 INFO kablam! 173 | use libc::EPOLLIN; Jul 12 09:49:23.711 INFO kablam! | Jul 12 09:49:23.711 INFO kablam! Jul 12 09:49:23.712 INFO kablam! error[E0425]: cannot find value `EPOLLIN` in this scope Jul 12 09:49:23.712 INFO kablam! --> src/fdbuf.rs:193:57 Jul 12 09:49:23.712 INFO kablam! | Jul 12 09:49:23.712 INFO kablam! 193 | let mut events = [EpollEvent { data: 0, events: EPOLLIN }]; Jul 12 09:49:23.712 INFO kablam! | ^^^^^^^ not found in this scope Jul 12 09:49:23.712 INFO kablam! help: possible candidate is found in another module, you can import it into scope Jul 12 09:49:23.712 INFO kablam! | Jul 12 09:49:23.712 INFO kablam! 173 | use libc::EPOLLIN; Jul 12 09:49:23.712 INFO kablam! | Jul 12 09:49:23.712 INFO kablam! Jul 12 09:49:23.712 INFO kablam! error[E0425]: cannot find value `EFD_CLOEXEC` in this scope Jul 12 09:49:23.712 INFO kablam! --> src/fdbuf.rs:212:40 Jul 12 09:49:23.712 INFO kablam! | Jul 12 09:49:23.712 INFO kablam! 212 | let (efd1, efd2) = (eventfd(0, EFD_CLOEXEC).unwrap(), eventfd(0, EFD_CLOEXEC).unwrap()); Jul 12 09:49:23.712 INFO kablam! | ^^^^^^^^^^^ not found in this scope Jul 12 09:49:23.712 INFO kablam! help: possible candidate is found in another module, you can import it into scope Jul 12 09:49:23.712 INFO kablam! | Jul 12 09:49:23.712 INFO kablam! 173 | use libc::EFD_CLOEXEC; Jul 12 09:49:23.712 INFO kablam! | Jul 12 09:49:23.712 INFO kablam! Jul 12 09:49:23.712 INFO kablam! error[E0425]: cannot find value `EFD_CLOEXEC` in this scope Jul 12 09:49:23.712 INFO kablam! --> src/fdbuf.rs:212:74 Jul 12 09:49:23.712 INFO kablam! | Jul 12 09:49:23.712 INFO kablam! 212 | let (efd1, efd2) = (eventfd(0, EFD_CLOEXEC).unwrap(), eventfd(0, EFD_CLOEXEC).unwrap()); Jul 12 09:49:23.712 INFO kablam! | ^^^^^^^^^^^ not found in this scope Jul 12 09:49:23.712 INFO kablam! help: possible candidate is found in another module, you can import it into scope Jul 12 09:49:23.713 INFO kablam! | Jul 12 09:49:23.713 INFO kablam! 173 | use libc::EFD_CLOEXEC; Jul 12 09:49:23.713 INFO kablam! | Jul 12 09:49:23.713 INFO kablam! Jul 12 09:49:23.713 INFO kablam! error[E0425]: cannot find function `scoped` in module `std::thread` Jul 12 09:49:23.713 INFO kablam! --> src/fdbuf.rs:226:36 Jul 12 09:49:23.713 INFO kablam! | Jul 12 09:49:23.713 INFO kablam! 226 | let guard = ::std::thread::scoped(move || { Jul 12 09:49:23.713 INFO kablam! | ^^^^^^ not found in `std::thread` Jul 12 09:49:23.713 INFO kablam! Jul 12 09:49:24.276 INFO kablam! error[E0560]: struct `fdbuf::tests::nix::sys::epoll::EpollEvent` has no field named `data` Jul 12 09:49:24.276 INFO kablam! --> src/fdbuf.rs:187:34 Jul 12 09:49:24.276 INFO kablam! | Jul 12 09:49:24.276 INFO kablam! 187 | let event = EpollEvent { data: 0, events: EPOLLIN }; Jul 12 09:49:24.276 INFO kablam! | ^^^^ `fdbuf::tests::nix::sys::epoll::EpollEvent` does not have this field Jul 12 09:49:24.276 INFO kablam! Jul 12 09:49:24.276 INFO kablam! error[E0560]: struct `fdbuf::tests::nix::sys::epoll::EpollEvent` has no field named `events` Jul 12 09:49:24.276 INFO kablam! --> src/fdbuf.rs:187:43 Jul 12 09:49:24.276 INFO kablam! | Jul 12 09:49:24.276 INFO kablam! 187 | let event = EpollEvent { data: 0, events: EPOLLIN }; Jul 12 09:49:24.276 INFO kablam! | ^^^^^^ `fdbuf::tests::nix::sys::epoll::EpollEvent` does not have this field Jul 12 09:49:24.276 INFO kablam! Jul 12 09:49:24.281 INFO kablam! error[E0277]: the trait bound `std::option::Option<&mut fdbuf::tests::nix::sys::epoll::EpollEvent>: std::convert::From<&fdbuf::tests::nix::sys::epoll::EpollEvent>` is not satisfied Jul 12 09:49:24.281 INFO kablam! --> src/fdbuf.rs:188:9 Jul 12 09:49:24.281 INFO kablam! | Jul 12 09:49:24.281 INFO kablam! 188 | epoll_ctl(sleep, EpollOp::EpollCtlAdd, fd, &event).unwrap(); Jul 12 09:49:24.281 INFO kablam! | ^^^^^^^^^ the trait `std::convert::From<&fdbuf::tests::nix::sys::epoll::EpollEvent>` is not implemented for `std::option::Option<&mut fdbuf::tests::nix::sys::epoll::EpollEvent>` Jul 12 09:49:24.281 INFO kablam! | Jul 12 09:49:24.281 INFO kablam! = help: the following implementations were found: Jul 12 09:49:24.281 INFO kablam! as std::convert::From> Jul 12 09:49:24.281 INFO kablam! = note: required because of the requirements on the impl of `std::convert::Into>` for `&fdbuf::tests::nix::sys::epoll::EpollEvent` Jul 12 09:49:24.281 INFO kablam! = note: required by `fdbuf::tests::nix::sys::epoll::epoll_ctl` Jul 12 09:49:24.281 INFO kablam! Jul 12 09:49:24.282 INFO kablam! error[E0560]: struct `fdbuf::tests::nix::sys::epoll::EpollEvent` has no field named `data` Jul 12 09:49:24.282 INFO kablam! --> src/fdbuf.rs:193:40 Jul 12 09:49:24.282 INFO kablam! | Jul 12 09:49:24.282 INFO kablam! 193 | let mut events = [EpollEvent { data: 0, events: EPOLLIN }]; Jul 12 09:49:24.282 INFO kablam! | ^^^^ `fdbuf::tests::nix::sys::epoll::EpollEvent` does not have this field Jul 12 09:49:24.282 INFO kablam! Jul 12 09:49:24.282 INFO kablam! error[E0560]: struct `fdbuf::tests::nix::sys::epoll::EpollEvent` has no field named `events` Jul 12 09:49:24.282 INFO kablam! --> src/fdbuf.rs:193:49 Jul 12 09:49:24.283 INFO kablam! | Jul 12 09:49:24.283 INFO kablam! 193 | let mut events = [EpollEvent { data: 0, events: EPOLLIN }]; Jul 12 09:49:24.283 INFO kablam! | ^^^^^^ `fdbuf::tests::nix::sys::epoll::EpollEvent` does not have this field Jul 12 09:49:24.283 INFO kablam! Jul 12 09:49:24.291 INFO kablam! error[E0600]: cannot apply unary operator `-` to type `u32` Jul 12 09:49:24.291 INFO kablam! --> src/fdbuf.rs:233:69 Jul 12 09:49:24.291 INFO kablam! | Jul 12 09:49:24.292 INFO kablam! 233 | for z in d.iter().take(300) { cc += 1; if *z == -1 { quit = true; return (cc, false); } sum += *z as u64 }; Jul 12 09:49:24.292 INFO kablam! | ^^ cannot apply unary operator `-` Jul 12 09:49:24.292 INFO kablam! | Jul 12 09:49:24.292 INFO kablam! = note: unsigned values cannot be negated Jul 12 09:49:24.292 INFO kablam! Jul 12 09:49:24.312 INFO kablam! error[E0277]: the trait bound `u32: std::ops::Neg` is not satisfied Jul 12 09:49:24.312 INFO kablam! --> src/fdbuf.rs:261:29 Jul 12 09:49:24.312 INFO kablam! | Jul 12 09:49:24.312 INFO kablam! 261 | s.send(|d| { d[0] = -1; (1, false) }).unwrap(); Jul 12 09:49:24.312 INFO kablam! | ^^ the trait `std::ops::Neg` is not implemented for `u32` Jul 12 09:49:24.312 INFO kablam! Jul 12 09:49:24.329 INFO kablam! error: aborting due to 12 previous errors Jul 12 09:49:24.329 INFO kablam! Jul 12 09:49:24.329 INFO kablam! Some errors occurred: E0277, E0425, E0560, E0600. Jul 12 09:49:24.330 INFO kablam! For more information about an error, try `rustc --explain E0277`. Jul 12 09:49:24.341 INFO kablam! error: Could not compile `fdringbuf`. Jul 12 09:49:24.342 INFO kablam! Jul 12 09:49:24.342 INFO kablam! To learn more, run the command again with --verbose. Jul 12 09:49:24.344 INFO kablam! su: No module specific data is present Jul 12 09:49:25.204 INFO running `"docker" "rm" "-f" "fd61f5bdf71675fc3509879da0d8c492b57d199e95d2e95f6002df0aa5f48fd8"` Jul 12 09:49:25.429 INFO blam! fd61f5bdf71675fc3509879da0d8c492b57d199e95d2e95f6002df0aa5f48fd8