[INFO] fetching crate rux 0.1.0... [INFO] checking rux-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rux 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate rux 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rux 0.1.0 [INFO] finished tweaking crates.io crate rux 0.1.0 [INFO] tweaked toml for crates.io crate rux 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding backtrace v0.2.3 (available: v0.3.74) [INFO] [stderr] Adding bitflags v0.4.0 (available: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding error-chain v0.5.0 (available: v0.12.4) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding nix v0.7.0 (available: v0.29.0) [INFO] [stderr] Adding rustc_version v0.1.7 (available: v0.4.1) [INFO] [stderr] Adding semver v0.1.20 (available: v1.0.23) [INFO] [stderr] Adding slab v0.3.0 (available: v0.4.9) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] Downloading crates ... [INFO] [stderr] Downloaded slab v0.3.0 [INFO] [stderr] Downloaded backtrace v0.2.3 [INFO] [stderr] Downloaded error-chain v0.5.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a22cdbac6196af88af7d50ebc25975861cb6f1bcf7ced7953a8186f374dedab6 [INFO] running `Command { std: "docker" "start" "-a" "a22cdbac6196af88af7d50ebc25975861cb6f1bcf7ced7953a8186f374dedab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a22cdbac6196af88af7d50ebc25975861cb6f1bcf7ced7953a8186f374dedab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a22cdbac6196af88af7d50ebc25975861cb6f1bcf7ced7953a8186f374dedab6", kill_on_drop: false }` [INFO] [stdout] a22cdbac6196af88af7d50ebc25975861cb6f1bcf7ced7953a8186f374dedab6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 439d773c5a51b4a1b5297505c93c4fcb02d4ba94036e75dad82de7f38c55beef [INFO] running `Command { std: "docker" "start" "-a" "439d773c5a51b4a1b5297505c93c4fcb02d4ba94036e75dad82de7f38c55beef", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Checking error-chain v0.5.0 [INFO] [stderr] Checking rux v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0407]: method `on_error` is not a member of trait `Handler` [INFO] [stdout] --> src/protocol.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / fn on_error(&mut self) -> Result<()> { [INFO] [stdout] 64 | | self.on_error = true; [INFO] [stdout] 65 | | Ok(()) [INFO] [stdout] 66 | | } [INFO] [stdout] | |_________^ not a member of trait `Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `on_close` is not a member of trait `Handler` [INFO] [stdout] --> src/protocol.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / fn on_close(&mut self) -> Result<()> { [INFO] [stdout] 69 | | self.on_close = true; [INFO] [stdout] 70 | | Ok(()) [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________^ not a member of trait `Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `on_readable` is not a member of trait `Handler` [INFO] [stdout] --> src/protocol.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | / fn on_readable(&mut self) -> Result<()> { [INFO] [stdout] 74 | | self.on_readable = true; [INFO] [stdout] 75 | | Ok(()) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_________^ not a member of trait `Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `on_writable` is not a member of trait `Handler` [INFO] [stdout] --> src/protocol.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / fn on_writable(&mut self) -> Result<()> { [INFO] [stdout] 79 | | self.on_writable = true; [INFO] [stdout] 80 | | Ok(()) [INFO] [stdout] 81 | | } [INFO] [stdout] | |_________^ not a member of trait `Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `new` is not a member of trait `IOProtocol` [INFO] [stdout] --> src/protocol.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / fn new(&self, _: usize, _: RawFd, _: EpollFd) -> Box { [INFO] [stdout] 88 | | Box::new(TestHandler { [INFO] [stdout] 89 | | on_close: false, [INFO] [stdout] 90 | | on_error: false, [INFO] [stdout] ... | [INFO] [stdout] 93 | | }) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_________^ not a member of trait `IOProtocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/poll/mod.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | let fd = try!(epoll_create()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/poll/mod.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let cnt = try!(epoll_wait(self.epfd.fd, dst, self.loop_ms)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/poll/mod.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let cnt = try!(self.wait(dst)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/poll/mod.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | try!(epoll_ctl(self.fd, op, fd, interest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/poll/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | try!(self.ctl(EpollOp::EpollCtlMod, interest, fd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/poll/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | try!(self.ctl(EpollOp::EpollCtlAdd, interest, fd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/poll/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | try!(self.ctl(EpollOp::EpollCtlDel, &NO_INTEREST, fd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler/echo.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(n) = try!(read(fd, From::from(&mut self.buf))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler/echo.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some(cnt) = try!(write(fd, From::from(&self.buf))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/simplemux.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let inet = try!(addr.to_socket_addrs().unwrap().next().ok_or("could not parse sockaddr")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/simplemux.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | let fd = try!(epoll_create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/simplemux.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let srvfd = try!(socket(AddressFamily::Inet, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/simplemux.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | try!(eintr!(bind, "bind", self.srvfd, &self.sockaddr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/simplemux.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | try!(eintr!(listen, "listen", self.srvfd, self.max_conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/simplemux.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | try!(self.cepfd.register(self.srvfd, &ceinfo)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/simplemux.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 189 | let epfd = EpollFd::new(try!(epoll_create())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | try!(mask.thread_block()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | try!(epoll.epfd.register(fd, &siginfo)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | try!(mask.thread_block()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let sigfd = try!(SignalFd::with_flags(&mask, SFD_NONBLOCK)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | let mut epoll = try!(Epoll::new_with(loop_ms, |epfd| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsRawFd` [INFO] [stdout] --> src/lib.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | use std::os::unix::io::{AsRawFd, RawFd}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let b = try!(eintr!(unistd::write, "unistd::write", fd, buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let b = try!(eintr!(unistd::read, "unistd::read", fd, buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/poll/mod.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | let fd = try!(epoll_create()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/poll/mod.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let cnt = try!(epoll_wait(self.epfd.fd, dst, self.loop_ms)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/poll/mod.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let cnt = try!(self.wait(dst)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/poll/mod.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | try!(epoll_ctl(self.fd, op, fd, interest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/poll/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | try!(self.ctl(EpollOp::EpollCtlMod, interest, fd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/poll/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | try!(self.ctl(EpollOp::EpollCtlAdd, interest, fd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/poll/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | try!(self.ctl(EpollOp::EpollCtlDel, &NO_INTEREST, fd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler/echo.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(n) = try!(read(fd, From::from(&mut self.buf))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler/echo.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some(cnt) = try!(write(fd, From::from(&self.buf))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/simplemux.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let inet = try!(addr.to_socket_addrs().unwrap().next().ok_or("could not parse sockaddr")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/simplemux.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | let fd = try!(epoll_create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/simplemux.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let srvfd = try!(socket(AddressFamily::Inet, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/simplemux.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | try!(eintr!(bind, "bind", self.srvfd, &self.sockaddr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/simplemux.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | try!(eintr!(listen, "listen", self.srvfd, self.max_conn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/simplemux.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | try!(self.cepfd.register(self.srvfd, &ceinfo)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/simplemux.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 189 | let epfd = EpollFd::new(try!(epoll_create())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | try!(mask.thread_block()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | try!(epoll.epfd.register(fd, &siginfo)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | try!(mask.thread_block()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let sigfd = try!(SignalFd::with_flags(&mask, SFD_NONBLOCK)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | let mut epoll = try!(Epoll::new_with(loop_ms, |epfd| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsRawFd` [INFO] [stdout] --> src/lib.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | use std::os::unix::io::{AsRawFd, RawFd}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let b = try!(eintr!(unistd::write, "unistd::write", fd, buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let b = try!(eintr!(unistd::read, "unistd::read", fd, buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/poll/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref NO_INTEREST: EpollEvent = { [INFO] [stdout] 17 | | EpollEvent { [INFO] [stdout] 18 | | events: EpollEventKind::empty(), [INFO] [stdout] ... | [INFO] [stdout] 21 | | }; [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / error_chain! { [INFO] [stdout] 3 | | types { [INFO] [stdout] 4 | | Error, ErrorKind, ChainErr, Result; [INFO] [stdout] 5 | | } [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll/mod.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | handler: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | handler: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler/sync.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | handlers: Slab>>, usize>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | handlers: Slab>>, usize>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/poll/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref NO_INTEREST: EpollEvent = { [INFO] [stdout] 17 | | EpollEvent { [INFO] [stdout] 18 | | events: EpollEventKind::empty(), [INFO] [stdout] ... | [INFO] [stdout] 21 | | }; [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / error_chain! { [INFO] [stdout] 3 | | types { [INFO] [stdout] 4 | | Error, ErrorKind, ChainErr, Result; [INFO] [stdout] 5 | | } [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll/mod.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | handler: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | handler: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:19:79 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_handler(&self, p: Self::Protocol, epfd: EpollFd, id: usize) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn get_handler(&self, p: Self::Protocol, epfd: EpollFd, id: usize) -> Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler/sync.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | handlers: Slab>>, usize>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | handlers: Slab>>, usize>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logging/mod.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn setup(&self, epfd: &EpollFd) -> Result>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn setup(&self, epfd: &EpollFd) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:19:79 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_handler(&self, p: Self::Protocol, epfd: EpollFd, id: usize) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn get_handler(&self, p: Self::Protocol, epfd: EpollFd, id: usize) -> Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logging/mod.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn setup(&self, epfd: &EpollFd) -> Result>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn setup(&self, epfd: &EpollFd) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll/mod.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn from_fd(epfd: EpollFd, handler: Box>, loop_ms: isize) -> Epoll { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn from_fd(epfd: EpollFd, handler: Box>, loop_ms: isize) -> Epoll { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll/mod.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | where F: FnOnce(EpollFd) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | where F: FnOnce(EpollFd) -> Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logging/mod.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | fn setup(&self, _: &EpollFd) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 | fn setup(&self, _: &EpollFd) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `handler::Handler` [INFO] [stdout] --> src/poll/mod.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | impl Handler for ChannelHandler { [INFO] [stdout] | ^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `E` [INFO] [stdout] --> src/handler/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Handler { [INFO] [stdout] | ^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 151 | impl Handler for ChannelHandler { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_handler` [INFO] [stdout] --> src/protocol.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_handler(&self, p: Self::Protocol, epfd: EpollFd, id: usize) -> Box>; [INFO] [stdout] | ----------------------------------------------------------------------------------------------- `get_handler` from trait [INFO] [stdout] ... [INFO] [stdout] 84 | impl IOProtocol for TestIOProtocol { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `get_handler` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:87:62 [INFO] [stdout] | [INFO] [stdout] 87 | fn new(&self, _: usize, _: RawFd, _: EpollFd) -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 | fn new(&self, _: usize, _: RawFd, _: EpollFd) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for trait `handler::Handler` [INFO] [stdout] --> src/protocol.rs:87:62 [INFO] [stdout] | [INFO] [stdout] 87 | fn new(&self, _: usize, _: RawFd, _: EpollFd) -> Box { [INFO] [stdout] | ^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 generic parameter: `E` [INFO] [stdout] --> src/handler/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Handler { [INFO] [stdout] | ^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 87 | fn new(&self, _: usize, _: RawFd, _: EpollFd) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll/mod.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn from_fd(epfd: EpollFd, handler: Box>, loop_ms: isize) -> Epoll { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn from_fd(epfd: EpollFd, handler: Box>, loop_ms: isize) -> Epoll { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll/mod.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | where F: FnOnce(EpollFd) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | where F: FnOnce(EpollFd) -> Box> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logging/mod.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | fn setup(&self, _: &EpollFd) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 | fn setup(&self, _: &EpollFd) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/poll/mod.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | / ChannelHandler { [INFO] [stdout] 168 | | tx: tx, [INFO] [stdout] 169 | | } [INFO] [stdout] | |_________________^ expected `Box>`, found `ChannelHandler` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::boxed::Box<(dyn handler::Handler + 'static)>` [INFO] [stdout] found struct `ChannelHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / error_chain! { [INFO] [stdout] 3 | | types { [INFO] [stdout] 4 | | Error, ErrorKind, ChainErr, Result; [INFO] [stdout] 5 | | } [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / error_chain! { [INFO] [stdout] 3 | | types { [INFO] [stdout] 4 | | Error, ErrorKind, ChainErr, Result; [INFO] [stdout] 5 | | } [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/server/mod.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 108 | trace!("ready(): {:?}: {:?}", ev.data, ev.events); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `format_args` which comes from the expansion of the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/server/mod.rs:108:48 [INFO] [stdout] | [INFO] [stdout] 108 | trace!("ready(): {:?}: {:?}", ev.data, ev.events); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `format_args` which comes from the expansion of the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0793`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rux` (lib) due to 3 previous errors; 34 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0308, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rux` (lib test) due to 10 previous errors; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "439d773c5a51b4a1b5297505c93c4fcb02d4ba94036e75dad82de7f38c55beef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "439d773c5a51b4a1b5297505c93c4fcb02d4ba94036e75dad82de7f38c55beef", kill_on_drop: false }` [INFO] [stdout] 439d773c5a51b4a1b5297505c93c4fcb02d4ba94036e75dad82de7f38c55beef