[INFO] crate fdringbuf 0.0.2 is already in cache [INFO] extracting crate fdringbuf 0.0.2 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/fdringbuf/0.0.2 [INFO] extracting crate fdringbuf 0.0.2 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/fdringbuf/0.0.2 [INFO] validating manifest of fdringbuf-0.0.2 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of fdringbuf-0.0.2 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing fdringbuf-0.0.2 [INFO] finished frobbing fdringbuf-0.0.2 [INFO] frobbed toml for fdringbuf-0.0.2 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/fdringbuf/0.0.2/Cargo.toml [INFO] started frobbing fdringbuf-0.0.2 [INFO] finished frobbing fdringbuf-0.0.2 [INFO] frobbed toml for fdringbuf-0.0.2 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/fdringbuf/0.0.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking fdringbuf-0.0.2 against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-7/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/fdringbuf/0.0.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=forbid" "-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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 6d1e2b26ef7527bc49f23ed945b2d5fa9ac22bcbd8a1abbca2cd05b6d201b398 [INFO] running `"docker" "start" "-a" "6d1e2b26ef7527bc49f23ed945b2d5fa9ac22bcbd8a1abbca2cd05b6d201b398"` [INFO] [stderr] warning: dependency (nix) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dev-dependencies.nix.nix [INFO] [stderr] Checking fdringbuf v0.0.2 (/opt/crater/workdir) [INFO] [stderr] error[E0425]: cannot find value `EPOLLIN` in this scope [INFO] [stderr] --> src/fdbuf.rs:187:51 [INFO] [stderr] | [INFO] [stderr] 187 | let event = EpollEvent { data: 0, events: EPOLLIN }; [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] 173 | use libc::EPOLLIN; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EPOLLIN` in this scope [INFO] [stderr] --> src/fdbuf.rs:193:57 [INFO] [stderr] | [INFO] [stderr] 193 | let mut events = [EpollEvent { data: 0, events: EPOLLIN }]; [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] 173 | use libc::EPOLLIN; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EFD_CLOEXEC` in this scope [INFO] [stderr] --> src/fdbuf.rs:212:40 [INFO] [stderr] | [INFO] [stderr] 212 | let (efd1, efd2) = (eventfd(0, EFD_CLOEXEC).unwrap(), eventfd(0, EFD_CLOEXEC).unwrap()); [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] 173 | use libc::EFD_CLOEXEC; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EFD_CLOEXEC` in this scope [INFO] [stderr] --> src/fdbuf.rs:212:74 [INFO] [stderr] | [INFO] [stderr] 212 | let (efd1, efd2) = (eventfd(0, EFD_CLOEXEC).unwrap(), eventfd(0, EFD_CLOEXEC).unwrap()); [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] 173 | use libc::EFD_CLOEXEC; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `scoped` in module `std::thread` [INFO] [stderr] --> src/fdbuf.rs:226:36 [INFO] [stderr] | [INFO] [stderr] 226 | let guard = ::std::thread::scoped(move || { [INFO] [stderr] | ^^^^^^ not found in `std::thread` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `fdbuf::tests::nix::sys::epoll::EpollEvent` has no field named `data` [INFO] [stderr] --> src/fdbuf.rs:187:34 [INFO] [stderr] | [INFO] [stderr] 187 | let event = EpollEvent { data: 0, events: EPOLLIN }; [INFO] [stderr] | ^^^^ `fdbuf::tests::nix::sys::epoll::EpollEvent` does not have this field [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `fdbuf::tests::nix::sys::epoll::EpollEvent` has no field named `events` [INFO] [stderr] --> src/fdbuf.rs:187:43 [INFO] [stderr] | [INFO] [stderr] 187 | let event = EpollEvent { data: 0, events: EPOLLIN }; [INFO] [stderr] | ^^^^^^ `fdbuf::tests::nix::sys::epoll::EpollEvent` does not have this field [INFO] [stderr] [INFO] [stderr] 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 [INFO] [stderr] --> src/fdbuf.rs:188:9 [INFO] [stderr] | [INFO] [stderr] 188 | epoll_ctl(sleep, EpollOp::EpollCtlAdd, fd, &event).unwrap(); [INFO] [stderr] | ^^^^^^^^^ 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>` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] as std::convert::From<&'a std::option::Option>> [INFO] [stderr] as std::convert::From<&'a mut std::option::Option>> [INFO] [stderr] as std::convert::From> [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into>` for `&fdbuf::tests::nix::sys::epoll::EpollEvent` [INFO] [stderr] = note: required by `fdbuf::tests::nix::sys::epoll::epoll_ctl` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `fdbuf::tests::nix::sys::epoll::EpollEvent` has no field named `data` [INFO] [stderr] --> src/fdbuf.rs:193:40 [INFO] [stderr] | [INFO] [stderr] 193 | let mut events = [EpollEvent { data: 0, events: EPOLLIN }]; [INFO] [stderr] | ^^^^ `fdbuf::tests::nix::sys::epoll::EpollEvent` does not have this field [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `fdbuf::tests::nix::sys::epoll::EpollEvent` has no field named `events` [INFO] [stderr] --> src/fdbuf.rs:193:49 [INFO] [stderr] | [INFO] [stderr] 193 | let mut events = [EpollEvent { data: 0, events: EPOLLIN }]; [INFO] [stderr] | ^^^^^^ `fdbuf::tests::nix::sys::epoll::EpollEvent` does not have this field [INFO] [stderr] [INFO] [stderr] error[E0600]: cannot apply unary operator `-` to type `u32` [INFO] [stderr] --> src/fdbuf.rs:233:69 [INFO] [stderr] | [INFO] [stderr] 233 | for z in d.iter().take(300) { cc += 1; if *z == -1 { quit = true; return (cc, false); } sum += *z as u64 }; [INFO] [stderr] | ^^ cannot apply unary operator `-` [INFO] [stderr] | [INFO] [stderr] = note: unsigned values cannot be negated [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `u32: std::ops::Neg` is not satisfied [INFO] [stderr] --> src/fdbuf.rs:261:29 [INFO] [stderr] | [INFO] [stderr] 261 | s.send(|d| { d[0] = -1; (1, false) }).unwrap(); [INFO] [stderr] | ^^ the trait `std::ops::Neg` is not implemented for `u32` [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0425, E0560, E0600. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `fdringbuf`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6d1e2b26ef7527bc49f23ed945b2d5fa9ac22bcbd8a1abbca2cd05b6d201b398"` [INFO] running `"docker" "rm" "-f" "6d1e2b26ef7527bc49f23ed945b2d5fa9ac22bcbd8a1abbca2cd05b6d201b398"` [INFO] [stdout] 6d1e2b26ef7527bc49f23ed945b2d5fa9ac22bcbd8a1abbca2cd05b6d201b398