[INFO] fetching crate sys_util 0.1.0... [INFO] testing sys_util-0.1.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate sys_util 0.1.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate sys_util 0.1.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sys_util 0.1.0 [INFO] finished tweaking crates.io crate sys_util 0.1.0 [INFO] tweaked toml for crates.io crate sys_util 0.1.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `rename-dependency` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml for more information about using this feature. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78b11d199cfeabbc26a67e9af7367592fdeb3be4c2a2d5aca01b96baf685d196 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "78b11d199cfeabbc26a67e9af7367592fdeb3be4c2a2d5aca01b96baf685d196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78b11d199cfeabbc26a67e9af7367592fdeb3be4c2a2d5aca01b96baf685d196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78b11d199cfeabbc26a67e9af7367592fdeb3be4c2a2d5aca01b96baf685d196", kill_on_drop: false }` [INFO] [stdout] 78b11d199cfeabbc26a67e9af7367592fdeb3be4c2a2d5aca01b96baf685d196 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5502617bee13fced0fb1ef72a837cbd90c25c3c26c0c0316f3635d8c3c7bb30 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a5502617bee13fced0fb1ef72a837cbd90c25c3c26c0c0316f3635d8c3c7bb30", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `rename-dependency` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml for more information about using this feature. [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling assertions v0.1.0 [INFO] [stderr] Compiling sync_panic v0.1.0 [INFO] [stderr] Compiling syscall_defines v0.1.0 [INFO] [stderr] Compiling data_model v0.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling poll_token_derive v0.1.0 [INFO] [stderr] Compiling sys_util v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/file_flags.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_file(file: &AsRawFd) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mmap.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn from_fd(fd: &AsRawFd, size: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mmap.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn from_fd_offset(fd: &AsRawFd, size: usize, offset: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn add(&self, fd: &AsRawFd, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:300:43 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn add_fd_with_events(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:323:31 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn modify(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:350:31 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn delete(&self, fd: &AsRawFd) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:494:28 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn add(&self, fd: &AsRawFd, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:504:43 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn add_fd_with_events(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:513:31 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn modify(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:523:31 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn delete(&self, fd: &AsRawFd) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn flock(file: &AsRawFd, op: FlockOperation, nonblocking: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | file: &AsRawFd, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/syslog.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | use std::sync::{MutexGuard, Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/syslog.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | static STATE_ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/net.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | let addr: libc::sockaddr_un = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/guest_memory.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn read_at_addr(&self, mut buf: &mut [u8], guest_addr: GuestAddress) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.60s [INFO] running `Command { std: "docker" "inspect" "a5502617bee13fced0fb1ef72a837cbd90c25c3c26c0c0316f3635d8c3c7bb30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5502617bee13fced0fb1ef72a837cbd90c25c3c26c0c0316f3635d8c3c7bb30", kill_on_drop: false }` [INFO] [stdout] a5502617bee13fced0fb1ef72a837cbd90c25c3c26c0c0316f3635d8c3c7bb30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2832d5dcf7a3022a0258abdad4b331856f1991991c8248ad60f82f84cb7a0633 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2832d5dcf7a3022a0258abdad4b331856f1991991c8248ad60f82f84cb7a0633", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `rename-dependency` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml for more information about using this feature. [INFO] [stderr] Compiling sys_util v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/file_flags.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_file(file: &AsRawFd) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mmap.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn from_fd(fd: &AsRawFd, size: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mmap.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn from_fd_offset(fd: &AsRawFd, size: usize, offset: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn add(&self, fd: &AsRawFd, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:300:43 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn add_fd_with_events(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:323:31 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn modify(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:350:31 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn delete(&self, fd: &AsRawFd) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:494:28 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn add(&self, fd: &AsRawFd, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:504:43 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn add_fd_with_events(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:513:31 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn modify(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:523:31 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn delete(&self, fd: &AsRawFd) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn flock(file: &AsRawFd, op: FlockOperation, nonblocking: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | file: &AsRawFd, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/syslog.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | use std::sync::{MutexGuard, Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/syslog.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | static STATE_ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/net.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | let addr: libc::sockaddr_un = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/guest_memory.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn read_at_addr(&self, mut buf: &mut [u8], guest_addr: GuestAddress) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/file_flags.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_file(file: &AsRawFd) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mmap.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn from_fd(fd: &AsRawFd, size: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mmap.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn from_fd_offset(fd: &AsRawFd, size: usize, offset: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn add(&self, fd: &AsRawFd, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:300:43 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn add_fd_with_events(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:323:31 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn modify(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:350:31 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn delete(&self, fd: &AsRawFd) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:494:28 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn add(&self, fd: &AsRawFd, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:504:43 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn add_fd_with_events(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:513:31 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn modify(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/poll.rs:523:31 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn delete(&self, fd: &AsRawFd) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn flock(file: &AsRawFd, op: FlockOperation, nonblocking: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | file: &AsRawFd, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/syslog.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | use std::sync::{MutexGuard, Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/syslog.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | static STATE_ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/net.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | let addr: libc::sockaddr_un = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/guest_memory.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn read_at_addr(&self, mut buf: &mut [u8], guest_addr: GuestAddress) -> Result { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.11s [INFO] running `Command { std: "docker" "inspect" "2832d5dcf7a3022a0258abdad4b331856f1991991c8248ad60f82f84cb7a0633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2832d5dcf7a3022a0258abdad4b331856f1991991c8248ad60f82f84cb7a0633", kill_on_drop: false }` [INFO] [stdout] 2832d5dcf7a3022a0258abdad4b331856f1991991c8248ad60f82f84cb7a0633 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c053dfb9ed4dd4492cfd704765382f376b4ba2f670736398692e280d08015bc6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c053dfb9ed4dd4492cfd704765382f376b4ba2f670736398692e280d08015bc6", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `rename-dependency` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml for more information about using this feature. [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/file_flags.rs:19:29 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn from_file(file: &AsRawFd) -> Result { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mmap.rs:93:25 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn from_fd(fd: &AsRawFd, size: usize) -> Result { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mmap.rs:103:32 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn from_fd_offset(fd: &AsRawFd, size: usize, offset: usize) -> Result { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:290:28 [INFO] [stderr] | [INFO] [stderr] 290 | pub fn add(&self, fd: &AsRawFd, token: T) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:300:43 [INFO] [stderr] | [INFO] [stderr] 300 | pub fn add_fd_with_events(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:323:31 [INFO] [stderr] | [INFO] [stderr] 323 | pub fn modify(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:350:31 [INFO] [stderr] | [INFO] [stderr] 350 | pub fn delete(&self, fd: &AsRawFd) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:494:28 [INFO] [stderr] | [INFO] [stderr] 494 | pub fn add(&self, fd: &AsRawFd, token: T) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:504:43 [INFO] [stderr] | [INFO] [stderr] 504 | pub fn add_fd_with_events(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:513:31 [INFO] [stderr] | [INFO] [stderr] 513 | pub fn modify(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:523:31 [INFO] [stderr] | [INFO] [stderr] 523 | pub fn delete(&self, fd: &AsRawFd) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:149:21 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn flock(file: &AsRawFd, op: FlockOperation, nonblocking: bool) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:178:12 [INFO] [stderr] | [INFO] [stderr] 178 | file: &AsRawFd, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/syslog.rs:39:35 [INFO] [stderr] | [INFO] [stderr] 39 | use std::sync::{MutexGuard, Once, ONCE_INIT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/syslog.rs:207:27 [INFO] [stderr] | [INFO] [stderr] 207 | static STATE_ONCE: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/net.rs:16:39 [INFO] [stderr] | [INFO] [stderr] 16 | let addr: libc::sockaddr_un = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/guest_memory.rs:250:32 [INFO] [stderr] | [INFO] [stderr] 250 | pub fn read_at_addr(&self, mut buf: &mut [u8], guest_addr: GuestAddress) -> Result { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/file_flags.rs:19:29 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn from_file(file: &AsRawFd) -> Result { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mmap.rs:93:25 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn from_fd(fd: &AsRawFd, size: usize) -> Result { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mmap.rs:103:32 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn from_fd_offset(fd: &AsRawFd, size: usize, offset: usize) -> Result { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:290:28 [INFO] [stderr] | [INFO] [stderr] 290 | pub fn add(&self, fd: &AsRawFd, token: T) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:300:43 [INFO] [stderr] | [INFO] [stderr] 300 | pub fn add_fd_with_events(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:323:31 [INFO] [stderr] | [INFO] [stderr] 323 | pub fn modify(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:350:31 [INFO] [stderr] | [INFO] [stderr] 350 | pub fn delete(&self, fd: &AsRawFd) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:494:28 [INFO] [stderr] | [INFO] [stderr] 494 | pub fn add(&self, fd: &AsRawFd, token: T) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:504:43 [INFO] [stderr] | [INFO] [stderr] 504 | pub fn add_fd_with_events(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:513:31 [INFO] [stderr] | [INFO] [stderr] 513 | pub fn modify(&self, fd: &AsRawFd, events: WatchingEvents, token: T) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/poll.rs:523:31 [INFO] [stderr] | [INFO] [stderr] 523 | pub fn delete(&self, fd: &AsRawFd) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:149:21 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn flock(file: &AsRawFd, op: FlockOperation, nonblocking: bool) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:178:12 [INFO] [stderr] | [INFO] [stderr] 178 | file: &AsRawFd, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn AsRawFd` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/syslog.rs:39:35 [INFO] [stderr] | [INFO] [stderr] 39 | use std::sync::{MutexGuard, Once, ONCE_INIT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/syslog.rs:207:27 [INFO] [stderr] | [INFO] [stderr] 207 | static STATE_ONCE: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/net.rs:16:39 [INFO] [stderr] | [INFO] [stderr] 16 | let addr: libc::sockaddr_un = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/guest_memory.rs:250:32 [INFO] [stderr] | [INFO] [stderr] 250 | pub fn read_at_addr(&self, mut buf: &mut [u8], guest_addr: GuestAddress) -> Result { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sys_util-f1b73ef228d82409) [INFO] [stdout] [INFO] [stdout] running 84 tests [INFO] [stdout] test eventfd::tests::clone ... ok [INFO] [stdout] test eventfd::tests::read_write ... ok [INFO] [stdout] test guest_memory::tests::test_ref_store_u64 ... ok [INFO] [stdout] test guest_memory::tests::test_ref_load_u64 ... ok [INFO] [stdout] test guest_memory::tests::test_read_u64 ... ok [INFO] [stdout] test guest_memory::tests::test_memory_size ... ok [INFO] [stdout] test guest_memory::tests::two_regions ... ok [INFO] [stdout] test handle_eintr::tests::i32_eintr_errno ... ok [INFO] [stdout] test handle_eintr::tests::i32_eintr_rc ... ok [INFO] [stdout] test handle_eintr::tests::io_eintr ... ok [INFO] [stdout] test ioctl::tests::ioctl_macros ... ok [INFO] [stdout] test mmap::tests::basic_map ... ok [INFO] [stdout] test file_flags::tests::eventfd ... ok [INFO] [stdout] test file_flags::tests::pipe_pair ... ok [INFO] [stdout] test handle_eintr::tests::sys_eintr ... ok [INFO] [stdout] test mmap::tests::map_invalid_size ... ok [INFO] [stdout] test guest_address::tests::cmp ... ok [INFO] [stdout] test guest_address::tests::checked_add_overflow ... ok [INFO] [stdout] test guest_address::tests::equals ... ok [INFO] [stdout] test eventfd::tests::new ... ok [INFO] [stdout] test guest_address::tests::mask ... ok [INFO] [stdout] test mmap::tests::slice_addr ... ok [INFO] [stdout] test guest_memory::tests::guest_to_host ... ok [INFO] [stdout] test net::tests::sockaddr_un_long_input_pass ... ok [INFO] [stdout] test mmap::tests::slice_oob_error ... ok [INFO] [stdout] test mmap::tests::slice_overflow_error ... ok [INFO] [stdout] test mmap::tests::test_write_past_end ... ok [INFO] [stdout] test guest_address::tests::add_sub ... ok [INFO] [stdout] test mmap::tests::slice_size ... ok [INFO] [stdout] test net::tests::sockaddr_un_long_input_err ... ok [INFO] [stdout] test net::tests::sockaddr_un_len_check ... ok [INFO] [stdout] test mmap::tests::slice_store ... ok [INFO] [stdout] test guest_memory::tests::overlap_memory ... ok [INFO] [stdout] test poll::tests::poll_context_overflow ... ok [INFO] [stdout] test fork::tests::pid_diff ... ok [INFO] [stdout] test poll::tests::poll_token_derive ... ok [INFO] [stdout] test net::tests::sockaddr_un_zero_length_input ... ok [INFO] [stdout] test net::tests::unix_seqpacket_path_not_exists ... ok [INFO] [stdout] test net::tests::sockaddr_un_pass ... ok [INFO] [stdout] test net::tests::unix_seqpacket_path_exists_pass ... ok [INFO] [stdout] test shm::tests::new ... ok [INFO] [stdout] test poll::tests::poll_context ... ok [INFO] [stdout] test shm::tests::new_huge ... ok [INFO] [stdout] test seek_hole::tests::seek_hole ... ok [INFO] [stdout] test shm::tests::new_named ... ok [INFO] [stdout] test shm::tests::mmap_page_offset ... ok [INFO] [stdout] test passwd::tests::get_good_gid ... ok [INFO] [stdout] test passwd::tests::get_good_uid ... ok [INFO] [stdout] test shm::tests::new_sized ... ok [INFO] [stdout] test shm::tests::new_sealed ... ok [INFO] [stdout] test shm::tests::mmap_page ... ok [INFO] [stdout] test passwd::tests::get_bad_uid ... ok [INFO] [stdout] test passwd::tests::get_bad_gid ... ok [INFO] [stdout] test poll::tests::poll_context_timeout ... ok [INFO] [stdout] test sock_ctrl_msg::tests::send_recv_with_fd ... ok [INFO] [stdout] test signalfd::tests::drop ... ok [INFO] [stdout] test sock_ctrl_msg::tests::send_recv_no_fd ... ok [INFO] [stdout] test struct_util::test::struct_read_past_end ... ok [INFO] [stdout] test struct_util::test::struct_basic_read ... ok [INFO] [stdout] test signalfd::tests::read ... ok [INFO] [stdout] test sock_ctrl_msg::tests::send_recv_only_fd ... ok [INFO] [stdout] test signalfd::tests::new ... ok [INFO] [stdout] test sock_ctrl_msg::tests::buffer_len ... ok [INFO] [stdout] test shm::tests::new_too_huge ... ok [INFO] [stdout] test seek_hole::tests::seek_data ... ok [INFO] [stdout] test tempdir::tests::remove_dir ... ok [INFO] [stdout] test struct_util::test::struct_slice_read ... ok [INFO] [stdout] test tempdir::tests::create_dir ... ok [INFO] [stdout] test timerfd::tests::fake_one_shot ... ok [INFO] [stdout] test timerfd::tests::fake_repeating ... ok [INFO] [stdout] test mmap::tests::from_fd_offset_invalid ... FAILED [INFO] [stdout] test mmap::tests::map_invalid_fd ... FAILED [INFO] [stdout] test poll::tests::poll_context_hungup ... ok [INFO] [stdout] test syslog::tests::syslog_log ... FAILED [INFO] [stdout] test write_zeroes::tests::simple_test ... ok [INFO] [stdout] test syslog::tests::syslog_file ... FAILED [INFO] [stdout] test syslog::tests::fds ... FAILED [INFO] [stdout] test syslog::tests::init_syslog ... FAILED [INFO] [stdout] test syslog::tests::proc_name ... FAILED [INFO] [stdout] test syslog::tests::macros ... FAILED [INFO] [stdout] test write_zeroes::tests::large_write_zeroes ... ok [INFO] [stdout] test timerfd::tests::one_shot ... ok [INFO] [stdout] test timerfd::tests::repeating ... ok [INFO] [stdout] test fork::tests::panic_safe has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "c053dfb9ed4dd4492cfd704765382f376b4ba2f670736398692e280d08015bc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c053dfb9ed4dd4492cfd704765382f376b4ba2f670736398692e280d08015bc6", kill_on_drop: false }` [INFO] [stdout] c053dfb9ed4dd4492cfd704765382f376b4ba2f670736398692e280d08015bc6