[INFO] fetching crate unix_socket2 0.5.4... [INFO] building unix_socket2-0.5.4 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate unix_socket2 0.5.4 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate unix_socket2 0.5.4 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 unix_socket2 0.5.4 [INFO] finished tweaking crates.io crate unix_socket2 0.5.4 [INFO] tweaked toml for crates.io crate unix_socket2 0.5.4 written to /workspace/builds/worker-0-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] Locking 11 packages to latest compatible versions [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ab2637aa74cd8a8c9fb6e47f4e798ed592800042bd7bf5278d8f9c0b1be7563 [INFO] running `Command { std: "docker" "start" "-a" "1ab2637aa74cd8a8c9fb6e47f4e798ed592800042bd7bf5278d8f9c0b1be7563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ab2637aa74cd8a8c9fb6e47f4e798ed592800042bd7bf5278d8f9c0b1be7563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ab2637aa74cd8a8c9fb6e47f4e798ed592800042bd7bf5278d8f9c0b1be7563", kill_on_drop: false }` [INFO] [stdout] 1ab2637aa74cd8a8c9fb6e47f4e798ed592800042bd7bf5278d8f9c0b1be7563 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] d8fdee147c2dd289405e93246fc79dc5edd94b2329c4e468e282519463a30a68 [INFO] running `Command { std: "docker" "start" "-a" "d8fdee147c2dd289405e93246fc79dc5edd94b2329c4e468e282519463a30a68", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unix_socket2 v0.5.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | try!(cvt(libc::socketpair(libc::AF_UNIX, kind, 0, fds.as_mut_ptr()))); [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/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | try!(cvt(libc::getsockopt(self.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | try!(cvt(libc::getsockopt(self.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | try!(cvt(f(&mut addr as *mut _ as *mut _, &mut len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | try!(write!(fmt, "\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | try!(write!(fmt, "{}", byte as char)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | let inner = try!(Inner::new(libc::SOCK_STREAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:373:31 [INFO] [stdout] | [INFO] [stdout] 373 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:386:21 [INFO] [stdout] | [INFO] [stdout] 386 | let inner = try!(Inner::new(libc::SOCK_STREAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:390:31 [INFO] [stdout] | [INFO] [stdout] 390 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:474:24 [INFO] [stdout] | [INFO] [stdout] 474 | let (i1, i2) = try!(Inner::new_pair(libc::SOCK_STREAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:494:32 [INFO] [stdout] | [INFO] [stdout] 494 | Ok(UnixStream { inner: try!(self.inner.try_clone()) }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 779 | try!(cvt(libc::bind(inner.0, &addr as *const _ as *const _, len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:780:13 [INFO] [stdout] | [INFO] [stdout] 780 | try!(cvt(libc::listen(inner.0, 128))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:776:25 [INFO] [stdout] | [INFO] [stdout] 776 | let inner = try!(Inner::new(libc::SOCK_STREAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:777:31 [INFO] [stdout] | [INFO] [stdout] 777 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:803:24 [INFO] [stdout] | [INFO] [stdout] 803 | let addr = try!(SocketAddr::new(|addr, len| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:827:34 [INFO] [stdout] | [INFO] [stdout] 827 | Ok(UnixListener { inner: try!(self.inner.try_clone()) }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1016:13 [INFO] [stdout] | [INFO] [stdout] 1016 | try!(cvt(libc::bind(inner.0, &addr as *const _ as *const _, len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1013:25 [INFO] [stdout] | [INFO] [stdout] 1013 | let inner = try!(Inner::new(libc::SOCK_DGRAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1014:31 [INFO] [stdout] | [INFO] [stdout] 1014 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1032:21 [INFO] [stdout] | [INFO] [stdout] 1032 | let inner = try!(Inner::new(libc::SOCK_DGRAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1048:24 [INFO] [stdout] | [INFO] [stdout] 1048 | let (i1, i2) = try!(Inner::new_pair(libc::SOCK_DGRAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1069:13 [INFO] [stdout] | [INFO] [stdout] 1069 | try!(cvt(libc::connect(self.inner.0, &addr as *const _ as *const _, len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1067:31 [INFO] [stdout] | [INFO] [stdout] 1067 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1090:34 [INFO] [stdout] | [INFO] [stdout] 1090 | Ok(UnixDatagram { inner: try!(self.inner.try_clone()) }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1146:20 [INFO] [stdout] | [INFO] [stdout] 1146 | let addr = try!(SocketAddr::new(|addr, len| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1184:25 [INFO] [stdout] | [INFO] [stdout] 1184 | let count = try!(cvt_s(libc::recv(self.inner.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1217:31 [INFO] [stdout] | [INFO] [stdout] 1217 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1219:25 [INFO] [stdout] | [INFO] [stdout] 1219 | let count = try!(cvt_s(libc::sendto(self.inner.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1258:25 [INFO] [stdout] | [INFO] [stdout] 1258 | let count = try!(cvt_s(libc::send(self.inner.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | let addr: libc::sockaddr_un = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `sockaddr_un` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | let addr: libc::sockaddr_un = 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "d8fdee147c2dd289405e93246fc79dc5edd94b2329c4e468e282519463a30a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8fdee147c2dd289405e93246fc79dc5edd94b2329c4e468e282519463a30a68", kill_on_drop: false }` [INFO] [stdout] d8fdee147c2dd289405e93246fc79dc5edd94b2329c4e468e282519463a30a68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2af7127b70f806befcf84de6a07dde51cc92f73fd32bd91d4dff57adaf562114 [INFO] running `Command { std: "docker" "start" "-a" "2af7127b70f806befcf84de6a07dde51cc92f73fd32bd91d4dff57adaf562114", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | try!(cvt(libc::socketpair(libc::AF_UNIX, kind, 0, fds.as_mut_ptr()))); [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/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | try!(cvt(libc::getsockopt(self.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | try!(cvt(libc::getsockopt(self.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | try!(cvt(f(&mut addr as *mut _ as *mut _, &mut len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | try!(write!(fmt, "\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | try!(write!(fmt, "{}", byte as char)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | let inner = try!(Inner::new(libc::SOCK_STREAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:373:31 [INFO] [stdout] | [INFO] [stdout] 373 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:386:21 [INFO] [stdout] | [INFO] [stdout] 386 | let inner = try!(Inner::new(libc::SOCK_STREAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:390:31 [INFO] [stdout] | [INFO] [stdout] 390 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:474:24 [INFO] [stdout] | [INFO] [stdout] 474 | let (i1, i2) = try!(Inner::new_pair(libc::SOCK_STREAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:494:32 [INFO] [stdout] | [INFO] [stdout] 494 | Ok(UnixStream { inner: try!(self.inner.try_clone()) }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 779 | try!(cvt(libc::bind(inner.0, &addr as *const _ as *const _, len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:780:13 [INFO] [stdout] | [INFO] [stdout] 780 | try!(cvt(libc::listen(inner.0, 128))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:776:25 [INFO] [stdout] | [INFO] [stdout] 776 | let inner = try!(Inner::new(libc::SOCK_STREAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:777:31 [INFO] [stdout] | [INFO] [stdout] 777 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:803:24 [INFO] [stdout] | [INFO] [stdout] 803 | let addr = try!(SocketAddr::new(|addr, len| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:827:34 [INFO] [stdout] | [INFO] [stdout] 827 | Ok(UnixListener { inner: try!(self.inner.try_clone()) }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1016:13 [INFO] [stdout] | [INFO] [stdout] 1016 | try!(cvt(libc::bind(inner.0, &addr as *const _ as *const _, len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1013:25 [INFO] [stdout] | [INFO] [stdout] 1013 | let inner = try!(Inner::new(libc::SOCK_DGRAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1014:31 [INFO] [stdout] | [INFO] [stdout] 1014 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1032:21 [INFO] [stdout] | [INFO] [stdout] 1032 | let inner = try!(Inner::new(libc::SOCK_DGRAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1048:24 [INFO] [stdout] | [INFO] [stdout] 1048 | let (i1, i2) = try!(Inner::new_pair(libc::SOCK_DGRAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1069:13 [INFO] [stdout] | [INFO] [stdout] 1069 | try!(cvt(libc::connect(self.inner.0, &addr as *const _ as *const _, len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1067:31 [INFO] [stdout] | [INFO] [stdout] 1067 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1090:34 [INFO] [stdout] | [INFO] [stdout] 1090 | Ok(UnixDatagram { inner: try!(self.inner.try_clone()) }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1146:20 [INFO] [stdout] | [INFO] [stdout] 1146 | let addr = try!(SocketAddr::new(|addr, len| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1184:25 [INFO] [stdout] | [INFO] [stdout] 1184 | let count = try!(cvt_s(libc::recv(self.inner.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1217:31 [INFO] [stdout] | [INFO] [stdout] 1217 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1219:25 [INFO] [stdout] | [INFO] [stdout] 1219 | let count = try!(cvt_s(libc::sendto(self.inner.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1258:25 [INFO] [stdout] | [INFO] [stdout] 1258 | let count = try!(cvt_s(libc::send(self.inner.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | let addr: libc::sockaddr_un = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `sockaddr_un` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | let addr: libc::sockaddr_un = 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] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling unix_socket2 v0.5.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | try!(cvt(libc::socketpair(libc::AF_UNIX, kind, 0, fds.as_mut_ptr()))); [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/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | try!(cvt(libc::getsockopt(self.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | try!(cvt(libc::getsockopt(self.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | try!(cvt(f(&mut addr as *mut _ as *mut _, &mut len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | try!(write!(fmt, "\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | try!(write!(fmt, "{}", byte as char)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | let inner = try!(Inner::new(libc::SOCK_STREAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:373:31 [INFO] [stdout] | [INFO] [stdout] 373 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:386:21 [INFO] [stdout] | [INFO] [stdout] 386 | let inner = try!(Inner::new(libc::SOCK_STREAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:390:31 [INFO] [stdout] | [INFO] [stdout] 390 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:474:24 [INFO] [stdout] | [INFO] [stdout] 474 | let (i1, i2) = try!(Inner::new_pair(libc::SOCK_STREAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:494:32 [INFO] [stdout] | [INFO] [stdout] 494 | Ok(UnixStream { inner: try!(self.inner.try_clone()) }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 779 | try!(cvt(libc::bind(inner.0, &addr as *const _ as *const _, len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:780:13 [INFO] [stdout] | [INFO] [stdout] 780 | try!(cvt(libc::listen(inner.0, 128))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:776:25 [INFO] [stdout] | [INFO] [stdout] 776 | let inner = try!(Inner::new(libc::SOCK_STREAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:777:31 [INFO] [stdout] | [INFO] [stdout] 777 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:803:24 [INFO] [stdout] | [INFO] [stdout] 803 | let addr = try!(SocketAddr::new(|addr, len| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:827:34 [INFO] [stdout] | [INFO] [stdout] 827 | Ok(UnixListener { inner: try!(self.inner.try_clone()) }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1016:13 [INFO] [stdout] | [INFO] [stdout] 1016 | try!(cvt(libc::bind(inner.0, &addr as *const _ as *const _, len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1013:25 [INFO] [stdout] | [INFO] [stdout] 1013 | let inner = try!(Inner::new(libc::SOCK_DGRAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1014:31 [INFO] [stdout] | [INFO] [stdout] 1014 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1032:21 [INFO] [stdout] | [INFO] [stdout] 1032 | let inner = try!(Inner::new(libc::SOCK_DGRAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1048:24 [INFO] [stdout] | [INFO] [stdout] 1048 | let (i1, i2) = try!(Inner::new_pair(libc::SOCK_DGRAM)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1069:13 [INFO] [stdout] | [INFO] [stdout] 1069 | try!(cvt(libc::connect(self.inner.0, &addr as *const _ as *const _, len))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1067:31 [INFO] [stdout] | [INFO] [stdout] 1067 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1090:34 [INFO] [stdout] | [INFO] [stdout] 1090 | Ok(UnixDatagram { inner: try!(self.inner.try_clone()) }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1146:20 [INFO] [stdout] | [INFO] [stdout] 1146 | let addr = try!(SocketAddr::new(|addr, len| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1184:25 [INFO] [stdout] | [INFO] [stdout] 1184 | let count = try!(cvt_s(libc::recv(self.inner.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1217:31 [INFO] [stdout] | [INFO] [stdout] 1217 | let (addr, len) = try!(sockaddr_un(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1219:25 [INFO] [stdout] | [INFO] [stdout] 1219 | let count = try!(cvt_s(libc::sendto(self.inner.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:1258:25 [INFO] [stdout] | [INFO] [stdout] 1258 | let count = try!(cvt_s(libc::send(self.inner.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:1802:46 [INFO] [stdout] | [INFO] [stdout] 1802 | s2.shutdown(Shutdown::Read).unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | let addr: libc::sockaddr_un = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/lib.rs:1622:15 [INFO] [stdout] | [INFO] [stdout] 1606 | let dir = or_panic!(TempDir::new("unix_socket")); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `dir` calls a custom destructor [INFO] [stdout] | `dir` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1622 | match UnixDatagram::bind(&socket_path) { [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] 1627 | } [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` invokes this custom destructor [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / impl Drop for Inner { [INFO] [stdout] 52 | | fn drop(&mut self) { [INFO] [stdout] 53 | | unsafe { [INFO] [stdout] 54 | | libc::close(self.0); [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `dir` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tempdir-0.3.7/src/lib.rs:349:1 [INFO] [stdout] | [INFO] [stdout] 349 | impl Drop for TempDir { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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] warning: the type `sockaddr_un` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | let addr: libc::sockaddr_un = 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] [stderr] error: could not compile `unix_socket2` (lib test) due to 1 previous error; 34 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2af7127b70f806befcf84de6a07dde51cc92f73fd32bd91d4dff57adaf562114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af7127b70f806befcf84de6a07dde51cc92f73fd32bd91d4dff57adaf562114", kill_on_drop: false }` [INFO] [stdout] 2af7127b70f806befcf84de6a07dde51cc92f73fd32bd91d4dff57adaf562114