[INFO] fetching crate tmp_mio 0.5.2...
[INFO] testing tmp_mio-0.5.2 against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] extracting crate tmp_mio 0.5.2 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate tmp_mio 0.5.2
[INFO] removed 3 missing tests
[INFO] finished tweaking crates.io crate tmp_mio 0.5.2
[INFO] tweaked toml for crates.io crate tmp_mio 0.5.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate tmp_mio 0.5.2 on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 34 packages to latest compatible versions
[INFO] [stderr]       Adding bytes v0.3.0 (available: v1.11.1)
[INFO] [stderr]       Adding env_logger v0.3.5 (available: v0.11.10)
[INFO] [stderr]       Adding log v0.3.9 (available: v0.4.29)
[INFO] [stderr]       Adding miow v0.1.5 (available: v0.6.1)
[INFO] [stderr]       Adding nix v0.5.1 (available: v0.31.3)
[INFO] [stderr]       Adding slab v0.1.3 (available: v0.4.12)
[INFO] [stderr]       Adding time v0.1.45 (available: v0.3.47)
[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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3df7fc0a5af2bfa05617eb11d53f4bc21c57c563def2ad0545ecaa5ba2da0e5b
[INFO] running `Command { std: "docker" "start" "-a" "3df7fc0a5af2bfa05617eb11d53f4bc21c57c563def2ad0545ecaa5ba2da0e5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3df7fc0a5af2bfa05617eb11d53f4bc21c57c563def2ad0545ecaa5ba2da0e5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3df7fc0a5af2bfa05617eb11d53f4bc21c57c563def2ad0545ecaa5ba2da0e5b", kill_on_drop: false }`
[INFO] [stdout] 3df7fc0a5af2bfa05617eb11d53f4bc21c57c563def2ad0545ecaa5ba2da0e5b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 538ef5e13356f720dabaa7b4b3a18d1f2c87b66237fb6984670d37f71f6be274
[INFO] running `Command { std: "docker" "start" "-a" "538ef5e13356f720dabaa7b4b3a18d1f2c87b66237fb6984670d37f71f6be274", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling bitflags v0.4.0
[INFO] [stderr]    Compiling slab v0.1.3
[INFO] [stderr]    Compiling bytes v0.3.0
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling nix v0.5.1
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling ws2_32-sys v0.2.1
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling miow v0.1.5
[INFO] [stderr]    Compiling tmp_mio v0.5.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/event.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 try!(write!(fmt, "{}", msg));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:83:24
[INFO] [stdout]     |
[INFO] [stdout]  83 | #![cfg_attr(unix, deny(warnings))]
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout]     = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/event.rs:124:26
[INFO] [stdout]     |
[INFO] [stdout] 124 |                 if one { try!(write!(fmt, " | ")) }
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/event.rs:269:17
[INFO] [stdout]     |
[INFO] [stdout] 269 |                 try!(write!(fmt, "{}", msg));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/event.rs:268:26
[INFO] [stdout]     |
[INFO] [stdout] 268 |                 if one { try!(write!(fmt, " | ")) }
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/event_loop.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |         try!(poll.register(&notify, NOTIFY, EventSet::readable() | EventSet::writable() , PollOpt::edge()));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/event_loop.rs:97:24
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let mut poll = try!(Poll::new());
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/event_loop.rs:106:22
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let notify = try!(Notify::with_capacity(config.notify_capacity));
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/event_loop.rs:247:13
[INFO] [stdout]     |
[INFO] [stdout] 247 |             try!(self.run_once(handler, None));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/net/tcp.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let sock = try!(match *addr {
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/net/tcp.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             try!(sock.bind(&inaddr_any(addr)));
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/net/tcp.rs:41:35
[INFO] [stdout]    |
[INFO] [stdout] 41 |         TcpStream::connect_stream(try!(sock.to_tcp_stream()), addr)
[INFO] [stdout]    |                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/net/tcp.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 65 |             sys: try!(sys::TcpStream::connect(stream, addr)),
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/tcp.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         try!(sock.reuse_address(true));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/tcp.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |         try!(sock.bind(addr));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/tcp.rs:172:20
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let sock = try!(match *addr {
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/tcp.rs:184:24
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let listener = try!(sock.listen(1024));
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/tcp.rs:186:18
[INFO] [stdout]     |
[INFO] [stdout] 186 |             sys: try!(sys::TcpListener::new(listener, addr)),
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/net/udp.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         try!(sock.bind(addr));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/net/udp.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let sock = try!(match *addr {
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/net/unix.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let complete = try!(self.sys.connect(addr));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/net/unix.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         try!(self.sys.listen(backlog));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/unix.rs:168:13
[INFO] [stdout]     |
[INFO] [stdout] 168 |             try!(sock.bind(addr));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/net/unix.rs:219:20
[INFO] [stdout]     |
[INFO] [stdout] 219 |     let (rd, wr) = try!(sys::pipe());
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/notify.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 |             inner: Arc::new(try!(NotifyInner::with_capacity(capacity)))
[INFO] [stdout]    |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/notify.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 82 |             awaken: try!(sys::Awakener::new())
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/poll.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |             selector: try!(sys::Selector::new()),
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/poll.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         try!(io.register(&mut self.selector, token, interest, opts));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/poll.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         try!(io.reregister(&mut self.selector, token, interest, opts));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/poll.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         try!(io.deregister(&mut self.selector));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/poll.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         try!(self.selector.select(&mut self.events, timeout_ms));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/sys/unix/epoll.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let epfd = try!(epoll_create().map_err(super::from_nix_error));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/sys/unix/epoll.rs:52:19
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let cnt = try!(epoll_wait(self.epfd, dst, timeout_ms as isize)
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/sys/unix/awakener.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let (rd, wr) = try!(unix::pipe());
[INFO] [stdout]    |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `net::tcp::Shutdown`
[INFO] [stdout]  --> src/sys/unix/net.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use net::tcp::Shutdown;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]  --> src/sys/unix/socket.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 |         let linger = try!(nix::getsockopt(self.as_raw_fd(), nix::sockopt::Linger)
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/sys/unix/tcp.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         try!(set_nonblock(&stream));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/sys/unix/tcp.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         try!(self.associate_selector(selector));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/sys/unix/tcp.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         try!(set_nonblock(&inner));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/sys/unix/tcp.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |             try!(set_nonblock(&s));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/sys/unix/tcp.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 202 |         try!(self.associate_selector(selector));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/sys/unix/udp.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |         try!(self.associate_selector(selector));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/sys/unix/uds.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let fd = try!(net::socket(nix::AddressFamily::Unix, ty, true));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/sys/unix/uds.rs:27:33
[INFO] [stdout]    |
[INFO] [stdout] 27 |         net::connect(&self.io, &try!(to_nix_addr(addr)))
[INFO] [stdout]    |                                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/sys/unix/uds.rs:43:30
[INFO] [stdout]    |
[INFO] [stdout] 43 |         net::bind(&self.io, &try!(to_nix_addr(addr)))
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/sys/unix/uds.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let msg = try!(nix::recvmsg(self.io.as_raw_fd(), &iov, Some(&mut cmsgspace), MsgFlags::empty())
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/sys/unix/mod.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let (rd, wr) = try!(pipe2(O_NONBLOCK | O_CLOEXEC)
[INFO] [stdout]    |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `EAGAIN`
[INFO] [stdout]   --> src/sys/unix/mod.rs:51:39
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub use nix::errno::{EINPROGRESS, EAGAIN};
[INFO] [stdout]    |                                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused imports: `FcntlArg`, `O_NONBLOCK`, and `fcntl`
[INFO] [stdout]   --> src/sys/unix/mod.rs:52:26
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub use nix::fcntl::{fcntl, FcntlArg, O_NONBLOCK};
[INFO] [stdout]    |                          ^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused imports: `Shutdown`, `SockLevel`, `getpeername`, and `shutdown`
[INFO] [stdout]   --> src/sys/unix/mod.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         SockLevel,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |         getpeername,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |         shutdown,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 84 |         Shutdown,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused imports: `read` and `write`
[INFO] [stdout]   --> src/sys/unix/mod.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |         read,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 90 |         write,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/timer.rs:147:21
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let token = try!(
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]  --> src/sys/unix/epoll.rs:6:48
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/sys/unix/epoll.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 | static NEXT_ID: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 13 - static NEXT_ID: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout] 13 + static NEXT_ID: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/notify.rs:248:32
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn cause(&self) -> Option<&error::Error> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn cause(&self) -> Option<&dyn error::Error> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sys/unix/tcp.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn set_nonblock(s: &AsRawFd) -> io::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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn set_nonblock(s: &dyn AsRawFd) -> io::Result<()> {
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/util/mpmc_bounded_queue.rs:102:52
[INFO] [stdout]     |
[INFO] [stdout] 102 |                 let enqueue_pos = self.enqueue_pos.compare_and_swap(pos, pos+1, Relaxed);
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::Atomic::<usize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/util/mpmc_bounded_queue.rs:129:52
[INFO] [stdout]     |
[INFO] [stdout] 129 |                 let dequeue_pos = self.dequeue_pos.compare_and_swap(pos, pos+1, Relaxed);
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::Atomic::<isize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/notify.rs:112:30
[INFO] [stdout]     |
[INFO] [stdout] 112 |             val = self.state.compare_and_swap(cur, nxt, Relaxed);
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::Atomic::<isize>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/notify.rs:160:30
[INFO] [stdout]     |
[INFO] [stdout] 160 |             val = self.state.compare_and_swap(cur, nxt, Relaxed);
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/notify.rs:242:45
[INFO] [stdout]     |
[INFO] [stdout] 242 |             NotifyError::Io(ref err) => err.description(),
[INFO] [stdout]     |                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait `Socket` is never used
[INFO] [stdout]  --> src/sys/unix/socket.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait Socket : AsRawFd {
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: fields `kind` and `desc` are never read
[INFO] [stdout]    --> src/timer.rs:293:5
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub struct TimerError {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 293 |     kind: TimerErrorKind,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 294 |     desc: &'static str,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TimerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/poll.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn events(&self) -> Events {
[INFO] [stdout]    |                   ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn events(&self) -> Events<'_> {
[INFO] [stdout]    |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tmp_mio` (lib) due to 63 previous errors
[INFO] running `Command { std: "docker" "inspect" "538ef5e13356f720dabaa7b4b3a18d1f2c87b66237fb6984670d37f71f6be274", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "538ef5e13356f720dabaa7b4b3a18d1f2c87b66237fb6984670d37f71f6be274", kill_on_drop: false }`
[INFO] [stdout] 538ef5e13356f720dabaa7b4b3a18d1f2c87b66237fb6984670d37f71f6be274
