[INFO] cloning repository https://github.com/maxjoehnk/terminal-ui-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxjoehnk/terminal-ui-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxjoehnk%2Fterminal-ui-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxjoehnk%2Fterminal-ui-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72c458a3504e1602dfb451678641f05af7f50651 [INFO] building maxjoehnk/terminal-ui-rs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxjoehnk%2Fterminal-ui-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxjoehnk/terminal-ui-rs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxjoehnk/terminal-ui-rs [INFO] finished tweaking git repo https://github.com/maxjoehnk/terminal-ui-rs [INFO] tweaked toml for git repo https://github.com/maxjoehnk/terminal-ui-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/maxjoehnk/terminal-ui-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossterm_terminal v0.2.2 [INFO] [stderr] Downloaded crossterm_input v0.3.3 [INFO] [stderr] Downloaded crossterm_style v0.3.1 [INFO] [stderr] Downloaded crossterm_screen v0.2.1 [INFO] [stderr] Downloaded crossterm_utils v0.2.1 [INFO] [stderr] Downloaded crossterm v0.9.3 [INFO] [stderr] Downloaded crossterm_cursor v0.2.1 [INFO] [stderr] Downloaded crossterm_winapi v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 363e6d8df85dfc309356365040f46331f795dfa00f9fea2da724094b241d915b [INFO] running `Command { std: "docker" "start" "-a" "363e6d8df85dfc309356365040f46331f795dfa00f9fea2da724094b241d915b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "363e6d8df85dfc309356365040f46331f795dfa00f9fea2da724094b241d915b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "363e6d8df85dfc309356365040f46331f795dfa00f9fea2da724094b241d915b", kill_on_drop: false }` [INFO] [stdout] 363e6d8df85dfc309356365040f46331f795dfa00f9fea2da724094b241d915b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16ded99e257d5b87a04b1b8c1fdcea583ab393abc9e40404146b7f4d1db66eab [INFO] running `Command { std: "docker" "start" "-a" "16ded99e257d5b87a04b1b8c1fdcea583ab393abc9e40404146b7f4d1db66eab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling crossterm_utils v0.2.1 [INFO] [stderr] Compiling crossterm_cursor v0.2.1 [INFO] [stderr] Compiling crossterm_screen v0.2.1 [INFO] [stderr] Compiling crossterm_style v0.3.1 [INFO] [stderr] Compiling crossterm_terminal v0.2.2 [INFO] [stderr] Compiling crossterm_input v0.3.3 [INFO] [stderr] Compiling crossterm v0.9.3 [INFO] [stderr] Compiling terminal-ui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/components/text.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> Text<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 8 | pub fn new(text: &'a str) -> Text { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/components/padding.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'c, C> Padding<'c, C> where C: Renderable { [INFO] [stdout] | -- lifetime `'c` declared here [INFO] [stdout] 9 | pub fn new(padding: u16, child: &'c mut C) -> Padding { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | fn render(&mut self, component: &mut Renderable) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn render(&mut self, component: &mut dyn Renderable) -> Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/text.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | fn render_terminal(&mut self, engine: &mut TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | fn render_terminal(&mut self, engine: &mut dyn TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/padding.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | fn render_terminal(&mut self, engine: &mut TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn render_terminal(&mut self, engine: &mut dyn TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/terminal/crossterm.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | fn render(&mut self, component: &mut Renderable) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | fn render(&mut self, component: &mut dyn Renderable) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/components/layouts/grid.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | for (space, component) in self.components.iter_mut() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/terminal/crossterm.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | let (width, height) = context.bounding_box; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/terminal/crossterm.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let (width, height) = context.bounding_box; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_len` [INFO] [stdout] --> src/terminal/crossterm.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let text_len = text.len(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Renderer` is never used [INFO] [stdout] --> src/renderer.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum Renderer where T: TerminalRenderable, G: GraphicsRenderable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.03s [INFO] running `Command { std: "docker" "inspect" "16ded99e257d5b87a04b1b8c1fdcea583ab393abc9e40404146b7f4d1db66eab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ded99e257d5b87a04b1b8c1fdcea583ab393abc9e40404146b7f4d1db66eab", kill_on_drop: false }` [INFO] [stdout] 16ded99e257d5b87a04b1b8c1fdcea583ab393abc9e40404146b7f4d1db66eab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c057a7bbce727d9a0f782d9a3bc6ada55958a37544e4dc77d4c63eafbe676d27 [INFO] running `Command { std: "docker" "start" "-a" "c057a7bbce727d9a0f782d9a3bc6ada55958a37544e4dc77d4c63eafbe676d27", kill_on_drop: false }` [INFO] [stderr] Compiling terminal-ui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/components/text.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> Text<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 8 | pub fn new(text: &'a str) -> Text { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/components/padding.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'c, C> Padding<'c, C> where C: Renderable { [INFO] [stdout] | -- lifetime `'c` declared here [INFO] [stdout] 9 | pub fn new(padding: u16, child: &'c mut C) -> Padding { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | fn render(&mut self, component: &mut Renderable) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn render(&mut self, component: &mut dyn Renderable) -> Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/text.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | fn render_terminal(&mut self, engine: &mut TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | fn render_terminal(&mut self, engine: &mut dyn TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/padding.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | fn render_terminal(&mut self, engine: &mut TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn render_terminal(&mut self, engine: &mut dyn TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/terminal/crossterm.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | fn render(&mut self, component: &mut Renderable) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | fn render(&mut self, component: &mut dyn Renderable) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/components/layouts/grid.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | for (space, component) in self.components.iter_mut() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/terminal/crossterm.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | let (width, height) = context.bounding_box; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/terminal/crossterm.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let (width, height) = context.bounding_box; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_len` [INFO] [stdout] --> src/terminal/crossterm.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let text_len = text.len(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Renderer` is never used [INFO] [stdout] --> src/renderer.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum Renderer where T: TerminalRenderable, G: GraphicsRenderable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/components/text.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> Text<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 8 | pub fn new(text: &'a str) -> Text { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/components/padding.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'c, C> Padding<'c, C> where C: Renderable { [INFO] [stdout] | -- lifetime `'c` declared here [INFO] [stdout] 9 | pub fn new(padding: u16, child: &'c mut C) -> Padding { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GridLayout` [INFO] [stdout] --> src/components/padding.rs:38:61 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::{Engine, GraphicsEngine, GraphicsRenderable, GridLayout, Padding, Renderable, RenderContext, Result, TerminalEngine, Termi... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | fn render(&mut self, component: &mut Renderable) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn render(&mut self, component: &mut dyn Renderable) -> Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/text.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | fn render_terminal(&mut self, engine: &mut TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | fn render_terminal(&mut self, engine: &mut dyn TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/padding.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | fn render_terminal(&mut self, engine: &mut TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn render_terminal(&mut self, engine: &mut dyn TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/layouts/grid.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | fn render(&mut self, component: &mut Renderable) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | fn render(&mut self, component: &mut dyn Renderable) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/layouts/grid.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 | fn render_terminal(&mut self, _engine: &mut TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | fn render_terminal(&mut self, _engine: &mut dyn TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/padding.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | fn render(&mut self, component: &mut Renderable) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | fn render(&mut self, component: &mut dyn Renderable) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/padding.rs:74:53 [INFO] [stdout] | [INFO] [stdout] 74 | fn render_terminal(&mut self, _engine: &mut TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | fn render_terminal(&mut self, _engine: &mut dyn TerminalEngine, context: &RenderContext) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/terminal/crossterm.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | fn render(&mut self, component: &mut Renderable) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | fn render(&mut self, component: &mut dyn Renderable) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/components/layouts/grid.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | for (space, component) in self.components.iter_mut() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component` [INFO] [stdout] --> src/components/layouts/grid.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn render(&mut self, component: &mut Renderable) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component` [INFO] [stdout] --> src/components/padding.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | fn render(&mut self, component: &mut Renderable) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/components/padding.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | fn text(&mut self, text: &str, context: &RenderContext) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/components/padding.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | fn text(&mut self, text: &str, context: &RenderContext) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/terminal/crossterm.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | let (width, height) = context.bounding_box; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/terminal/crossterm.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let (width, height) = context.bounding_box; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_len` [INFO] [stdout] --> src/terminal/crossterm.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let text_len = text.len(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Renderer` is never used [INFO] [stdout] --> src/renderer.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) enum Renderer where T: TerminalRenderable, G: GraphicsRenderable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "c057a7bbce727d9a0f782d9a3bc6ada55958a37544e4dc77d4c63eafbe676d27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c057a7bbce727d9a0f782d9a3bc6ada55958a37544e4dc77d4c63eafbe676d27", kill_on_drop: false }` [INFO] [stdout] c057a7bbce727d9a0f782d9a3bc6ada55958a37544e4dc77d4c63eafbe676d27