[INFO] fetching crate termit-ui 0.0.1... [INFO] testing termit-ui-0.0.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate termit-ui 0.0.1 into /workspace/builds/worker-40/source [INFO] validating manifest of crates.io crate termit-ui 0.0.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate termit-ui 0.0.1 [INFO] finished tweaking crates.io crate termit-ui 0.0.1 [INFO] tweaked toml for crates.io crate termit-ui 0.0.1 written to /workspace/builds/worker-40/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f51167e69bf0478fadf13f8af25ad132cdf7b8bc3a7319319b1ecd7f0d61a13 [INFO] running `Command { std: "docker" "start" "-a" "8f51167e69bf0478fadf13f8af25ad132cdf7b8bc3a7319319b1ecd7f0d61a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f51167e69bf0478fadf13f8af25ad132cdf7b8bc3a7319319b1ecd7f0d61a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f51167e69bf0478fadf13f8af25ad132cdf7b8bc3a7319319b1ecd7f0d61a13", kill_on_drop: false }` [INFO] [stdout] 8f51167e69bf0478fadf13f8af25ad132cdf7b8bc3a7319319b1ecd7f0d61a13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 981d0e8a63bf478d371d4c9602a4d539dfd9f60675b1d8020a6cbe8d8f763ef4 [INFO] running `Command { std: "docker" "start" "-a" "981d0e8a63bf478d371d4c9602a4d539dfd9f60675b1d8020a6cbe8d8f763ef4", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling termit-ion v1.6.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling termit-ui v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `async_stdin` in crate `termion` [INFO] [stdout] --> src/mion/gui.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | let mut stdin = termion::async_stdin(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `termion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mion/color.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | 1...6 => ColorSupport::Mono, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mion/color.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | 7...14 => ColorSupport::Ansi3bit, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mion/color.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | 15...0xFE => ColorSupport::Ansi4bit, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stderr] error: could not compile `termit-ui` due to 3 previous errors; 18 warnings emitted [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widget/elementary.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub layout: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - pub layout: Box, [INFO] [stdout] 8 + pub layout: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widget/elementary.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub elements: Vec>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub elements: Vec>, [INFO] [stdout] 9 + pub elements: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widget/mod.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | fn render(&self, painter: &mut Painter) -> io::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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn render(&self, painter: &mut Painter) -> io::Result<()> { [INFO] [stdout] 19 + fn render(&self, painter: &mut dyn Painter) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mion/color.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn get_color_support(input: &mut Read, output: &mut Write) -> io::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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - pub fn get_color_support(input: &mut Read, output: &mut Write) -> io::Result { [INFO] [stdout] 104 + pub fn get_color_support(input: &mut dyn Read, output: &mut Write) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mion/color.rs:104:57 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn get_color_support(input: &mut Read, output: &mut Write) -> io::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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - pub fn get_color_support(input: &mut Read, output: &mut Write) -> io::Result { [INFO] [stdout] 104 + pub fn get_color_support(input: &mut Read, output: &mut dyn Write) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mion/color.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | fn detect_color(input: &mut Read, output: &mut Write, color: u8) -> io::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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - fn detect_color(input: &mut Read, output: &mut Write, color: u8) -> io::Result { [INFO] [stdout] 156 + fn detect_color(input: &mut dyn Read, output: &mut Write, color: u8) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mion/color.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | fn detect_color(input: &mut Read, output: &mut Write, color: u8) -> io::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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - fn detect_color(input: &mut Read, output: &mut Write, color: u8) -> io::Result { [INFO] [stdout] 156 + fn detect_color(input: &mut Read, output: &mut dyn Write, color: u8) -> io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widget/canvas.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | fn render(&self, painter: &mut Painter) -> io::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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - fn render(&self, painter: &mut Painter) -> io::Result<()> { [INFO] [stdout] 56 + fn render(&self, painter: &mut dyn Painter) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widget/elementary.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | fn render(&self, painter: &mut Painter) -> io::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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - fn render(&self, painter: &mut Painter) -> io::Result<()> { [INFO] [stdout] 58 + fn render(&self, painter: &mut dyn Painter) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widget/layout.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | fn widget<'a>(&'a self) -> &'a Widget; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn widget<'a>(&'a self) -> &'a Widget; [INFO] [stdout] 11 + fn widget<'a>(&'a self) -> &'a dyn Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widget/layout.rs:12:48 [INFO] [stdout] | [INFO] [stdout] 12 | fn widget_mut<'a>(&'a mut self) -> &'a mut Widget; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - fn widget_mut<'a>(&'a mut self) -> &'a mut Widget; [INFO] [stdout] 12 + fn widget_mut<'a>(&'a mut self) -> &'a mut dyn Widget; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widget/layout.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | fn placement<'a>(&'a self) -> &'a Placement; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - fn placement<'a>(&'a self) -> &'a Placement; [INFO] [stdout] 13 + fn placement<'a>(&'a self) -> &'a dyn Placement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widget/layout.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | fn widget<'a>(&'a self) -> &'a Widget { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 - fn widget<'a>(&'a self) -> &'a Widget { [INFO] [stdout] 120 + fn widget<'a>(&'a self) -> &'a dyn Widget { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widget/layout.rs:123:48 [INFO] [stdout] | [INFO] [stdout] 123 | fn widget_mut<'a>(&'a mut self) -> &'a mut Widget { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - fn widget_mut<'a>(&'a mut self) -> &'a mut Widget { [INFO] [stdout] 123 + fn widget_mut<'a>(&'a mut self) -> &'a mut dyn Widget { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widget/layout.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | fn placement<'a>(&'a self) -> &'a Placement { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 - fn placement<'a>(&'a self) -> &'a Placement { [INFO] [stdout] 126 + fn placement<'a>(&'a self) -> &'a dyn Placement { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mion/gui.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | events: stdin.events(), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `AsyncReader`, found mutable reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Events` [INFO] [stdout] found struct `Events<&mut dyn std::io::Read>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "981d0e8a63bf478d371d4c9602a4d539dfd9f60675b1d8020a6cbe8d8f763ef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "981d0e8a63bf478d371d4c9602a4d539dfd9f60675b1d8020a6cbe8d8f763ef4", kill_on_drop: false }` [INFO] [stdout] 981d0e8a63bf478d371d4c9602a4d539dfd9f60675b1d8020a6cbe8d8f763ef4