[INFO] fetching crate cntr-nix 0.11.3-pre1... [INFO] testing cntr-nix-0.11.3-pre1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cntr-nix 0.11.3-pre1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate cntr-nix 0.11.3-pre1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cntr-nix 0.11.3-pre1 [INFO] tweaked toml for crates.io crate cntr-nix 0.11.3-pre1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cntr-nix 0.11.3-pre1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.1) [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.1) [INFO] [stderr] Adding rand v0.4.6 (available: v0.9.1) [INFO] [stderr] Adding sysctl v0.1.4 (available: v0.6.0) [INFO] [stderr] Adding tempfile v2.2.0 (available: v3.20.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 sysctl v0.1.4 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 815fe5c9b31b9f0122ac2f363cdde6fe27a53c2422e564fe4a86486aa66ba928 [INFO] running `Command { std: "docker" "start" "-a" "815fe5c9b31b9f0122ac2f363cdde6fe27a53c2422e564fe4a86486aa66ba928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "815fe5c9b31b9f0122ac2f363cdde6fe27a53c2422e564fe4a86486aa66ba928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "815fe5c9b31b9f0122ac2f363cdde6fe27a53c2422e564fe4a86486aa66ba928", kill_on_drop: false }` [INFO] [stdout] 815fe5c9b31b9f0122ac2f363cdde6fe27a53c2422e564fe4a86486aa66ba928 [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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a43b6fed9430515f33ffcd84ca9cff25d06e676e8510e8565b986e1a594ce413 [INFO] running `Command { std: "docker" "start" "-a" "a43b6fed9430515f33ffcd84ca9cff25d06e676e8510e8565b986e1a594ce413", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cntr-nix v0.11.3-pre1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling void v1.0.2 [INFO] [stdout] warning: unexpected `cfg` condition value: `fushsia` [INFO] [stdout] --> src/lib.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | target_os = "fushsia", [INFO] [stdout] | ^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"fuchsia"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [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] error: rule #8 of macro `libc_enum` is never used [INFO] [stdout] --> src/macros.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / (@accumulate_entries [INFO] [stdout] 205 | | $prefix:tt, [INFO] [stdout] 206 | | [$($entries:tt)*]; [INFO] [stdout] 207 | | $entry:ident as $ty:ty, $($tail:tt)* [INFO] [stdout] 208 | | ) => { [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | #![deny(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(unused_macro_rules)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dirent.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let dirp = try!(name.with_nix_path(|cstr| unsafe { libc::opendir(cstr.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/features.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fcntl.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | let fd = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fcntl.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | let fd = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fcntl.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | let res = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fcntl.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | let res = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fcntl.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 228 | let res = try!(try!(oldpath.with_nix_path(|old| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fcntl.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | let res = try!(try!(oldpath.with_nix_path(|old| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fcntl.rs:242:15 [INFO] [stdout] | [INFO] [stdout] 242 | let res = try!(try!(oldpath.with_nix_path(|old| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fcntl.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | let res = try!(try!(oldpath.with_nix_path(|old| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fcntl.rs:256:15 [INFO] [stdout] | [INFO] [stdout] 256 | let res = try!(try!(oldpath.with_nix_path(|old| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fcntl.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | let res = try!(try!(oldpath.with_nix_path(|old| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mount.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | let res = try!(try!(try!(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mount.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | let res = try!(try!(try!(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mount.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let res = try!(try!(try!(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mount.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | let res = try!(try!(try!(try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mount.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | let res = try!(target.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mount.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | let res = try!(target.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/mqueue.rs:154:46 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn mq_set_nonblock(mqd: mqd_t) -> Result<(MqAttr)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(unused)]` [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 154 - pub fn mq_set_nonblock(mqd: mqd_t) -> Result<(MqAttr)> { [INFO] [stdout] 154 + pub fn mq_set_nonblock(mqd: mqd_t) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mqueue.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | let oldattr = try!(mq_getattr(mqd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around type [INFO] [stdout] --> src/mqueue.rs:166:49 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn mq_remove_nonblock(mqd: mqd_t) -> Result<(MqAttr)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 166 - pub fn mq_remove_nonblock(mqd: mqd_t) -> Result<(MqAttr)> { [INFO] [stdout] 166 + pub fn mq_remove_nonblock(mqd: mqd_t) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mqueue.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | let oldattr = try!(mq_getattr(mqd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/if_.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | let if_index = try!(name.with_nix_path(|name| unsafe { libc::if_nametoindex(name.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `osx` [INFO] [stdout] --> src/net/if_.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | target_os = "osx"))] [INFO] [stdout] | ^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"psx"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mman.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 267 | let ret = try!(name.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/mman.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 283 | let ret = try!(name.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `arch` [INFO] [stdout] --> src/sys/ptrace.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | if #[cfg(any(all(target_os = "linux", arch = "s390x"), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(arch, values("s390x"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(arch, values(\"s390x\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/quota.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | let res = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/quota.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | try!(quota_file.with_nix_path(|path| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/signal.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | try!(pthread_sigmask(SigmaskHow::SIG_SETMASK, None, Some(&mut oldmask))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/signal.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | try!(pthread_sigmask(how, Some(self), Some(&mut oldmask))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys/signal.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | Handler(extern fn(libc::c_int)), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys/signal.rs:370:15 [INFO] [stdout] | [INFO] [stdout] 370 | SigAction(extern fn(libc::c_int, *mut libc::siginfo_t, *mut libc::c_void)) [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys/signal.rs:391:51 [INFO] [stdout] | [INFO] [stdout] 391 | SigHandler::Handler(f) => f as *const extern fn(libc::c_int) as usize, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys/signal.rs:392:53 [INFO] [stdout] | [INFO] [stdout] 392 | SigHandler::SigAction(f) => f as *const extern fn(libc::c_int, *mut libc::siginfo_t, *mut libc::c_void) as usize, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/signalfd.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | let fd = try!(signalfd(SIGNALFD_NEW, mask, flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/addr.rs:600:9 [INFO] [stdout] | [INFO] [stdout] 600 | try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/addr.rs:759:27 [INFO] [stdout] | [INFO] [stdout] 759 | Ok(SockAddr::Unix(try!(UnixAddr::new(path)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/sys/socket/sockopt.rs:237:11 [INFO] [stdout] | [INFO] [stdout] 237 | target_os = "nacl"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: rule #2 of macro `sockopt_impl` is never used [INFO] [stdout] --> src/sys/socket/sockopt.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | (GetOnly, $name:ident, $level:path, $flag:path, u8) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: rule #3 of macro `sockopt_impl` is never used [INFO] [stdout] --> src/sys/socket/sockopt.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | (GetOnly, $name:ident, $level:path, $flag:path, usize) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: rule #4 of macro `sockopt_impl` is never used [INFO] [stdout] --> src/sys/socket/sockopt.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | (SetOnly, $name:ident, $level:path, $flag:path, bool) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: rule #5 of macro `sockopt_impl` is never used [INFO] [stdout] --> src/sys/socket/sockopt.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | (SetOnly, $name:ident, $level:path, $flag:path, u8) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | sockopt_impl!(Both, ReuseAddr, libc::SOL_SOCKET, libc::SO_REUSEADDR, bool); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | sockopt_impl!(Both, ReusePort, libc::SOL_SOCKET, libc::SO_REUSEPORT, bool); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | sockopt_impl!(Both, TcpNoDelay, libc::IPPROTO_TCP, libc::TCP_NODELAY, bool); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | sockopt_impl!(Both, Linger, libc::SOL_SOCKET, libc::SO_LINGER, libc::linger); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | sockopt_impl!(Both, IpMulticastTtl, libc::IPPROTO_IP, libc::IP_MULTICAST_TTL, u8); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | sockopt_impl!(Both, IpMulticastLoop, libc::IPPROTO_IP, libc::IP_MULTICAST_LOOP, bool); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | sockopt_impl!(Both, ReceiveTimeout, libc::SOL_SOCKET, libc::SO_RCVTIMEO, TimeVal); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | sockopt_impl!(Both, SendTimeout, libc::SOL_SOCKET, libc::SO_SNDTIMEO, TimeVal); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | sockopt_impl!(Both, Broadcast, libc::SOL_SOCKET, libc::SO_BROADCAST, bool); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | sockopt_impl!(Both, OobInline, libc::SOL_SOCKET, libc::SO_OOBINLINE, bool); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | sockopt_impl!(GetOnly, SocketError, libc::SOL_SOCKET, libc::SO_ERROR, i32); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | sockopt_impl!(Both, KeepAlive, libc::SOL_SOCKET, libc::SO_KEEPALIVE, bool); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | sockopt_impl!(GetOnly, PeerCredentials, libc::SOL_SOCKET, libc::SO_PEERCRED, super::UnixCredentials); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | sockopt_impl!(Both, TcpKeepIdle, libc::IPPROTO_TCP, libc::TCP_KEEPIDLE, u32); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | sockopt_impl!(Both, RcvBuf, libc::SOL_SOCKET, libc::SO_RCVBUF, usize); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | sockopt_impl!(Both, SndBuf, libc::SOL_SOCKET, libc::SO_SNDBUF, usize); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | sockopt_impl!(GetOnly, SockType, libc::SOL_SOCKET, libc::SO_TYPE, super::SockType); [INFO] [stdout] | ---------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | sockopt_impl!(GetOnly, AcceptConn, libc::SOL_SOCKET, libc::SO_ACCEPTCONN, bool); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | sockopt_impl!(GetOnly, OriginalDst, libc::SOL_IP, libc::SO_ORIGINAL_DST, libc::sockaddr_in); [INFO] [stdout] | ------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | sockopt_impl!(Both, ReceiveTimestamp, libc::SOL_SOCKET, libc::SO_TIMESTAMP, bool); [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | sockopt_impl!(Both, IpTransparent, libc::SOL_IP, libc::IP_TRANSPARENT, bool); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/sockopt.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | sockopt_impl!(Both, Mark, libc::SOL_SOCKET, libc::SO_MARK, u32); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `getsockopt_impl` which comes from the expansion of the macro `sockopt_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/mod.rs:687:16 [INFO] [stdout] | [INFO] [stdout] 687 | bytes: try!(Errno::result(ret)) as usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/mod.rs:827:19 [INFO] [stdout] | [INFO] [stdout] 827 | let ret = try!(Errno::result(libc::recvfrom( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/mod.rs:927:9 [INFO] [stdout] | [INFO] [stdout] 927 | try!(Errno::result(ret)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket/mod.rs:943:9 [INFO] [stdout] | [INFO] [stdout] 943 | try!(Errno::result(ret)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/stat.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | let res = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/stat.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | let res = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/stat.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/stat.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | let res = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/stat.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/stat.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | let res = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/stat.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/stat.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/stat.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | let res = try!(pathname.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/stat.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 254 | let res = try!(pathname.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/statfs.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let res = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/statvfs.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | let res = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/termios.rs:1050:5 [INFO] [stdout] | [INFO] [stdout] 1050 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/time.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | try!(write!(f, "{}", sign)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/time.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | try!(write!(f, "{} second", sec)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/time.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | try!(write!(f, "{} seconds", sec)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/time.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | try!(write!(f, "{}.{:03} seconds", sec, abs.tv_nsec() / 1_000_000)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/time.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | try!(write!(f, "{}.{:06} seconds", sec, abs.tv_nsec() / 1_000)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/time.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | try!(write!(f, "{}.{:09} seconds", sec, abs.tv_nsec())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/time.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | try!(write!(f, "{}", sign)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/time.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | try!(write!(f, "{} second", sec)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/time.rs:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | try!(write!(f, "{} seconds", sec)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/time.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | try!(write!(f, "{}.{:03} seconds", sec, abs.tv_usec() / 1000)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/time.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | try!(write!(f, "{}.{:06} seconds", sec, abs.tv_usec())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/wait.rs:184:39 [INFO] [stdout] | [INFO] [stdout] 184 | WaitStatus::Signaled(pid, try!(term_signal(status)), dumped_core(status)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/wait.rs:193:54 [INFO] [stdout] | [INFO] [stdout] 193 | ... WaitStatus::Stopped(pid, try!(stop_signal(status))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/wait.rs:195:58 [INFO] [stdout] | [INFO] [stdout] 195 | ... WaitStatus::PtraceEvent(pid, try!(stop_signal(status)), stop_additional(status)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/wait.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | match try!(Errno::result(res)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | let res = try!(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let res = try!(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let res = try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let res = try!(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let res = try!(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | let res = try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | let res = try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | let res = try!(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | let res = try!(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | let res = try!(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | let res = try!(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 128 | let res = try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | let res = try!(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | let res = try!(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:151:15 [INFO] [stdout] | [INFO] [stdout] 151 | let res = try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | let res = try!(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/xattr.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | let res = try!(try!(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:387:14 [INFO] [stdout] | [INFO] [stdout] 387 | let fd = try!(dup2(oldfd, newfd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:406:15 [INFO] [stdout] | [INFO] [stdout] 406 | let res = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:459:15 [INFO] [stdout] | [INFO] [stdout] 459 | let res = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:502:15 [INFO] [stdout] | [INFO] [stdout] 502 | let res = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:512:15 [INFO] [stdout] | [INFO] [stdout] 512 | let res = try!(pathname.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:590:15 [INFO] [stdout] | [INFO] [stdout] 590 | let res = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:604:15 [INFO] [stdout] | [INFO] [stdout] 604 | let res = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:634:15 [INFO] [stdout] | [INFO] [stdout] 634 | let res = try!(pathname.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:964:15 [INFO] [stdout] | [INFO] [stdout] 964 | let res = try!(try!(oldpath.with_nix_path(|old| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:964:20 [INFO] [stdout] | [INFO] [stdout] 964 | let res = try!(try!(oldpath.with_nix_path(|old| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:979:15 [INFO] [stdout] | [INFO] [stdout] 979 | let res = try!(try!(oldpath.with_nix_path(|old| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:979:20 [INFO] [stdout] | [INFO] [stdout] 979 | let res = try!(try!(oldpath.with_nix_path(|old| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:995:15 [INFO] [stdout] | [INFO] [stdout] 995 | let res = try!(try!(target.with_nix_path(|t| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:995:20 [INFO] [stdout] | [INFO] [stdout] 995 | let res = try!(try!(target.with_nix_path(|t| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:1011:15 [INFO] [stdout] | [INFO] [stdout] 1011 | let res = try!(try!(target.with_nix_path(|t| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:1011:20 [INFO] [stdout] | [INFO] [stdout] 1011 | let res = try!(try!(target.with_nix_path(|t| [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:1033:9 [INFO] [stdout] | [INFO] [stdout] 1033 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:1060:5 [INFO] [stdout] | [INFO] [stdout] 1060 | try!(Errno::result(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:1147:15 [INFO] [stdout] | [INFO] [stdout] 1147 | let res = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:1158:15 [INFO] [stdout] | [INFO] [stdout] 1158 | let res = try!(pathname.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:1169:15 [INFO] [stdout] | [INFO] [stdout] 1169 | let res = try!(pathname.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:1178:15 [INFO] [stdout] | [INFO] [stdout] 1178 | let res = try!(pathname.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:1186:15 [INFO] [stdout] | [INFO] [stdout] 1186 | let res = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:1632:5 [INFO] [stdout] | [INFO] [stdout] 1632 | try!(Errno::result(fd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:1626:20 [INFO] [stdout] | [INFO] [stdout] 1626 | let mut path = try!(template.with_nix_path(|path| {path.to_bytes_with_nul().to_owned()})); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:1793:15 [INFO] [stdout] | [INFO] [stdout] 1793 | let raw = try!(path.with_nix_path(|cstr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:2260:19 [INFO] [stdout] | [INFO] [stdout] 2260 | let res = try!(try!(new_root.with_nix_path(|new_root| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unistd.rs:2260:24 [INFO] [stdout] | [INFO] [stdout] 2260 | let res = try!(try!(new_root.with_nix_path(|new_root| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ifaddrs.rs:128:55 [INFO] [stdout] | [INFO] [stdout] 128 | let mut addrs: *mut libc::ifaddrs = 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/mqueue.rs:135:34 [INFO] [stdout] | [INFO] [stdout] 135 | let mut attr = 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/mqueue.rs:146:34 [INFO] [stdout] | [INFO] [stdout] 146 | let mut attr = 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/mqueue.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | let mut attr = 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/pty.rs:216:48 [INFO] [stdout] | [INFO] [stdout] 216 | let mut slave: libc::c_int = 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/pty.rs:217:49 [INFO] [stdout] | [INFO] [stdout] 217 | let mut master: libc::c_int = 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/sys/ptrace.rs:199:33 [INFO] [stdout] | [INFO] [stdout] 199 | let data: 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/sys/quota.rs:266:35 [INFO] [stdout] | [INFO] [stdout] 266 | let mut dqblk = 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/sys/resource.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | let mut rlimit = 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/sys/select.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | let mut fdset = 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/sys/signal.rs:437:27 [INFO] [stdout] | [INFO] [stdout] 437 | let mut oldact = 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/sys/signal.rs:270:56 [INFO] [stdout] | [INFO] [stdout] 270 | let mut sigset: libc::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/sys/signal.rs:277:56 [INFO] [stdout] | [INFO] [stdout] 277 | let mut sigset: libc::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/sys/signal.rs:315:49 [INFO] [stdout] | [INFO] [stdout] 315 | let mut oldmask: SigSet = 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/sys/signal.rs:337:49 [INFO] [stdout] | [INFO] [stdout] 337 | let mut oldmask: SigSet = 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/sys/signal.rs:345:53 [INFO] [stdout] | [INFO] [stdout] 345 | let mut signum: libc::c_int = 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/sys/signal.rs:387:35 [INFO] [stdout] | [INFO] [stdout] 387 | let mut s = 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/sys/signalfd.rs:101:69 [INFO] [stdout] | [INFO] [stdout] 101 | let mut buffer: [u8; SIGNALFD_SIGINFO_SIZE] = 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/sys/socket/mod.rs:638:37 [INFO] [stdout] | [INFO] [stdout] 638 | let mut mhdr: msghdr = 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/sys/socket/mod.rs:657:55 [INFO] [stdout] | [INFO] [stdout] 657 | let mut address: sockaddr_storage = 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/sys/socket/mod.rs:674:37 [INFO] [stdout] | [INFO] [stdout] 674 | let mut mhdr: msghdr = 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/sys/socket/mod.rs:922:43 [INFO] [stdout] | [INFO] [stdout] 922 | let addr: sockaddr_storage = 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/sys/socket/mod.rs:938:43 [INFO] [stdout] | [INFO] [stdout] 938 | let addr: sockaddr_storage = 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/sys/socket/mod.rs:550:28 [INFO] [stdout] | [INFO] [stdout] 550 | ..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/sys/socket/mod.rs:568:28 [INFO] [stdout] | [INFO] [stdout] 568 | ..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/sys/socket/addr.rs:547:60 [INFO] [stdout] | [INFO] [stdout] 547 | let mut in6_addr_var: libc::in6_addr = unsafe{mem::uninitialized()}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/sys/socket/sockopt.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{self, c_int, uint8_t, c_void, socklen_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/sys/socket/sockopt.rs:388:10 [INFO] [stdout] | [INFO] [stdout] 388 | val: uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/sys/socket/sockopt.rs:415:10 [INFO] [stdout] | [INFO] [stdout] 415 | val: uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/sys/socket/sockopt.rs:394:33 [INFO] [stdout] | [INFO] [stdout] 394 | len: mem::size_of::() as socklen_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/sys/socket/sockopt.rs:400:31 [INFO] [stdout] | [INFO] [stdout] 400 | &mut self.val as *mut uint8_t as *mut c_void [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/sys/socket/sockopt.rs:408:53 [INFO] [stdout] | [INFO] [stdout] 408 | assert!(self.len as usize == mem::size_of::(), "invalid getsockopt implementation"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/sys/socket/sockopt.rs:420:30 [INFO] [stdout] | [INFO] [stdout] 420 | SetU8 { val: *val as uint8_t } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/sys/socket/sockopt.rs:424:29 [INFO] [stdout] | [INFO] [stdout] 424 | &self.val as *const uint8_t as *const c_void [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sys/stat.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | let mut dst = 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/sys/stat.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | let mut dst = 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/sys/stat.rs:130:33 [INFO] [stdout] | [INFO] [stdout] 130 | let mut dst = 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/sys/stat.rs:139:33 [INFO] [stdout] | [INFO] [stdout] 139 | let mut dst = 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/sys/statvfs.rs:128:38 [INFO] [stdout] | [INFO] [stdout] 128 | let mut stat: Statvfs = 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/sys/statvfs.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 141 | let mut stat: Statvfs = 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/sys/sysinfo.rs:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | let mut info: libc::sysinfo = 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/sys/termios.rs:1046:52 [INFO] [stdout] | [INFO] [stdout] 1046 | let mut termios: libc::termios = 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/sys/termios.rs:254:38 [INFO] [stdout] | [INFO] [stdout] 254 | inner: RefCell::new(mem::uninitialized()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/time.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use libc::{c_long, time_t, suseconds_t, timespec, timeval}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/time.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 110 | TimeSpec(timespec {tv_sec: seconds as time_t, tv_nsec: 0 }) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/time.rs:136:44 [INFO] [stdout] | [INFO] [stdout] 136 | TimeSpec(timespec {tv_sec: secs as time_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/time.rs:172:29 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn tv_sec(&self) -> time_t { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/time.rs:321:45 [INFO] [stdout] | [INFO] [stdout] 321 | TimeVal(timeval {tv_sec: seconds as time_t, tv_usec: 0 }) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/time.rs:338:42 [INFO] [stdout] | [INFO] [stdout] 338 | TimeVal(timeval {tv_sec: secs as time_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/time.rs:350:42 [INFO] [stdout] | [INFO] [stdout] 350 | TimeVal(timeval {tv_sec: secs as time_t, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. [INFO] [stdout] --> src/sys/time.rs:386:29 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn tv_sec(&self) -> time_t { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sys/utsname.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | let mut ret: UtsName = 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/unistd.rs:1029:40 [INFO] [stdout] | [INFO] [stdout] 1029 | let mut fds: [c_int; 2] = 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/unistd.rs:1056:45 [INFO] [stdout] | [INFO] [stdout] 1056 | let mut fds: [c_int; 2] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/aio.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | BoxedSlice(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] 105 | BoxedSlice(Box>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/aio.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | BoxedMutSlice(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] 107 | BoxedMutSlice(Box>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | pub type CloneCb<'a> = Box isize + 'a>; [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] 39 | pub type CloneCb<'a> = Box isize + 'a>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/aio.rs:168:49 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn boxed_slice(&mut self) -> Option>> { [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] 168 | pub fn boxed_slice(&mut self) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/aio.rs:190:53 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn boxed_mut_slice(&mut self) -> Option>> { [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] 190 | pub fn boxed_mut_slice(&mut self) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/aio.rs:451:62 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn from_boxed_slice(fd: RawFd, offs: off_t, buf: 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] 451 | pub fn from_boxed_slice(fd: RawFd, offs: off_t, buf: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/aio.rs:519:46 [INFO] [stdout] | [INFO] [stdout] 519 | ... mut buf: 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] 519 | mut buf: Box>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | const $Flag = libc::$Flag $(as $cast)*; [INFO] [stdout] | ^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/fcntl.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / libc_bitflags!( [INFO] [stdout] 149 | | /// Configuration options for opened files. [INFO] [stdout] 150 | | pub struct RenameAt2Flags: c_int { [INFO] [stdout] 151 | | RENAME_NOREPLACE; [INFO] [stdout] ... | [INFO] [stdout] 155 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sched.rs:102:71 [INFO] [stdout] | [INFO] [stdout] 102 | libc::clone(mem::transmute(callback as extern "C" fn(*mut Box<::std::ops::FnMut() -> isize>) -> i32), [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] 102 | libc::clone(mem::transmute(callback as extern "C" fn(*mut Box isize)>) -> i32), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/aio.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | let borrowed : &Borrow<[u8]> = bs.borrow(); [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] 119 | let borrowed : &dyn Borrow<[u8]> = bs.borrow(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/aio.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | borrowed as *const Borrow<[u8]>) [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] 121 | borrowed as *const dyn Borrow<[u8]>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/aio.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | let borrowed : &BorrowMut<[u8]> = bms.borrow(); [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] 124 | let borrowed : &dyn BorrowMut<[u8]> = bms.borrow(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/aio.rs:126:40 [INFO] [stdout] | [INFO] [stdout] 126 | borrowed as *const BorrowMut<[u8]>) [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] 126 | borrowed as *const dyn BorrowMut<[u8]>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/aio.rs:456:29 [INFO] [stdout] | [INFO] [stdout] 456 | let borrowed : &Borrow<[u8]> = buf.borrow(); [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] 456 | let borrowed : &dyn Borrow<[u8]> = buf.borrow(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/aio.rs:524:33 [INFO] [stdout] | [INFO] [stdout] 524 | let borrowed : &mut BorrowMut<[u8]> = buf.borrow_mut(); [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] 524 | let borrowed : &mut dyn BorrowMut<[u8]> = buf.borrow_mut(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/sys/quota.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { libc::QCMD(self.0 as i32, self.1 as i32) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_unsafe)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variable does not need to be mutable [INFO] [stdout] --> src/sys/socket/mod.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | let mut ptr = &mut cmsg_buffer[ofs..]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_mut)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/sys/wait.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe { libc::WIFEXITED(status) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/sys/wait.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe { libc::WEXITSTATUS(status) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/sys/wait.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | unsafe { libc::WIFSIGNALED(status) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/sys/wait.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | Signal::from_c_int(unsafe { libc::WTERMSIG(status) }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/sys/wait.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { libc::WCOREDUMP(status) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/sys/wait.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe { libc::WIFSTOPPED(status) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/sys/wait.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | Signal::from_c_int(unsafe { libc::WSTOPSIG(status) }) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/sys/wait.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | unsafe { libc::WSTOPSIG(status) == libc::SIGTRAP | 0x80 } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary `unsafe` block [INFO] [stdout] --> src/sys/wait.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | unsafe { libc::WIFCONTINUED(status) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cntr-nix` (lib) due to 19 previous errors; 205 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a43b6fed9430515f33ffcd84ca9cff25d06e676e8510e8565b986e1a594ce413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a43b6fed9430515f33ffcd84ca9cff25d06e676e8510e8565b986e1a594ce413", kill_on_drop: false }` [INFO] [stdout] a43b6fed9430515f33ffcd84ca9cff25d06e676e8510e8565b986e1a594ce413