[INFO] fetching crate tvis 0.15.3... [INFO] testing tvis-0.15.3 against 1.55.0 for beta-1.56-1 [INFO] extracting crate tvis 0.15.3 into /workspace/builds/worker-117/source [INFO] validating manifest of crates.io crate tvis 0.15.3 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tvis 0.15.3 [INFO] finished tweaking crates.io crate tvis 0.15.3 [INFO] tweaked toml for crates.io crate tvis 0.15.3 written to /workspace/builds/worker-117/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded advapi32-sys v0.2.0 [INFO] [stderr] Downloaded dlx v0.1.0 [INFO] [stderr] Downloaded tvis_util v0.5.2 [INFO] [stderr] Downloaded tinf v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4653dbddbc34afe8d99fcc0f35d0956c9361b7785a4ce652214f95b487e64a14 [INFO] running `Command { std: "docker" "start" "-a" "4653dbddbc34afe8d99fcc0f35d0956c9361b7785a4ce652214f95b487e64a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4653dbddbc34afe8d99fcc0f35d0956c9361b7785a4ce652214f95b487e64a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4653dbddbc34afe8d99fcc0f35d0956c9361b7785a4ce652214f95b487e64a14", kill_on_drop: false }` [INFO] [stdout] 4653dbddbc34afe8d99fcc0f35d0956c9361b7785a4ce652214f95b487e64a14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52dd44bb980a8d9ce1a9e43cbba0969a201a72714c39596934edf007834b8bc5 [INFO] running `Command { std: "docker" "start" "-a" "52dd44bb980a8d9ce1a9e43cbba0969a201a72714c39596934edf007834b8bc5", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling tvis v0.15.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tinf v0.14.0 [INFO] [stderr] Compiling tvis_util v0.5.2 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | w: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | w: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | fn sgr0(&mut self, w: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:257:27 [INFO] [stdout] | [INFO] [stdout] 257 | tx: Option>>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | tx: Option>>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | tx: Sender>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/unix/mod.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn start_threads(tx: Sender>) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/unix/mod.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | unsafe fn raw_event_loop(tx: Sender>) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/unix/mod.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | tx: Sender>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/unix/mod.rs:190:40 [INFO] [stdout] | [INFO] [stdout] 190 | fn new(desc: &Desc, tx: Sender>) -> Reader { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mods` is imported redundantly [INFO] [stdout] --> src/input/unix/mod.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stdout] | ---- the item `Mods` is already imported here [INFO] [stdout] ... [INFO] [stdout] 241 | use input::Mods; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mods` is imported redundantly [INFO] [stdout] --> src/input/unix/mod.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stdout] | ---- the item `Mods` is already imported here [INFO] [stdout] ... [INFO] [stdout] 282 | use input::Mods; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mods` is imported redundantly [INFO] [stdout] --> src/input/unix/mod.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stdout] | ---- the item `Mods` is already imported here [INFO] [stdout] ... [INFO] [stdout] 380 | use input::Mods; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mods` is imported redundantly [INFO] [stdout] --> src/input/unix/mod.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stdout] | ---- the item `Mods` is already imported here [INFO] [stdout] ... [INFO] [stdout] 430 | use input::Mods; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | impl From>> for Error { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn input::Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn from(_: SendError>) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn input::Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/term/mod.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_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::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/term/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | static TERM: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/term/unix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref STDOUT: io::Stdout = io::stdout(); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/input/unix/mod.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | let mut set: libc::sigset_t = 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/input/unix/mod.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | 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/input/unix/mod.rs:67:44 [INFO] [stdout] | [INFO] [stdout] 67 | let mut sa: libc::sigaction = 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/input/unix/mod.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 68 | let mut set: libc::sigset_t = 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/input/unix/mod.rs:95:47 [INFO] [stdout] | [INFO] [stdout] 95 | let mut read_fds: libc::fd_set = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/input/unix/esckey.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 219 | / lazy_static! { [INFO] [stdout] 220 | | static ref APPKEYS: Vec<(cap::String, KeyPress)> = { [INFO] [stdout] 221 | | vec![ [INFO] [stdout] 222 | | (cap::kcuu1, (Key::Up, Mods::empty())), [INFO] [stdout] ... | [INFO] [stdout] 250 | | }; [INFO] [stdout] 251 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/input/unix/esckey.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 219 | / lazy_static! { [INFO] [stdout] 220 | | static ref APPKEYS: Vec<(cap::String, KeyPress)> = { [INFO] [stdout] 221 | | vec![ [INFO] [stdout] 222 | | (cap::kcuu1, (Key::Up, Mods::empty())), [INFO] [stdout] ... | [INFO] [stdout] 250 | | }; [INFO] [stdout] 251 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | ErrorImpl::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:92:44 [INFO] [stdout] | [INFO] [stdout] 92 | ErrorImpl::Cap(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/term/unix.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | if TERM.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.92s [INFO] running `Command { std: "docker" "inspect" "52dd44bb980a8d9ce1a9e43cbba0969a201a72714c39596934edf007834b8bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52dd44bb980a8d9ce1a9e43cbba0969a201a72714c39596934edf007834b8bc5", kill_on_drop: false }` [INFO] [stdout] 52dd44bb980a8d9ce1a9e43cbba0969a201a72714c39596934edf007834b8bc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9179e285198bc5fb2d2470588055c2a52e5b6d56df57e78e1f06cfc266a60d86 [INFO] running `Command { std: "docker" "start" "-a" "9179e285198bc5fb2d2470588055c2a52e5b6d56df57e78e1f06cfc266a60d86", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling dlx v0.1.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | w: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | w: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | fn sgr0(&mut self, w: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:257:27 [INFO] [stdout] | [INFO] [stdout] 257 | tx: Option>>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | tx: Option>>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | tx: Sender>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/unix/mod.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn start_threads(tx: Sender>) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/unix/mod.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | unsafe fn raw_event_loop(tx: Sender>) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/unix/mod.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | tx: Sender>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/unix/mod.rs:190:40 [INFO] [stdout] | [INFO] [stdout] 190 | fn new(desc: &Desc, tx: Sender>) -> Reader { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mods` is imported redundantly [INFO] [stdout] --> src/input/unix/mod.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stdout] | ---- the item `Mods` is already imported here [INFO] [stdout] ... [INFO] [stdout] 241 | use input::Mods; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mods` is imported redundantly [INFO] [stdout] --> src/input/unix/mod.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stdout] | ---- the item `Mods` is already imported here [INFO] [stdout] ... [INFO] [stdout] 282 | use input::Mods; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mods` is imported redundantly [INFO] [stdout] --> src/input/unix/mod.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stdout] | ---- the item `Mods` is already imported here [INFO] [stdout] ... [INFO] [stdout] 380 | use input::Mods; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mods` is imported redundantly [INFO] [stdout] --> src/input/unix/mod.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stdout] | ---- the item `Mods` is already imported here [INFO] [stdout] ... [INFO] [stdout] 430 | use input::Mods; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | impl From>> for Error { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn input::Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn from(_: SendError>) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn input::Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/term/mod.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_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::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/term/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | static TERM: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/term/unix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref STDOUT: io::Stdout = io::stdout(); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/input/unix/mod.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | let mut set: libc::sigset_t = 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/input/unix/mod.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | 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/input/unix/mod.rs:67:44 [INFO] [stdout] | [INFO] [stdout] 67 | let mut sa: libc::sigaction = 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/input/unix/mod.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 68 | let mut set: libc::sigset_t = 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/input/unix/mod.rs:95:47 [INFO] [stdout] | [INFO] [stdout] 95 | let mut read_fds: libc::fd_set = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/input/unix/esckey.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 219 | / lazy_static! { [INFO] [stdout] 220 | | static ref APPKEYS: Vec<(cap::String, KeyPress)> = { [INFO] [stdout] 221 | | vec![ [INFO] [stdout] 222 | | (cap::kcuu1, (Key::Up, Mods::empty())), [INFO] [stdout] ... | [INFO] [stdout] 250 | | }; [INFO] [stdout] 251 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/input/unix/esckey.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 219 | / lazy_static! { [INFO] [stdout] 220 | | static ref APPKEYS: Vec<(cap::String, KeyPress)> = { [INFO] [stdout] 221 | | vec![ [INFO] [stdout] 222 | | (cap::kcuu1, (Key::Up, Mods::empty())), [INFO] [stdout] ... | [INFO] [stdout] 250 | | }; [INFO] [stdout] 251 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | ErrorImpl::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:92:44 [INFO] [stdout] | [INFO] [stdout] 92 | ErrorImpl::Cap(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/term/unix.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | if TERM.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tvis v0.15.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/colors.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/colors.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | screen: Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/colors.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | fn new(screen: Box) -> ColorDemo { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/colors.rs:259:45 [INFO] [stdout] | [INFO] [stdout] 259 | fn event_loop(&mut self, tx: Sender>, rx: Receiver>) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/colors.rs:259:71 [INFO] [stdout] | [INFO] [stdout] 259 | fn event_loop(&mut self, tx: Sender>, rx: Receiver>) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/pentominoes.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | grid: &'a Grid, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Grid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/pentominoes.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | screen: Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/pentominoes.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | rx: Receiver>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/pentominoes.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | grid: &Grid, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Grid` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/pentominoes.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | mut screen: Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/pentominoes.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | rx: Receiver>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/pentominoes.rs:211:15 [INFO] [stdout] | [INFO] [stdout] 211 | grid: &'a Grid, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Grid` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/pentominoes.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | fn new(grid: &Grid) -> PentMatrix { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Grid` [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 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] --> examples/pentominoes.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | / lazy_static! { [INFO] [stdout] 264 | | static ref PIECES: Vec = vec![ [INFO] [stdout] 265 | | // F [INFO] [stdout] 266 | | (1, [(1, 0), (2, 0), (0, 1), (1, 1), (1, 2)]), [INFO] [stdout] ... | [INFO] [stdout] 340 | | ]; [INFO] [stdout] 341 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/term/unix.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | w: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | w: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | fn sgr0(&mut self, w: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:257:27 [INFO] [stdout] | [INFO] [stdout] 257 | tx: Option>>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | tx: Option>>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/unix.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | tx: Sender>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/term/mod.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/unix/mod.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn start_threads(tx: Sender>) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/unix/mod.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | unsafe fn raw_event_loop(tx: Sender>) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/unix/mod.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | tx: Sender>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/unix/mod.rs:190:40 [INFO] [stdout] | [INFO] [stdout] 190 | fn new(desc: &Desc, tx: Sender>) -> Reader { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mods` is imported redundantly [INFO] [stdout] --> src/input/unix/mod.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stdout] | ---- the item `Mods` is already imported here [INFO] [stdout] ... [INFO] [stdout] 241 | use input::Mods; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mods` is imported redundantly [INFO] [stdout] --> src/input/unix/mod.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stdout] | ---- the item `Mods` is already imported here [INFO] [stdout] ... [INFO] [stdout] 282 | use input::Mods; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mods` is imported redundantly [INFO] [stdout] --> src/input/unix/mod.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stdout] | ---- the item `Mods` is already imported here [INFO] [stdout] ... [INFO] [stdout] 380 | use input::Mods; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mods` is imported redundantly [INFO] [stdout] --> src/input/unix/mod.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stdout] | ---- the item `Mods` is already imported here [INFO] [stdout] ... [INFO] [stdout] 430 | use input::Mods; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/unix/mod.rs:606:40 [INFO] [stdout] | [INFO] [stdout] 606 | fn extract_event(rx: &Receiver>) -> InputEvent { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | impl From>> for Error { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn input::Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn from(_: SendError>) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn input::Event` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/term/mod.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_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::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/term/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | static TERM: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/term/unix.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / lazy_static! { [INFO] [stdout] 16 | | static ref STDOUT: io::Stdout = io::stdout(); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/input/unix/mod.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | let mut set: libc::sigset_t = 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/input/unix/mod.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | 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/input/unix/mod.rs:67:44 [INFO] [stdout] | [INFO] [stdout] 67 | let mut sa: libc::sigaction = 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/input/unix/mod.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 68 | let mut set: libc::sigset_t = 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/input/unix/mod.rs:95:47 [INFO] [stdout] | [INFO] [stdout] 95 | let mut read_fds: libc::fd_set = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/input/unix/esckey.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 219 | / lazy_static! { [INFO] [stdout] 220 | | static ref APPKEYS: Vec<(cap::String, KeyPress)> = { [INFO] [stdout] 221 | | vec![ [INFO] [stdout] 222 | | (cap::kcuu1, (Key::Up, Mods::empty())), [INFO] [stdout] ... | [INFO] [stdout] 250 | | }; [INFO] [stdout] 251 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/input/unix/esckey.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 219 | / lazy_static! { [INFO] [stdout] 220 | | static ref APPKEYS: Vec<(cap::String, KeyPress)> = { [INFO] [stdout] 221 | | vec![ [INFO] [stdout] 222 | | (cap::kcuu1, (Key::Up, Mods::empty())), [INFO] [stdout] ... | [INFO] [stdout] 250 | | }; [INFO] [stdout] 251 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | ErrorImpl::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:92:44 [INFO] [stdout] | [INFO] [stdout] 92 | ErrorImpl::Cap(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/term/unix.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | if TERM.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "9179e285198bc5fb2d2470588055c2a52e5b6d56df57e78e1f06cfc266a60d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9179e285198bc5fb2d2470588055c2a52e5b6d56df57e78e1f06cfc266a60d86", kill_on_drop: false }` [INFO] [stdout] 9179e285198bc5fb2d2470588055c2a52e5b6d56df57e78e1f06cfc266a60d86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dfa45479e460ce6e23569dadf7e5a40068a3aa383f26878bffc55ff1a55c6a82 [INFO] running `Command { std: "docker" "start" "-a" "dfa45479e460ce6e23569dadf7e5a40068a3aa383f26878bffc55ff1a55c6a82", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/term/unix.rs:136:17 [INFO] [stderr] | [INFO] [stderr] 136 | w: &mut Write, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/term/unix.rs:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | w: &mut Write, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/term/unix.rs:238:32 [INFO] [stderr] | [INFO] [stderr] 238 | fn sgr0(&mut self, w: &mut Write) -> Result<()> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/term/unix.rs:257:27 [INFO] [stderr] | [INFO] [stderr] 257 | tx: Option>>, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/term/unix.rs:264:31 [INFO] [stderr] | [INFO] [stderr] 264 | tx: Option>>, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/term/unix.rs:267:21 [INFO] [stderr] | [INFO] [stderr] 267 | ) -> Result> { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/term/mod.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 97 | ) -> Result> { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/term/mod.rs:102:20 [INFO] [stderr] | [INFO] [stderr] 102 | tx: Sender>, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/term/mod.rs:105:17 [INFO] [stderr] | [INFO] [stderr] 105 | ) -> Result> { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/input/unix/mod.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | pub(crate) fn start_threads(tx: Sender>) -> Result<()> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/input/unix/mod.rs:84:41 [INFO] [stderr] | [INFO] [stderr] 84 | unsafe fn raw_event_loop(tx: Sender>) { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/input/unix/mod.rs:181:20 [INFO] [stderr] | [INFO] [stderr] 181 | tx: Sender>, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/input/unix/mod.rs:190:40 [INFO] [stderr] | [INFO] [stderr] 190 | fn new(desc: &Desc, tx: Sender>) -> Reader { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: the item `Mods` is imported redundantly [INFO] [stderr] --> src/input/unix/mod.rs:241:13 [INFO] [stderr] | [INFO] [stderr] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stderr] | ---- the item `Mods` is already imported here [INFO] [stderr] ... [INFO] [stderr] 241 | use input::Mods; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Mods` is imported redundantly [INFO] [stderr] --> src/input/unix/mod.rs:282:13 [INFO] [stderr] | [INFO] [stderr] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stderr] | ---- the item `Mods` is already imported here [INFO] [stderr] ... [INFO] [stderr] 282 | use input::Mods; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Mods` is imported redundantly [INFO] [stderr] --> src/input/unix/mod.rs:380:13 [INFO] [stderr] | [INFO] [stderr] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stderr] | ---- the item `Mods` is already imported here [INFO] [stderr] ... [INFO] [stderr] 380 | use input::Mods; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Mods` is imported redundantly [INFO] [stderr] --> src/input/unix/mod.rs:430:13 [INFO] [stderr] | [INFO] [stderr] 10 | use input::{Event, InputEvent, Key, Mods}; [INFO] [stderr] | ---- the item `Mods` is already imported here [INFO] [stderr] ... [INFO] [stderr] 430 | use input::Mods; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/input/mod.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | fn as_any(&self) -> &Any; [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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/input/mod.rs:159:26 [INFO] [stderr] | [INFO] [stderr] 159 | fn as_any(&self) -> &Any { [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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:56:25 [INFO] [stderr] | [INFO] [stderr] 56 | impl From>> for Error { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn input::Event` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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:57:30 [INFO] [stderr] | [INFO] [stderr] 57 | fn from(_: SendError>) -> Error { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn input::Event` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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:96:32 [INFO] [stderr] | [INFO] [stderr] 96 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/term/mod.rs:1:37 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/term/mod.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | static TERM: AtomicBool = ATOMIC_BOOL_INIT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicBool::new(false)` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/term/unix.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / lazy_static! { [INFO] [stderr] 16 | | static ref STDOUT: io::Stdout = io::stdout(); [INFO] [stderr] 17 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/input/unix/mod.rs:25:44 [INFO] [stderr] | [INFO] [stderr] 25 | let mut set: libc::sigset_t = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/input/unix/mod.rs:37:40 [INFO] [stderr] | [INFO] [stderr] 37 | let mut fds: [c_int; 2] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/input/unix/mod.rs:67:44 [INFO] [stderr] | [INFO] [stderr] 67 | let mut sa: libc::sigaction = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/input/unix/mod.rs:68:44 [INFO] [stderr] | [INFO] [stderr] 68 | let mut set: libc::sigset_t = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/input/unix/mod.rs:95:47 [INFO] [stderr] | [INFO] [stderr] 95 | let mut read_fds: libc::fd_set = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/input/unix/esckey.rs:219:1 [INFO] [stderr] | [INFO] [stderr] 219 | / lazy_static! { [INFO] [stderr] 220 | | static ref APPKEYS: Vec<(cap::String, KeyPress)> = { [INFO] [stderr] 221 | | vec![ [INFO] [stderr] 222 | | (cap::kcuu1, (Key::Up, Mods::empty())), [INFO] [stderr] ... | [INFO] [stderr] 250 | | }; [INFO] [stderr] 251 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:88:43 [INFO] [stderr] | [INFO] [stderr] 88 | ErrorImpl::Io(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:92:44 [INFO] [stderr] | [INFO] [stderr] 92 | ErrorImpl::Cap(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/term/unix.rs:268:17 [INFO] [stderr] | [INFO] [stderr] 268 | if TERM.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/input/unix/mod.rs:606:40 [INFO] [stderr] | [INFO] [stderr] 606 | fn extract_event(rx: &Receiver>) -> InputEvent { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `tvis` (lib) generated 35 warnings (1 duplicate) [INFO] [stderr] warning: `tvis` (lib test) generated 36 warnings (35 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/pentominoes.rs:30:15 [INFO] [stderr] | [INFO] [stderr] 30 | grid: &'a Grid, [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Grid` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/pentominoes.rs:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | screen: Box, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/pentominoes.rs:32:22 [INFO] [stderr] | [INFO] [stderr] 32 | rx: Receiver>, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/pentominoes.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | grid: &Grid, [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Grid` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/pentominoes.rs:39:25 [INFO] [stderr] | [INFO] [stderr] 39 | mut screen: Box, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/pentominoes.rs:40:26 [INFO] [stderr] | [INFO] [stderr] 40 | rx: Receiver>, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/pentominoes.rs:211:15 [INFO] [stderr] | [INFO] [stderr] 211 | grid: &'a Grid, [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Grid` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/pentominoes.rs:218:19 [INFO] [stderr] | [INFO] [stderr] 218 | fn new(grid: &Grid) -> PentMatrix { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Grid` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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] --> examples/pentominoes.rs:263:1 [INFO] [stderr] | [INFO] [stderr] 263 | / lazy_static! { [INFO] [stderr] 264 | | static ref PIECES: Vec = vec![ [INFO] [stderr] 265 | | // F [INFO] [stderr] 266 | | (1, [(1, 0), (2, 0), (0, 1), (1, 1), (1, 2)]), [INFO] [stderr] ... | [INFO] [stderr] 340 | | ]; [INFO] [stderr] 341 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/colors.rs:37:26 [INFO] [stderr] | [INFO] [stderr] 37 | fn as_any(&self) -> &Any { [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/colors.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | screen: Box, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/colors.rs:50:24 [INFO] [stderr] | [INFO] [stderr] 50 | fn new(screen: Box) -> ColorDemo { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Terminal` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/colors.rs:259:45 [INFO] [stderr] | [INFO] [stderr] 259 | fn event_loop(&mut self, tx: Sender>, rx: Receiver>) { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/colors.rs:259:71 [INFO] [stderr] | [INFO] [stderr] 259 | fn event_loop(&mut self, tx: Sender>, rx: Receiver>) { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `tvis` (example "pentominoes") generated 9 warnings [INFO] [stderr] warning: `tvis` (example "colors") generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tvis-8614441afe931e9e) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test input::platform::esckey::test::add_disjoint ... ok [INFO] [stdout] test input::platform::esckey::test::add_one ... ok [INFO] [stdout] test input::platform::esckey::test::add_overlap ... ok [INFO] [stdout] test input::platform::esckey::test::mods ... ok [INFO] [stdout] test input::platform::test::alt_esc ... ok [INFO] [stdout] test input::platform::test::esc ... ok [INFO] [stdout] test input::platform::test::esc_then_key ... ok [INFO] [stdout] test input::platform::test::esc_then_seq ... ok [INFO] [stdout] test term::platform::test::bright_colors ... ok [INFO] [stdout] test input::platform::test::rxvt_esc_then_seq ... ok [INFO] [stdout] test term::platform::test::sgr_style ... ok [INFO] [stdout] test term::platform::test::sgr_color ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tvis [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dfa45479e460ce6e23569dadf7e5a40068a3aa383f26878bffc55ff1a55c6a82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfa45479e460ce6e23569dadf7e5a40068a3aa383f26878bffc55ff1a55c6a82", kill_on_drop: false }` [INFO] [stdout] dfa45479e460ce6e23569dadf7e5a40068a3aa383f26878bffc55ff1a55c6a82