[INFO] fetching crate gjio 0.1.3... [INFO] checking gjio-0.1.3 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate gjio 0.1.3 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate gjio 0.1.3 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate gjio 0.1.3 [INFO] finished tweaking crates.io crate gjio 0.1.3 [INFO] tweaked toml for crates.io crate gjio 0.1.3 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03a7b1a6995e1bc966eafe0c2ac41a17894365f4301cdf9d67f83508629b5326 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "03a7b1a6995e1bc966eafe0c2ac41a17894365f4301cdf9d67f83508629b5326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03a7b1a6995e1bc966eafe0c2ac41a17894365f4301cdf9d67f83508629b5326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a7b1a6995e1bc966eafe0c2ac41a17894365f4301cdf9d67f83508629b5326", kill_on_drop: false }` [INFO] [stdout] 03a7b1a6995e1bc966eafe0c2ac41a17894365f4301cdf9d67f83508629b5326 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8610e3ef1f7f53566c40457d5c7868bf7b91b8d233f3c64ca3848b42c6e80a92 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8610e3ef1f7f53566c40457d5c7868bf7b91b8d233f3c64ca3848b42c6e80a92", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking gjio v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:108:36 [INFO] [stdout] | [INFO] [stdout] 108 | ... try!(::nix::sys::socket::UnixAddr::new(addr.as_ref()))) [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/sys/unix/mod.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | let fd = AutoCloseFd(try!(socket::socket(self.addr.family(), socket::SockType::Stream, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | let handle = try!(self.reactor.borrow_mut().new_observer(fd.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:271:23 [INFO] [stdout] | [INFO] [stdout] 271 | let handle0 = try!(reactor.borrow_mut().new_observer(fd0.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:272:23 [INFO] [stdout] | [INFO] [stdout] 272 | let handle1 = try!(reactor.borrow_mut().new_observer(fd1.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | let handle = try!(reactor.borrow_mut().new_observer(fd.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:298:23 [INFO] [stdout] | [INFO] [stdout] 298 | let handle0 = try!(reactor.borrow_mut().new_observer(fd0.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:108:36 [INFO] [stdout] | [INFO] [stdout] 108 | ... try!(::nix::sys::socket::UnixAddr::new(addr.as_ref()))) [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/sys/unix/mod.rs:302:34 [INFO] [stdout] | [INFO] [stdout] 302 | let event_port = try!(::EventPort::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | let fd = AutoCloseFd(try!(socket::socket(self.addr.family(), socket::SockType::Stream, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | let handle1 = try!(network.reactor.borrow_mut().new_observer(fd1.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | let handle = try!(self.reactor.borrow_mut().new_observer(fd.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:271:23 [INFO] [stdout] | [INFO] [stdout] 271 | let handle0 = try!(reactor.borrow_mut().new_observer(fd0.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:272:23 [INFO] [stdout] | [INFO] [stdout] 272 | let handle1 = try!(reactor.borrow_mut().new_observer(fd1.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:165:43 [INFO] [stdout] | [INFO] [stdout] 165 | reactor: Rc::new(RefCell::new(try!(sys::Reactor::new()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | let handle = try!(reactor.borrow_mut().new_observer(fd.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:298:23 [INFO] [stdout] | [INFO] [stdout] 298 | let handle0 = try!(reactor.borrow_mut().new_observer(fd0.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:302:34 [INFO] [stdout] | [INFO] [stdout] 302 | let event_port = try!(::EventPort::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | try!(self.reactor.borrow_mut().run_once(timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | let handle1 = try!(network.reactor.borrow_mut().new_observer(fd1.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:165:43 [INFO] [stdout] | [INFO] [stdout] 165 | reactor: Rc::new(RefCell::new(try!(sys::Reactor::new()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | try!(self.reactor.borrow_mut().run_once(timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | Ok(SocketAddress::new(try!(SocketAddressInner::new_unix(self.reactor.clone(), addr)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | Ok(SocketAddress::new(try!(SocketAddressInner::new_unix(self.reactor.clone(), addr)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:220:32 [INFO] [stdout] | [INFO] [stdout] 220 | let (inner0, inner1) = try!(SocketStreamInner::new_pair(self.reactor.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | let inner = try!(SocketStreamInner::wrap_raw_socket_descriptor(self.reactor.clone(), fd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:220:32 [INFO] [stdout] | [INFO] [stdout] 220 | let (inner0, inner1) = try!(SocketStreamInner::new_pair(self.reactor.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:267:36 [INFO] [stdout] | [INFO] [stdout] 267 | let (join_handle, inner) = try!(SocketStreamInner::socket_spawn(self.reactor.clone(), start_func)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:296:32 [INFO] [stdout] | [INFO] [stdout] 296 | Ok(SocketListener::new(try!(self.inner.listen()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | let inner = try!(SocketStreamInner::wrap_raw_socket_descriptor(self.reactor.clone(), fd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/unix/mod.rs:289:90 [INFO] [stdout] | [INFO] [stdout] 289 | where F: FnOnce(::SocketStream, &::gj::WaitScope, ::EventPort) -> Result<(), Box<::std::error::Error>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:267:36 [INFO] [stdout] | [INFO] [stdout] 267 | let (join_handle, inner) = try!(SocketStreamInner::socket_spawn(self.reactor.clone(), start_func)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:296:32 [INFO] [stdout] | [INFO] [stdout] 296 | Ok(SocketListener::new(try!(self.inner.listen()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/unix/mod.rs:289:90 [INFO] [stdout] | [INFO] [stdout] 289 | where F: FnOnce(::SocketStream, &::gj::WaitScope, ::EventPort) -> Result<(), Box<::std::error::Error>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/unix/mod.rs:288:94 [INFO] [stdout] | [INFO] [stdout] 288 | ... -> Result<(::std::thread::JoinHandle<()>, SocketStreamInner), Box<::std::error::Error>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:264:86 [INFO] [stdout] | [INFO] [stdout] 264 | where F: FnOnce(SocketStream, &::gj::WaitScope, EventPort) -> Result<(), Box<::std::error::Error>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:263:89 [INFO] [stdout] | [INFO] [stdout] 263 | ... -> Result<(::std::thread::JoinHandle<()>, SocketStream), Box<::std::error::Error>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/unix/mod.rs:288:94 [INFO] [stdout] | [INFO] [stdout] 288 | ... -> Result<(::std::thread::JoinHandle<()>, SocketStreamInner), Box<::std::error::Error>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:264:86 [INFO] [stdout] | [INFO] [stdout] 264 | where F: FnOnce(SocketStream, &::gj::WaitScope, EventPort) -> Result<(), Box<::std::error::Error>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:263:89 [INFO] [stdout] | [INFO] [stdout] 263 | ... -> Result<(::std::thread::JoinHandle<()>, SocketStream), Box<::std::error::Error>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/sys/unix/epoll.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | if event.events.contains(epoll::EPOLLIN) || event.events.contains(epoll::EPOLLHUP) || [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/sys/unix/epoll.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | event.events.contains(epoll::EPOLLERR) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/sys/unix/epoll.rs:62:57 [INFO] [stdout] | [INFO] [stdout] 62 | if event.events.contains(epoll::EPOLLIN) || event.events.contains(epoll::EPOLLHUP) || [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/sys/unix/epoll.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | if event.events.contains(epoll::EPOLLOUT) || event.events.contains(epoll::EPOLLHUP) || [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/sys/unix/epoll.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | event.events.contains(epoll::EPOLLERR) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/sys/unix/epoll.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 73 | if event.events.contains(epoll::EPOLLOUT) || event.events.contains(epoll::EPOLLHUP) || [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/sys/unix/epoll.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | if event.events.contains(epoll::EPOLLIN) || event.events.contains(epoll::EPOLLHUP) || [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/sys/unix/epoll.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | event.events.contains(epoll::EPOLLERR) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/sys/unix/epoll.rs:62:57 [INFO] [stdout] | [INFO] [stdout] 62 | if event.events.contains(epoll::EPOLLIN) || event.events.contains(epoll::EPOLLHUP) || [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/sys/unix/epoll.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | if event.events.contains(epoll::EPOLLOUT) || event.events.contains(epoll::EPOLLHUP) || [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/sys/unix/epoll.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | event.events.contains(epoll::EPOLLERR) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/sys/unix/epoll.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 73 | if event.events.contains(epoll::EPOLLOUT) || event.events.contains(epoll::EPOLLHUP) || [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/proxy.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | let mut event_port = try!(gjio::EventPort::new()); [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] --> examples/proxy.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let addr = try!(args[1].to_socket_addrs()).next().expect("could not parse address"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/proxy.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | let listener = try!(address.listen()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/proxy.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let outbound_addr = try!(args[2].to_socket_addrs()).next().expect("could not parse address"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/proxy.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[macro_use] [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] --> examples/threads.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let (_, stream) = try!(network.socket_spawn(move |parent_stream, wait_scope, mut event_port| { [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] --> examples/threads.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | try!(child_loop(delay, parent_stream, vec![0u8]).lift::>().wait(wait_scope, &mut event_port)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/threads.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | let mut event_port = try!(::gjio::EventPort::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/threads.rs:95:44 [INFO] [stdout] | [INFO] [stdout] 95 | listen_to_child("CHILD 1", try!(child(network.clone(), Duration::from_millis(700))), vec![0]), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/threads.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | listen_to_child("CHILD 2", try!(child(network.clone(), Duration::from_millis(1900))), vec![0]), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/threads.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | listen_to_child("CHILD 3", try!(child(network.clone(), Duration::from_millis(2600))), vec![0])]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/threads.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | try!(Promise::all(children.into_iter()).wait(wait_scope, &mut event_port)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/threads.rs:62:85 [INFO] [stdout] | [INFO] [stdout] 62 | fn child(network: ::gjio::Network, delay: Duration) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/threads.rs:64:73 [INFO] [stdout] | [INFO] [stdout] 64 | try!(child_loop(delay, parent_stream, vec![0u8]).lift::>().wait(wait_scope, &mut event_port)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/threads.rs:89:67 [INFO] [stdout] | [INFO] [stdout] 89 | ::gj::EventLoop::top_level(|wait_scope| -> Result<(), Box<::std::error::Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/io.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let mut event_port = try!(gjio::EventPort::new()); [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] --> tests/io.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | let listener = try!(address.listen()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/io.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | let (buf, _) = try!(read_promise.wait(wait_scope, &mut event_port)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/io.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let mut event_port = try!(gjio::EventPort::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/io.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | let listener = try!(address.listen()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/io.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let (buf, _) = try!(client_promise.wait(wait_scope, &mut event_port)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/io.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | let mut event_port = try!(gjio::EventPort::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/io.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | try!(Promise::all(vec![p1,p2,p3].into_iter()).wait(wait_scope, &mut event_port)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/io.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | let mut event_port = try!(gjio::EventPort::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/io.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | try!(p2.wait(wait_scope, &mut event_port)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/io.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | try!(p3.wait(wait_scope, &mut event_port)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/io.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[macro_use] [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] --> examples/echo.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | let mut event_port = try!(gjio::EventPort::new()); [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] --> examples/echo.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | let addr = try!(args[1].to_socket_addrs()).next().expect("could not parse address"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/echo.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | let listener = try!(address.listen()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.96s [INFO] running `Command { std: "docker" "inspect" "8610e3ef1f7f53566c40457d5c7868bf7b91b8d233f3c64ca3848b42c6e80a92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8610e3ef1f7f53566c40457d5c7868bf7b91b8d233f3c64ca3848b42c6e80a92", kill_on_drop: false }` [INFO] [stdout] 8610e3ef1f7f53566c40457d5c7868bf7b91b8d233f3c64ca3848b42c6e80a92