[INFO] fetching crate td_revent 0.3.2... [INFO] checking td_revent-0.3.2 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate td_revent 0.3.2 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate td_revent 0.3.2 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate td_revent 0.3.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate td_revent 0.3.2 [INFO] tweaked toml for crates.io crate td_revent 0.3.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate td_revent 0.3.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rbtree v0.1.5 [INFO] [stderr] Downloaded psocket v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4995234e5bcadcfed4e9d0499f5e8af14090ba0e3e645d4eb6d831c86788c475 [INFO] running `Command { std: "docker" "start" "-a" "4995234e5bcadcfed4e9d0499f5e8af14090ba0e3e645d4eb6d831c86788c475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4995234e5bcadcfed4e9d0499f5e8af14090ba0e3e645d4eb6d831c86788c475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4995234e5bcadcfed4e9d0499f5e8af14090ba0e3e645d4eb6d831c86788c475", kill_on_drop: false }` [INFO] [stdout] 4995234e5bcadcfed4e9d0499f5e8af14090ba0e3e645d4eb6d831c86788c475 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4df279f9b5eaf80bb3cf63b4a9495510cc7eb231166044cbdcdc2b74ab3d5cc8 [INFO] running `Command { std: "docker" "start" "-a" "4df279f9b5eaf80bb3cf63b4a9495510cc7eb231166044cbdcdc2b74ab3d5cc8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking rbtree v0.1.5 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking psocket v0.1.5 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking td_revent v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `FLAG_READ`, `FLAG_WRITE`, `FLAG_ACCEPT` [INFO] [stdout] --> src/sys/unix/epoll.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use {EventEntry, EventFlags, FLAG_READ, FLAG_WRITE, FLAG_ACCEPT, EventBuffer, EventLoop, RetValue}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ no `FLAG_ACCEPT` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `FLAG_WRITE` in the root [INFO] [stdout] | no `FLAG_READ` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `FLAG_READ`, `FLAG_WRITE`, `FLAG_ACCEPT` [INFO] [stdout] --> src/sys/unix/epoll.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use {EventEntry, EventFlags, FLAG_READ, FLAG_WRITE, FLAG_ACCEPT, EventBuffer, EventLoop, RetValue}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ no `FLAG_ACCEPT` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `FLAG_WRITE` in the root [INFO] [stdout] | no `FLAG_READ` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EPOLLIN` in this scope [INFO] [stdout] --> src/sys/unix/epoll.rs:194:38 [INFO] [stdout] | [INFO] [stdout] 194 | if value.events.contains(EPOLLIN) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use libc::EPOLLIN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EPOLLOUT` in this scope [INFO] [stdout] --> src/sys/unix/epoll.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | if value.events.contains(EPOLLOUT) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use libc::EPOLLOUT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EPOLLIN` in this scope [INFO] [stdout] --> src/sys/unix/epoll.rs:231:38 [INFO] [stdout] | [INFO] [stdout] 231 | if value.events.contains(EPOLLIN) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use libc::EPOLLIN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EPOLLOUT` in this scope [INFO] [stdout] --> src/sys/unix/epoll.rs:234:38 [INFO] [stdout] | [INFO] [stdout] 234 | if value.events.contains(EPOLLOUT) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use libc::EPOLLOUT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EpollEventKind` in this scope [INFO] [stdout] --> src/sys/unix/epoll.rs:378:47 [INFO] [stdout] | [INFO] [stdout] 378 | fn ioevent_to_epoll(ev_events: EventFlags) -> EpollEventKind { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `EpollEvent` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix-0.24.1/src/sys/epoll.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct EpollEvent { [INFO] [stdout] | --------------------- similarly named struct `EpollEvent` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EPOLLIN` in this scope [INFO] [stdout] --> src/sys/unix/epoll.rs:382:21 [INFO] [stdout] | [INFO] [stdout] 382 | kind.insert(EPOLLIN); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use libc::EPOLLIN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EPOLLOUT` in this scope [INFO] [stdout] --> src/sys/unix/epoll.rs:386:21 [INFO] [stdout] | [INFO] [stdout] 386 | kind.insert(EPOLLOUT); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use libc::EPOLLOUT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EPOLLIN` in this scope [INFO] [stdout] --> src/sys/unix/epoll.rs:194:38 [INFO] [stdout] | [INFO] [stdout] 194 | if value.events.contains(EPOLLIN) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use libc::EPOLLIN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EPOLLOUT` in this scope [INFO] [stdout] --> src/sys/unix/epoll.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | if value.events.contains(EPOLLOUT) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use libc::EPOLLOUT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EPOLLIN` in this scope [INFO] [stdout] --> src/sys/unix/epoll.rs:231:38 [INFO] [stdout] | [INFO] [stdout] 231 | if value.events.contains(EPOLLIN) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use libc::EPOLLIN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EPOLLOUT` in this scope [INFO] [stdout] --> src/sys/unix/epoll.rs:234:38 [INFO] [stdout] | [INFO] [stdout] 234 | if value.events.contains(EPOLLOUT) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use libc::EPOLLOUT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EpollEventKind` in this scope [INFO] [stdout] --> src/sys/unix/epoll.rs:378:47 [INFO] [stdout] | [INFO] [stdout] 378 | fn ioevent_to_epoll(ev_events: EventFlags) -> EpollEventKind { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a struct with a similar name exists: `EpollEvent` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix-0.24.1/src/sys/epoll.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct EpollEvent { [INFO] [stdout] | --------------------- similarly named struct `EpollEvent` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EPOLLIN` in this scope [INFO] [stdout] --> src/sys/unix/epoll.rs:382:21 [INFO] [stdout] | [INFO] [stdout] 382 | kind.insert(EPOLLIN); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use libc::EPOLLIN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EPOLLOUT` in this scope [INFO] [stdout] --> src/sys/unix/epoll.rs:386:21 [INFO] [stdout] | [INFO] [stdout] 386 | kind.insert(EPOLLOUT); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use libc::EPOLLOUT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `events` on type `nix::sys::epoll::EpollEvent` [INFO] [stdout] --> src/sys/unix/epoll.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | if value.events.contains(EPOLLIN) { [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 194 | if value.events().contains(EPOLLIN) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `data` on type `nix::sys::epoll::EpollEvent` [INFO] [stdout] --> src/sys/unix/epoll.rs:195:40 [INFO] [stdout] | [INFO] [stdout] 195 | read_done(event, value.data as SOCKET); [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 195 | read_done(event, value.data() as SOCKET); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `events` on type `nix::sys::epoll::EpollEvent` [INFO] [stdout] --> src/sys/unix/epoll.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | if value.events.contains(EPOLLOUT) { [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 197 | if value.events().contains(EPOLLOUT) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `data` on type `nix::sys::epoll::EpollEvent` [INFO] [stdout] --> src/sys/unix/epoll.rs:198:41 [INFO] [stdout] | [INFO] [stdout] 198 | write_done(event, value.data as SOCKET); [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 198 | write_done(event, value.data() as SOCKET); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `events` on type `nix::sys::epoll::EpollEvent` [INFO] [stdout] --> src/sys/unix/epoll.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | if value.events.contains(EPOLLIN) { [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 231 | if value.events().contains(EPOLLIN) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `events` on type `nix::sys::epoll::EpollEvent` [INFO] [stdout] --> src/sys/unix/epoll.rs:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | if value.events.contains(EPOLLOUT) { [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 234 | if value.events().contains(EPOLLOUT) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `data` on type `nix::sys::epoll::EpollEvent` [INFO] [stdout] --> src/sys/unix/epoll.rs:237:50 [INFO] [stdout] | [INFO] [stdout] 237 | evts.push(EventEntry::new_evfd(value.data as i32, ev_flag)); [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 237 | evts.push(EventEntry::new_evfd(value.data() as i32, ev_flag)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `events` [INFO] [stdout] --> src/sys/unix/epoll.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | events: ioevent_to_epoll(ev_events), [INFO] [stdout] | ^^^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `data` [INFO] [stdout] --> src/sys/unix/epoll.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | data: socket as u64, [INFO] [stdout] | ^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option<&mut nix::sys::epoll::EpollEvent>: From<&nix::sys::epoll::EpollEvent>` is not satisfied [INFO] [stdout] --> src/sys/unix/epoll.rs:249:69 [INFO] [stdout] | [INFO] [stdout] 249 | epoll_ctl(self.epfd, EpollOp::EpollCtlAdd, socket as RawFd, &info) [INFO] [stdout] | --------- required by a bound introduced by this call ^^^^^ the trait `From<&nix::sys::epoll::EpollEvent>` is not implemented for `Option<&mut nix::sys::epoll::EpollEvent>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `&nix::sys::epoll::EpollEvent` to implement `Into>` [INFO] [stdout] note: required by a bound in `nix::sys::epoll::epoll_ctl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix-0.24.1/src/sys/epoll.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn epoll_ctl<'a, T>(epfd: RawFd, op: EpollOp, fd: RawFd, event: T) -> Result<()> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 84 | where T: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `epoll_ctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `events` [INFO] [stdout] --> src/sys/unix/epoll.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | events: ioevent_to_epoll(ev_events), [INFO] [stdout] | ^^^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `data` [INFO] [stdout] --> src/sys/unix/epoll.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | data: socket as u64, [INFO] [stdout] | ^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option<&mut nix::sys::epoll::EpollEvent>: From<&nix::sys::epoll::EpollEvent>` is not satisfied [INFO] [stdout] --> src/sys/unix/epoll.rs:260:69 [INFO] [stdout] | [INFO] [stdout] 260 | epoll_ctl(self.epfd, EpollOp::EpollCtlMod, socket as RawFd, &info) [INFO] [stdout] | --------- required by a bound introduced by this call ^^^^^ the trait `From<&nix::sys::epoll::EpollEvent>` is not implemented for `Option<&mut nix::sys::epoll::EpollEvent>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `&nix::sys::epoll::EpollEvent` to implement `Into>` [INFO] [stdout] note: required by a bound in `nix::sys::epoll::epoll_ctl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix-0.24.1/src/sys/epoll.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn epoll_ctl<'a, T>(epfd: RawFd, op: EpollOp, fd: RawFd, event: T) -> Result<()> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 84 | where T: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `epoll_ctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `events` [INFO] [stdout] --> src/sys/unix/epoll.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | events: ioevent_to_epoll(ev_events), [INFO] [stdout] | ^^^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `data` [INFO] [stdout] --> src/sys/unix/epoll.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | data: 0, [INFO] [stdout] | ^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option<&mut nix::sys::epoll::EpollEvent>: From<&nix::sys::epoll::EpollEvent>` is not satisfied [INFO] [stdout] --> src/sys/unix/epoll.rs:270:69 [INFO] [stdout] | [INFO] [stdout] 270 | epoll_ctl(self.epfd, EpollOp::EpollCtlDel, socket as RawFd, &info) [INFO] [stdout] | --------- required by a bound introduced by this call ^^^^^ the trait `From<&nix::sys::epoll::EpollEvent>` is not implemented for `Option<&mut nix::sys::epoll::EpollEvent>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `&nix::sys::epoll::EpollEvent` to implement `Into>` [INFO] [stdout] note: required by a bound in `nix::sys::epoll::epoll_ctl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix-0.24.1/src/sys/epoll.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn epoll_ctl<'a, T>(epfd: RawFd, op: EpollOp, fd: RawFd, event: T) -> Result<()> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 84 | where T: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `epoll_ctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `events` [INFO] [stdout] --> src/sys/unix/epoll.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | events: ioevent_to_epoll(entry.ev_events), [INFO] [stdout] | ^^^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `data` [INFO] [stdout] --> src/sys/unix/epoll.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | data: socket as u64, [INFO] [stdout] | ^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option<&mut nix::sys::epoll::EpollEvent>: From<&nix::sys::epoll::EpollEvent>` is not satisfied [INFO] [stdout] --> src/sys/unix/epoll.rs:296:89 [INFO] [stdout] | [INFO] [stdout] 296 | if let Err(e) = epoll_ctl(selector.epfd, EpollOp::EpollCtlAdd, socket as RawFd, &info) [INFO] [stdout] | --------- required by a bound introduced by this call ^^^^^ the trait `From<&nix::sys::epoll::EpollEvent>` is not implemented for `Option<&mut nix::sys::epoll::EpollEvent>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `&nix::sys::epoll::EpollEvent` to implement `Into>` [INFO] [stdout] note: required by a bound in `nix::sys::epoll::epoll_ctl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix-0.24.1/src/sys/epoll.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn epoll_ctl<'a, T>(epfd: RawFd, op: EpollOp, fd: RawFd, event: T) -> Result<()> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 84 | where T: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `epoll_ctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `events` [INFO] [stdout] --> src/sys/unix/epoll.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | events: ioevent_to_epoll(event.entry.ev_events), [INFO] [stdout] | ^^^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `events` on type `nix::sys::epoll::EpollEvent` [INFO] [stdout] --> src/sys/unix/epoll.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | if value.events.contains(EPOLLIN) { [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 194 | if value.events().contains(EPOLLIN) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `data` [INFO] [stdout] --> src/sys/unix/epoll.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | data: 0, [INFO] [stdout] | ^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `data` on type `nix::sys::epoll::EpollEvent` [INFO] [stdout] --> src/sys/unix/epoll.rs:195:40 [INFO] [stdout] | [INFO] [stdout] 195 | read_done(event, value.data as SOCKET); [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 195 | read_done(event, value.data() as SOCKET); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `events` on type `nix::sys::epoll::EpollEvent` [INFO] [stdout] --> src/sys/unix/epoll.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | if value.events.contains(EPOLLOUT) { [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 197 | if value.events().contains(EPOLLOUT) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `data` on type `nix::sys::epoll::EpollEvent` [INFO] [stdout] --> src/sys/unix/epoll.rs:198:41 [INFO] [stdout] | [INFO] [stdout] 198 | write_done(event, value.data as SOCKET); [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 198 | write_done(event, value.data() as SOCKET); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option<&mut nix::sys::epoll::EpollEvent>: From<&nix::sys::epoll::EpollEvent>` is not satisfied [INFO] [stdout] --> src/sys/unix/epoll.rs:328:93 [INFO] [stdout] | [INFO] [stdout] 328 | if let Err(e) = epoll_ctl(selector.epfd, EpollOp::EpollCtlDel, socket as RawFd, &info) [INFO] [stdout] | --------- required by a bound introduced by this call ^^^^^ the trait `From<&nix::sys::epoll::EpollEvent>` is not implemented for `Option<&mut nix::sys::epoll::EpollEvent>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `&nix::sys::epoll::EpollEvent` to implement `Into>` [INFO] [stdout] note: required by a bound in `nix::sys::epoll::epoll_ctl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix-0.24.1/src/sys/epoll.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn epoll_ctl<'a, T>(epfd: RawFd, op: EpollOp, fd: RawFd, event: T) -> Result<()> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 84 | where T: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `epoll_ctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `events` on type `nix::sys::epoll::EpollEvent` [INFO] [stdout] --> src/sys/unix/epoll.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | if value.events.contains(EPOLLIN) { [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 231 | if value.events().contains(EPOLLIN) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `events` on type `nix::sys::epoll::EpollEvent` [INFO] [stdout] --> src/sys/unix/epoll.rs:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | if value.events.contains(EPOLLOUT) { [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 234 | if value.events().contains(EPOLLOUT) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `data` on type `nix::sys::epoll::EpollEvent` [INFO] [stdout] --> src/sys/unix/epoll.rs:237:50 [INFO] [stdout] | [INFO] [stdout] 237 | evts.push(EventEntry::new_evfd(value.data as i32, ev_flag)); [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 237 | evts.push(EventEntry::new_evfd(value.data() as i32, ev_flag)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `events` [INFO] [stdout] --> src/sys/unix/epoll.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | events: ioevent_to_epoll(ev_events), [INFO] [stdout] | ^^^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `data` [INFO] [stdout] --> src/sys/unix/epoll.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | data: socket as u64, [INFO] [stdout] | ^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpollEventKind` [INFO] [stdout] --> src/sys/unix/epoll.rs:379:20 [INFO] [stdout] | [INFO] [stdout] 379 | let mut kind = EpollEventKind::empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `EpollEventKind` [INFO] [stdout] | help: a struct with a similar name exists: `EpollEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option<&mut nix::sys::epoll::EpollEvent>: From<&nix::sys::epoll::EpollEvent>` is not satisfied [INFO] [stdout] --> src/sys/unix/epoll.rs:249:69 [INFO] [stdout] | [INFO] [stdout] 249 | epoll_ctl(self.epfd, EpollOp::EpollCtlAdd, socket as RawFd, &info) [INFO] [stdout] | --------- required by a bound introduced by this call ^^^^^ the trait `From<&nix::sys::epoll::EpollEvent>` is not implemented for `Option<&mut nix::sys::epoll::EpollEvent>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `&nix::sys::epoll::EpollEvent` to implement `Into>` [INFO] [stdout] note: required by a bound in `nix::sys::epoll::epoll_ctl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix-0.24.1/src/sys/epoll.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn epoll_ctl<'a, T>(epfd: RawFd, op: EpollOp, fd: RawFd, event: T) -> Result<()> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 84 | where T: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `epoll_ctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `events` [INFO] [stdout] --> src/sys/unix/epoll.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | events: ioevent_to_epoll(ev_events), [INFO] [stdout] | ^^^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `data` [INFO] [stdout] --> src/sys/unix/epoll.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | data: socket as u64, [INFO] [stdout] | ^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option<&mut nix::sys::epoll::EpollEvent>: From<&nix::sys::epoll::EpollEvent>` is not satisfied [INFO] [stdout] --> src/sys/unix/epoll.rs:260:69 [INFO] [stdout] | [INFO] [stdout] 260 | epoll_ctl(self.epfd, EpollOp::EpollCtlMod, socket as RawFd, &info) [INFO] [stdout] | --------- required by a bound introduced by this call ^^^^^ the trait `From<&nix::sys::epoll::EpollEvent>` is not implemented for `Option<&mut nix::sys::epoll::EpollEvent>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `&nix::sys::epoll::EpollEvent` to implement `Into>` [INFO] [stdout] note: required by a bound in `nix::sys::epoll::epoll_ctl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix-0.24.1/src/sys/epoll.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn epoll_ctl<'a, T>(epfd: RawFd, op: EpollOp, fd: RawFd, event: T) -> Result<()> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 84 | where T: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `epoll_ctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `events` [INFO] [stdout] --> src/sys/unix/epoll.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | events: ioevent_to_epoll(ev_events), [INFO] [stdout] | ^^^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `data` [INFO] [stdout] --> src/sys/unix/epoll.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | data: 0, [INFO] [stdout] | ^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option<&mut nix::sys::epoll::EpollEvent>: From<&nix::sys::epoll::EpollEvent>` is not satisfied [INFO] [stdout] --> src/sys/unix/epoll.rs:270:69 [INFO] [stdout] | [INFO] [stdout] 270 | epoll_ctl(self.epfd, EpollOp::EpollCtlDel, socket as RawFd, &info) [INFO] [stdout] | --------- required by a bound introduced by this call ^^^^^ the trait `From<&nix::sys::epoll::EpollEvent>` is not implemented for `Option<&mut nix::sys::epoll::EpollEvent>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `&nix::sys::epoll::EpollEvent` to implement `Into>` [INFO] [stdout] note: required by a bound in `nix::sys::epoll::epoll_ctl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix-0.24.1/src/sys/epoll.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn epoll_ctl<'a, T>(epfd: RawFd, op: EpollOp, fd: RawFd, event: T) -> Result<()> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 84 | where T: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `epoll_ctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `events` [INFO] [stdout] --> src/sys/unix/epoll.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | events: ioevent_to_epoll(entry.ev_events), [INFO] [stdout] | ^^^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `data` [INFO] [stdout] --> src/sys/unix/epoll.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | data: socket as u64, [INFO] [stdout] | ^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option<&mut nix::sys::epoll::EpollEvent>: From<&nix::sys::epoll::EpollEvent>` is not satisfied [INFO] [stdout] --> src/sys/unix/epoll.rs:296:89 [INFO] [stdout] | [INFO] [stdout] 296 | if let Err(e) = epoll_ctl(selector.epfd, EpollOp::EpollCtlAdd, socket as RawFd, &info) [INFO] [stdout] | --------- required by a bound introduced by this call ^^^^^ the trait `From<&nix::sys::epoll::EpollEvent>` is not implemented for `Option<&mut nix::sys::epoll::EpollEvent>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `&nix::sys::epoll::EpollEvent` to implement `Into>` [INFO] [stdout] note: required by a bound in `nix::sys::epoll::epoll_ctl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix-0.24.1/src/sys/epoll.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn epoll_ctl<'a, T>(epfd: RawFd, op: EpollOp, fd: RawFd, event: T) -> Result<()> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 84 | where T: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `epoll_ctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `events` [INFO] [stdout] --> src/sys/unix/epoll.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | events: ioevent_to_epoll(event.entry.ev_events), [INFO] [stdout] | ^^^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `data` [INFO] [stdout] --> src/sys/unix/epoll.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | data: 0, [INFO] [stdout] | ^^^^ `nix::sys::epoll::EpollEvent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option<&mut nix::sys::epoll::EpollEvent>: From<&nix::sys::epoll::EpollEvent>` is not satisfied [INFO] [stdout] --> src/sys/unix/epoll.rs:328:93 [INFO] [stdout] | [INFO] [stdout] 328 | if let Err(e) = epoll_ctl(selector.epfd, EpollOp::EpollCtlDel, socket as RawFd, &info) [INFO] [stdout] | --------- required by a bound introduced by this call ^^^^^ the trait `From<&nix::sys::epoll::EpollEvent>` is not implemented for `Option<&mut nix::sys::epoll::EpollEvent>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Option<&T>` implements `From<&Option>` [INFO] [stdout] `Option<&mut T>` implements `From<&mut Option>` [INFO] [stdout] `Option` implements `From` [INFO] [stdout] = note: required for `&nix::sys::epoll::EpollEvent` to implement `Into>` [INFO] [stdout] note: required by a bound in `nix::sys::epoll::epoll_ctl` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix-0.24.1/src/sys/epoll.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn epoll_ctl<'a, T>(epfd: RawFd, op: EpollOp, fd: RawFd, event: T) -> Result<()> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 84 | where T: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `epoll_ctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpollEventKind` [INFO] [stdout] --> src/sys/unix/epoll.rs:379:20 [INFO] [stdout] | [INFO] [stdout] 379 | let mut kind = EpollEventKind::empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `EpollEventKind` [INFO] [stdout] | help: a struct with a similar name exists: `EpollEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0560, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `td_revent` (lib) due to 31 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0560, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `td_revent` (lib test) due to 31 previous errors [INFO] running `Command { std: "docker" "inspect" "4df279f9b5eaf80bb3cf63b4a9495510cc7eb231166044cbdcdc2b74ab3d5cc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4df279f9b5eaf80bb3cf63b4a9495510cc7eb231166044cbdcdc2b74ab3d5cc8", kill_on_drop: false }` [INFO] [stdout] 4df279f9b5eaf80bb3cf63b4a9495510cc7eb231166044cbdcdc2b74ab3d5cc8