[INFO] fetching crate rust_asio 0.6.0... [INFO] building rust_asio-0.6.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate rust_asio 0.6.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate rust_asio 0.6.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust_asio 0.6.0 [INFO] finished tweaking crates.io crate rust_asio 0.6.0 [INFO] tweaked toml for crates.io crate rust_asio 0.6.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.7.0 (available: v2.6.0) [INFO] [stderr] Adding context v1.0.1 (available: v3.0.0) [INFO] [stderr] Adding errno v0.1.8 (available: v0.3.10) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding openssl v0.9.24 (available: v0.10.68) [INFO] [stderr] Adding termios v0.2.2 (available: v0.3.3) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.37) [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl v0.9.24 [INFO] [stderr] Downloaded context v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40c09b3ba42ea9b7264d91e08ed5e32e6ac219ed68737495dbbb0fcc7ac9fbc1 [INFO] running `Command { std: "docker" "start" "-a" "40c09b3ba42ea9b7264d91e08ed5e32e6ac219ed68737495dbbb0fcc7ac9fbc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40c09b3ba42ea9b7264d91e08ed5e32e6ac219ed68737495dbbb0fcc7ac9fbc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40c09b3ba42ea9b7264d91e08ed5e32e6ac219ed68737495dbbb0fcc7ac9fbc1", kill_on_drop: false }` [INFO] [stdout] 40c09b3ba42ea9b7264d91e08ed5e32e6ac219ed68737495dbbb0fcc7ac9fbc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eee6ab245e72a5dae7f4b41d32cf87d63efbee8b55b60b046ac409ba57f9032 [INFO] running `Command { std: "docker" "start" "-a" "1eee6ab245e72a5dae7f4b41d32cf87d63efbee8b55b60b046ac409ba57f9032", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling context v1.0.1 [INFO] [stderr] Compiling errno v0.1.8 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rust_asio v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `test` [INFO] [stdout] --> src/lib.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg(feature = "test")] extern crate test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `context`, `default`, `epoll`, `kqueue`, `linux`, `macos`, `openssl`, `openssl-sys`, `pipe`, `signalfd`, `termios`, `timerfd`, and `windows` [INFO] [stdout] = help: consider adding `test` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[macro_use] extern crate bitflags; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `libc_unwrap` [INFO] [stdout] --> src/lib.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | macro_rules! libc_unwrap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FD_CLOEXEC` [INFO] [stdout] --> src/ffi/posix.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | FD_CLOEXEC, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ffi/posix.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | Ok((try!(getflags(t)) & libc::O_NONBLOCK) != 0) [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/ffi/posix.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | let flags = try!(getflags(t)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::fdset::FdSet` [INFO] [stdout] --> src/ffi/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use self::fdset::FdSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffers.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | try!(self.prepare_exact(len)).clone_from_slice(&buf[..len]); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/core/mod.rs:246:27 [INFO] [stdout] | [INFO] [stdout] 246 | unsafe fn from_raw_fd(&IoContext, pro: P, fd: RawFd) -> Self; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &IoContext` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/task_ctx.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | let reactor = UnsafeBoxedCell::new(try!(Reactor::new(outstanding_work.clone()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/task_ctx.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let scheduler = try!(Scheduler::new(outstanding_work.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core/task_ctx.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | let interrupter = try!(Interrupter::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async/mod.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(self: Box, &IoContext, Result); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &IoContext` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async/mod.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | fn send(self: Box, &IoContext, Result); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async/mod.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | fn recv(self, &IoContext) -> R; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &IoContext` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async/mod.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | fn perform(&mut self, &IoContext, &mut ThreadIoContext, ErrCode, Operation); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &IoContext` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async/mod.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | fn perform(&mut self, &IoContext, &mut ThreadIoContext, ErrCode, Operation); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ThreadIoContext` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async/mod.rs:32:61 [INFO] [stdout] | [INFO] [stdout] 32 | fn perform(&mut self, &IoContext, &mut ThreadIoContext, ErrCode, Operation); [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: ErrCode` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async/mod.rs:32:70 [INFO] [stdout] | [INFO] [stdout] 32 | fn perform(&mut self, &IoContext, &mut ThreadIoContext, ErrCode, Operation); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Operation` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async/mod.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | fn result(self, &IoContext, Result) -> Self::Output; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &IoContext` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async/mod.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | fn result(self, &IoContext, Result) -> Self::Output; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async/mod.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | fn channel(self, G) -> (Operation, Self::Receiver) [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: G` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/async/coroutine.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | fn call_box(self: Box, Coroutine); [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Coroutine` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream_socket.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let fd = try!(socket(&pro)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream_socket.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(self.io_control(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dgram_socket.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let fd = try!(socket(&pro)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dgram_socket.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(self.io_control(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raw_socket.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let fd = try!(socket(&pro)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raw_socket.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | try!(self.io_control(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/seq_packet_socket.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let fd = try!(socket(&pro)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/seq_packet_socket.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(self.io_control(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket_listener.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let fd = try!(socket(&pro)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ip/addr.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | try!(write!(f, ":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ip/addr.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | try!(write!(f, "{:x}:", u16::from_be(ar[i]))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ip/addr.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | try!(write!(f, ":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ip/addr.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | try!(write!(f, ":{:x}", u16::from_be(ar[i]))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ip/addr.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | ((self.bytes[0] as i32 * 256 + self.bytes[1] as i32) * 256 + self.bytes[2] as i32) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - ((self.bytes[0] as i32 * 256 + self.bytes[1] as i32) * 256 + self.bytes[2] as i32) [INFO] [stdout] 189 + (self.bytes[0] as i32 * 256 + self.bytes[1] as i32) * 256 + self.bytes[2] as i32 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ip/addr.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | (self.bytes[0] == 0 && self.bytes[1] == 0 && self.bytes[2] == 0 && self.bytes[3] == 0 && [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 580 | self.bytes[12] == 0 && self.bytes[13] == 0 && self.bytes[14] == 0 && self.bytes[15] == 1) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 577 ~ self.bytes[0] == 0 && self.bytes[1] == 0 && self.bytes[2] == 0 && self.bytes[3] == 0 && [INFO] [stdout] 578 | self.bytes[4] == 0 && self.bytes[5] == 0 && self.bytes[6] == 0 && self.bytes[7] == 0 && [INFO] [stdout] 579 | self.bytes[8] == 0 && self.bytes[9] == 0 && self.bytes[10] == 0 && self.bytes[11] == 0 && [INFO] [stdout] 580 ~ self.bytes[12] == 0 && self.bytes[13] == 0 && self.bytes[14] == 0 && self.bytes[15] == 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ip/addr.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | (self.bytes[0] == 0 && self.bytes[1] == 0 && self.bytes[2] == 0 && self.bytes[3] == 0 && [INFO] [stdout] | ^ [INFO] [stdout] 626 | self.bytes[4] == 0 && self.bytes[5] == 0 && self.bytes[6] == 0 && self.bytes[7] == 0 && [INFO] [stdout] 627 | self.bytes[8] == 0 && self.bytes[9] == 0 && self.bytes[10] == 0xFF && self.bytes[11] == 0xFF) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 625 ~ self.bytes[0] == 0 && self.bytes[1] == 0 && self.bytes[2] == 0 && self.bytes[3] == 0 && [INFO] [stdout] 626 | self.bytes[4] == 0 && self.bytes[5] == 0 && self.bytes[6] == 0 && self.bytes[7] == 0 && [INFO] [stdout] 627 ~ self.bytes[8] == 0 && self.bytes[9] == 0 && self.bytes[10] == 0xFF && self.bytes[11] == 0xFF [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/ip/addr.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | ((self.bytes[0] == 0 && self.bytes[1] == 0 && self.bytes[2] == 0 && self.bytes[3] == 0 && [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 636 | && (self.bytes[15] == 0 || self.bytes[15] == 1))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 632 ~ (self.bytes[0] == 0 && self.bytes[1] == 0 && self.bytes[2] == 0 && self.bytes[3] == 0 && [INFO] [stdout] 633 | self.bytes[4] == 0 && self.bytes[5] == 0 && self.bytes[6] == 0 && self.bytes[7] == 0 && [INFO] [stdout] 634 | self.bytes[8] == 0 && self.bytes[9] == 0 && self.bytes[10] == 0 && self.bytes[11] == 0) [INFO] [stdout] 635 | && !(self.bytes[12] == 0 && self.bytes[13] == 0 && self.bytes[14] == 0 [INFO] [stdout] 636 ~ && (self.bytes[15] == 0 || self.bytes[15] == 1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ip/addr.rs:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | try!(fmt_v6(&self.bytes, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ip/resolver.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let host = try!(CString::new(host)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ip/resolver.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let port = try!(CString::new(port)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ip/resolver.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | let ai = try!(getaddrinfo(pro, &host, &port, flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ip/resolver.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | for ep in try!(self.resolve(query)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ip/resolver.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | let soc = try!(socket(&pro)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | let (a, it) = try!(self.0.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | let (_, it) = try!(self.1.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | let (b, it) = try!(self.0.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | let (_, it) = try!(self.1.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | let (c, it) = try!(self.0.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | let (_, it) = try!(self.1.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:191:23 [INFO] [stdout] | [INFO] [stdout] 191 | let (d, it) = try!(self.0.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | let (a, it) = try!(self.0.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | let (_, it) = try!(self.1.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | let (b, it) = try!(self.0.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let (_, it) = try!(self.1.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 206 | let (c, it) = try!(self.0.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:207:23 [INFO] [stdout] | [INFO] [stdout] 207 | let (_, it) = try!(self.1.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | let (d, it) = try!(self.0.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:209:23 [INFO] [stdout] | [INFO] [stdout] 209 | let (_, it) = try!(self.1.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 210 | let (e, it) = try!(self.0.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | let (_, it) = try!(self.1.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | let (f, it) = try!(self.0.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | let (_, it) = try!(self.0.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:249:23 [INFO] [stdout] | [INFO] [stdout] 249 | let (a, it) = try!(self.1.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 250 | let (_, it) = try!(self.2.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/from_str.rs:261:27 [INFO] [stdout] | [INFO] [stdout] 261 | let (a, mut it) = try!(self.0.parse(it)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/local/connect_pair.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | let (s1, s2) = try!(socketpair(&pro)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/signal_set.rs:238:26 [INFO] [stdout] | [INFO] [stdout] 238 | let (fd, mask) = try!(signalfd_init()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi/posix.rs:177:48 [INFO] [stdout] | [INFO] [stdout] 177 | let mut name: [c_char; 65] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi/posix.rs:260:44 [INFO] [stdout] | [INFO] [stdout] 260 | let mut fd: [RawFd; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi/posix.rs:266:44 [INFO] [stdout] | [INFO] [stdout] 266 | let mut fd: [RawFd; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi/tss/pthread.rs:20:56 [INFO] [stdout] | [INFO] [stdout] 20 | let mut tss_key: pthread_key_t = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi/sa/nobsd.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | sa: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi/fdset/posix.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | let mut fds: fd_set = unsafe { mem::uninitialized() }; [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/core/init.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref REGISTRY_COUNT: Mutex = Default::default(); [INFO] [stdout] 31 | | } [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 constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/core/callstack.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / lazy_static! { [INFO] [stdout] 66 | | static ref TOP: TssPtr = TssPtr::new().unwrap(); [INFO] [stdout] 67 | | } [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 function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/core/reactor/fd.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 121 | ctx: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/core/reactor/epoll.rs:202:46 [INFO] [stdout] | [INFO] [stdout] 202 | let mut buf: [u8; 8] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/core/reactor/epoll.rs:209:46 [INFO] [stdout] | [INFO] [stdout] 209 | let mut buf: [u8; 8] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/core/reactor/epoll.rs:83:60 [INFO] [stdout] | [INFO] [stdout] 83 | let mut events: [epoll_event; 128] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ip/tcp.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ip/udp.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ip/icmp.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/local/dgram.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/local/stream.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/local/seq_packet.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/signal_set.rs:109:44 [INFO] [stdout] | [INFO] [stdout] 109 | let mut mask: sigset_t = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/signal_set.rs:145:55 [INFO] [stdout] | [INFO] [stdout] 145 | let mut ssi: signalfd_siginfo = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/signal_set.rs:176:67 [INFO] [stdout] | [INFO] [stdout] 176 | let mut ssi: signalfd_siginfo = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/task_ctx.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | type Function = 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | type Function = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/mod.rs:258:22 [INFO] [stdout] | [INFO] [stdout] 258 | type Operation = 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 258 | type Operation = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async/strand.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | type Function = 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | type Function = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async/coroutine.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | func: 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | func: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async/mod.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Operation = Box + Send>; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub type Operation = Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async/mod.rs:4:65 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Sender> : FnOp + Upcast { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Sender> : FnOp + Upcast { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async/mod.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | impl Into> for Box + Send> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | impl Into> for Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async/mod.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | fn into(self) -> 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | fn into(self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async/wrap.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | fn upcast(self: Box) -> 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | fn upcast(self: Box) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async/strand.rs:235:39 [INFO] [stdout] | [INFO] [stdout] 235 | fn upcast(self: Box) -> 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 235 | fn upcast(self: Box) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async/coroutine.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | fn upcast(self: Box) -> 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 | fn upcast(self: Box) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async/mod.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | impl Into> for Box + Send> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | impl Into> for Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async/wrap.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | impl Upcast for (ArcHandler, G) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | impl Upcast for (ArcHandler, G) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async/strand.rs:228:28 [INFO] [stdout] | [INFO] [stdout] 228 | impl Upcast for (StrandHandler, G) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 | impl Upcast for (StrandHandler, G) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async/coroutine.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | impl Upcast for (CoroutineHandler, G) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 165 | impl Upcast for (CoroutineHandler, G) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactive_io/mod.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | where T: Into> [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | where T: Into> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactive_io/mod.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | where T: Into> [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | where T: Into> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/core/reactor/epoll.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 137 | let _ep = self.mutex.lock().unwrap(); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `_ep` calls a custom destructor [INFO] [stdout] | `_ep` will be dropped later as of Edition 2024 [INFO] [stdout] 138 | if let Some(op) = ops.queue.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | } else { [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `_ep` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/sync/mutex.rs:644:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/async/strand.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 51 | let mut owner = self.mutex.0.lock().unwrap(); [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `owner` calls a custom destructor [INFO] [stdout] | `owner` will be dropped later as of Edition 2024 [INFO] [stdout] 52 | if let Some(func) = owner.queue.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `owner` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/sync/mutex.rs:644:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/async/strand.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | while let Some(func) = { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 51 | | let mut owner = self.mutex.0.lock().unwrap(); [INFO] [stdout] | | --------- [INFO] [stdout] | | | [INFO] [stdout] | | `owner` calls a custom destructor [INFO] [stdout] | | `owner` will be dropped later as of Edition 2024 [INFO] [stdout] 52 | | if let Some(func) = owner.queue.pop_front() { [INFO] [stdout] 53 | | Some(func) [INFO] [stdout] ... | [INFO] [stdout] 58 | | } { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 59 | func.call_box(ctx, this, self); [INFO] [stdout] 60 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `owner` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/sync/mutex.rs:644:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[i8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/ffi/posix.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 177 | let mut name: [c_char; 65] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[i32; 2]` does not permit being left uninitialized [INFO] [stdout] --> src/ffi/posix.rs:260:39 [INFO] [stdout] | [INFO] [stdout] 260 | let mut fd: [RawFd; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[i32; 2]` does not permit being left uninitialized [INFO] [stdout] --> src/ffi/posix.rs:266:39 [INFO] [stdout] | [INFO] [stdout] 266 | let mut fd: [RawFd; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/ffi/tss/pthread.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | let mut tss_key: pthread_key_t = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `fd_set` does not permit being left uninitialized [INFO] [stdout] --> src/ffi/fdset/posix.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | let mut fds: fd_set = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/ffi/fdset/posix.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 41 | let fds = &self.fds as *const _ as *mut _; [INFO] [stdout] | ------------------------------- casting happened here [INFO] [stdout] 42 | unsafe { FD_ISSET(t.as_raw_fd(), &mut *fds) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::into_raw` that must be used [INFO] [stdout] --> src/core/task_ctx.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | Box::into_raw(self); // forget the reactor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 205 | let _ = Box::into_raw(self); // forget the reactor [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `IoContext` does not permit being left uninitialized [INFO] [stdout] --> src/core/reactor/fd.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 121 | ctx: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `core::IoContext` must be non-null [INFO] [stdout] note: because `std::sync::Arc` must be non-null (in this struct field) [INFO] [stdout] --> src/core/mod.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct IoContext(Arc); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: because `std::ptr::NonNull>` must be non-null [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[epoll_event; 128]` does not permit being left uninitialized [INFO] [stdout] --> src/core/reactor/epoll.rs:83:55 [INFO] [stdout] | [INFO] [stdout] 83 | let mut events: [epoll_event; 128] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 8]` does not permit being left uninitialized [INFO] [stdout] --> src/core/reactor/epoll.rs:202:41 [INFO] [stdout] | [INFO] [stdout] 202 | let mut buf: [u8; 8] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 8]` does not permit being left uninitialized [INFO] [stdout] --> src/core/reactor/epoll.rs:209:41 [INFO] [stdout] | [INFO] [stdout] 209 | let mut buf: [u8; 8] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `IpEndpoint` does not permit being left uninitialized [INFO] [stdout] --> src/ip/tcp.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> src/ip/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | ss: SockAddrImpl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi/sa/nobsd.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | sa: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `IpEndpoint` does not permit being left uninitialized [INFO] [stdout] --> src/ip/udp.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> src/ip/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | ss: SockAddrImpl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi/sa/nobsd.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | sa: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `IpEndpoint` does not permit being left uninitialized [INFO] [stdout] --> src/ip/icmp.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> src/ip/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | ss: SockAddrImpl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi/sa/nobsd.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | sa: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `LocalEndpoint` does not permit being left uninitialized [INFO] [stdout] --> src/local/dgram.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> src/local/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sun: SockAddrImpl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi/sa/nobsd.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | sa: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `LocalEndpoint` does not permit being left uninitialized [INFO] [stdout] --> src/local/stream.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> src/local/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sun: SockAddrImpl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi/sa/nobsd.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | sa: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `LocalEndpoint` does not permit being left uninitialized [INFO] [stdout] --> src/local/seq_packet.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> src/local/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sun: SockAddrImpl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi/sa/nobsd.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | sa: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `sigset_t` does not permit being left uninitialized [INFO] [stdout] --> src/signal_set.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | let mut mask: sigset_t = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `signalfd_siginfo` does not permit being left uninitialized [INFO] [stdout] --> src/signal_set.rs:145:50 [INFO] [stdout] | [INFO] [stdout] 145 | let mut ssi: signalfd_siginfo = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `signalfd_siginfo` does not permit being left uninitialized [INFO] [stdout] --> src/signal_set.rs:176:62 [INFO] [stdout] | [INFO] [stdout] 176 | let mut ssi: signalfd_siginfo = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_asio` (lib) due to 4 previous errors; 127 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1eee6ab245e72a5dae7f4b41d32cf87d63efbee8b55b60b046ac409ba57f9032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eee6ab245e72a5dae7f4b41d32cf87d63efbee8b55b60b046ac409ba57f9032", kill_on_drop: false }` [INFO] [stdout] 1eee6ab245e72a5dae7f4b41d32cf87d63efbee8b55b60b046ac409ba57f9032