[INFO] fetching crate itui 0.7.0... [INFO] testing itui-0.7.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate itui 0.7.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate itui 0.7.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate itui 0.7.0 [INFO] tweaked toml for crates.io crate itui 0.7.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate itui 0.7.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate itui 0.7.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustbox v0.11.0 [INFO] [stderr] Downloaded stderrlog v0.4.1 [INFO] [stderr] Downloaded wincolor v0.1.6 [INFO] [stderr] Downloaded termbox-sys v0.2.11 [INFO] [stderr] Downloaded termcolor v0.3.6 [INFO] [stderr] Downloaded chrono v0.4.7 [INFO] [stderr] Downloaded crossterm_utils v0.2.4 [INFO] [stderr] Downloaded bitflags v0.2.1 [INFO] [stderr] Downloaded gag v0.1.10 [INFO] [stderr] Downloaded crossterm_winapi v0.1.5 [INFO] [stderr] Downloaded crossterm v0.9.6 [INFO] [stderr] Downloaded cc v1.0.38 [INFO] [stderr] Downloaded itertools v0.8.0 [INFO] [stderr] Downloaded syn v0.15.42 [INFO] [stderr] Downloaded backtrace v0.3.33 [INFO] [stderr] Downloaded getrandom v0.1.6 [INFO] [stderr] Downloaded log v0.4.7 [INFO] [stderr] Downloaded easycurses v0.12.2 [INFO] [stderr] Downloaded crossterm_screen v0.2.4 [INFO] [stderr] Downloaded sauron_vdom v0.10.0 [INFO] [stderr] Downloaded crossterm_style v0.3.4 [INFO] [stderr] Downloaded crossterm_terminal v0.2.5 [INFO] [stderr] Downloaded crossterm_input v0.3.8 [INFO] [stderr] Downloaded crossterm_cursor v0.2.5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9319a5da90d26fa5dc945811d685dd339723285c09dad8964dd207fdd5a5f9d7 [INFO] running `Command { std: "docker" "start" "-a" "9319a5da90d26fa5dc945811d685dd339723285c09dad8964dd207fdd5a5f9d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9319a5da90d26fa5dc945811d685dd339723285c09dad8964dd207fdd5a5f9d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9319a5da90d26fa5dc945811d685dd339723285c09dad8964dd207fdd5a5f9d7", kill_on_drop: false }` [INFO] [stdout] 9319a5da90d26fa5dc945811d685dd339723285c09dad8964dd207fdd5a5f9d7 [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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 05e34e85884eef56a0ecb8e744ed31311c7ab45851eff709d7eaae6b065f1fbc [INFO] running `Command { std: "docker" "start" "-a" "05e34e85884eef56a0ecb8e744ed31311c7ab45851eff709d7eaae6b065f1fbc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling sauron_vdom v0.10.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling termion v1.5.3 [INFO] [stderr] Compiling itui v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/backend/termion.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | let terminal = r#try!(termion::terminal_size()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widgets/reflow.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | symbols: &'b mut Iterator>, [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] 18 | symbols: &'b mut dyn Iterator>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widgets/reflow.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | symbols: &'b mut Iterator>, [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] 124 | symbols: &'b mut dyn Iterator>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widgets/reflow.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | symbols: &'b mut Iterator>, [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] 26 | symbols: &'b mut dyn Iterator>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widgets/reflow.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | symbols: &'b mut Iterator>, [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] 131 | symbols: &'b mut dyn Iterator>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `events` is never read [INFO] [stdout] --> src/widgets/tabs.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Tabs<'a, T, MSG> [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | events: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/terminal.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_frame(&mut self) -> Frame { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_frame(&mut self) -> Frame<'_, B> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "05e34e85884eef56a0ecb8e744ed31311c7ab45851eff709d7eaae6b065f1fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05e34e85884eef56a0ecb8e744ed31311c7ab45851eff709d7eaae6b065f1fbc", kill_on_drop: false }` [INFO] [stdout] 05e34e85884eef56a0ecb8e744ed31311c7ab45851eff709d7eaae6b065f1fbc [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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6aac13e0640611ece70b56895e4eb09b357025e172e9f0d27a7dce98b3e775a0 [INFO] running `Command { std: "docker" "start" "-a" "6aac13e0640611ece70b56895e4eb09b357025e172e9f0d27a7dce98b3e775a0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/backend/termion.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | let terminal = r#try!(termion::terminal_size()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widgets/reflow.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | symbols: &'b mut Iterator>, [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] 18 | symbols: &'b mut dyn Iterator>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widgets/reflow.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | symbols: &'b mut Iterator>, [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] 124 | symbols: &'b mut dyn Iterator>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widgets/reflow.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | symbols: &'b mut Iterator>, [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] 26 | symbols: &'b mut dyn Iterator>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widgets/reflow.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | symbols: &'b mut Iterator>, [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] 131 | symbols: &'b mut dyn Iterator>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `events` is never read [INFO] [stdout] --> src/widgets/tabs.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Tabs<'a, T, MSG> [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | events: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/terminal.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_frame(&mut self) -> Frame { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_frame(&mut self) -> Frame<'_, B> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling backtrace v0.3.33 [INFO] [stderr] Compiling stderrlog v0.4.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling itui v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/tabs.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | .render(&mut f); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 50 ~ as Widget>::render::>>>>(&mut Block::default() [INFO] [stdout] 51 | .style(Style::default().bg(Color::White)) [INFO] [stdout] 52 ~ .area(size), &mut f); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/table.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | Table::new(header.into_iter(), rows) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `MSG` declared on the struct `Table` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 70 - Table::new(header.into_iter(), rows) [INFO] [stdout] 70 + Table::<&&str, std::slice::Iter<'_, &str>, &&str, std::slice::Iter<'_, &str>, _, MSG>(header.into_iter(), rows) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/user_input.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | Paragraph::new([Text::raw(&app.input)].iter()) [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type of the type parameter `MSG` declared on the struct `Paragraph` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 71 - Paragraph::new([Text::raw(&app.input)].iter()) [INFO] [stdout] 71 + Paragraph::>, MSG>([Text::raw(&app.input)].iter()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `itui` (example "tabs") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `itui` (example "table") due to 1 previous error [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/backend/termion.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | let terminal = r#try!(termion::terminal_size()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/block.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | .render(&mut f); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 16 ~ as Widget>::render::(&mut Block::default() [INFO] [stdout] 17 | .title("Title") [INFO] [stdout] ... [INFO] [stdout] 24 | height: 8, [INFO] [stdout] 25 ~ }), &mut f); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/paragraph.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | Paragraph::new(text.iter()) [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type of the type parameter `MSG` declared on the struct `Paragraph` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 25 - Paragraph::new(text.iter()) [INFO] [stdout] 25 + Paragraph::>, MSG>(text.iter()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/paragraph.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | Paragraph::new(text.iter()) [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type of the type parameter `MSG` declared on the struct `Paragraph` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 94 - Paragraph::new(text.iter()) [INFO] [stdout] 94 + Paragraph::>, MSG>(text.iter()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/paragraph.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | Paragraph::new(text.iter()) [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type of the type parameter `MSG` declared on the struct `Paragraph` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 127 - Paragraph::new(text.iter()) [INFO] [stdout] 127 + Paragraph::>, MSG>(text.iter()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `itui` (example "user_input") due to 1 previous error [INFO] [stderr] error: could not compile `itui` (test "block") due to 1 previous error [INFO] [stderr] error: could not compile `itui` (test "paragraph") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/layout.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | .render(&mut f); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 41 ~ as Widget>::render::>>>>(&mut Block::default() [INFO] [stdout] 42 | .title("Block") [INFO] [stdout] 43 | .borders(Borders::ALL) [INFO] [stdout] 44 ~ .area(chunks[0]), &mut f); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/demo/app.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | pub tasks: ListState<(&'a str)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - pub tasks: ListState<(&'a str)>, [INFO] [stdout] 135 + pub tasks: ListState<&'a str>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> examples/util/mod.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new(titles: Vec<&'a str>) -> TabsState { [INFO] [stdout] | ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new(titles: Vec<&'a str>) -> TabsState<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widgets/reflow.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | symbols: &'b mut Iterator>, [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] 18 | symbols: &'b mut dyn Iterator>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widgets/reflow.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | symbols: &'b mut Iterator>, [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] 124 | symbols: &'b mut dyn Iterator>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `itui` (example "layout") due to 1 previous error [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widgets/reflow.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | symbols: &'b mut Iterator>, [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] 26 | symbols: &'b mut dyn Iterator>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/widgets/reflow.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | symbols: &'b mut Iterator>, [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] 131 | symbols: &'b mut dyn Iterator>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/block.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | .render(&mut f); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 34 ~ as Widget>::render::>>>>(&mut Block::default() [INFO] [stdout] 35 | .borders(Borders::ALL) [INFO] [stdout] 36 ~ .area(size), &mut f); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> examples/list.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | .render(&mut f); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Clone` [INFO] [stdout] = note: required for `SelectableList<'_, _>` to implement `Widget` [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 99 ~ as Widget>::render::>>>>(&mut SelectableList::default() [INFO] [stdout] 100 | .block( [INFO] [stdout] ... [INFO] [stdout] 109 | .highlight_style(style.fg(Color::LightGreen).modifier(Modifier::BOLD)) [INFO] [stdout] 110 ~ .highlight_symbol(">"), &mut f); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `Block<'_, _>` [INFO] [stdout] --> examples/paragraph.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let block = Block::default() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | .block(block.clone().title("Left, no wrap").area(chunks[0])) [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Clone` [INFO] [stdout] = note: required for `Block<'_, _>` to implement `Clone` [INFO] [stdout] help: consider giving `block` an explicit type, where the type for type parameter `MSG` is specified [INFO] [stdout] | [INFO] [stdout] 72 | let block: Block<'_, MSG> = Block::default() [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/demo/ui.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | .render(&mut f); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 18 ~ as Widget>::render::(&mut Tabs::default() [INFO] [stdout] 19 | .block(Block::default().borders(Borders::ALL).title(app.title)) [INFO] [stdout] ... [INFO] [stdout] 23 | .select(app.tabs.index) [INFO] [stdout] 24 ~ .area(chunks[0]), &mut f); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/demo/ui.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | .render(f); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 61 ~ as Widget>::render::(&mut Block::default() [INFO] [stdout] 62 | .borders(Borders::ALL) [INFO] [stdout] 63 | .title("Graphs") [INFO] [stdout] 64 ~ .area(area), f); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `itui` (example "block") due to 1 previous error [INFO] [stderr] error: could not compile `itui` (example "list") due to 1 previous error [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> examples/demo/ui.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | .render(f); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Clone` [INFO] [stdout] = note: required for `SelectableList<'_, _>` to implement `Widget` [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 90 ~ as Widget>::render::(&mut SelectableList::default() [INFO] [stdout] 91 | .block(Block::default().borders(Borders::ALL).title("List")) [INFO] [stdout] ... [INFO] [stdout] 94 | .highlight_style(Style::default().fg(Color::Yellow).modifier(Modifier::BOLD)) [INFO] [stdout] 95 ~ .highlight_symbol(">"), f); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/demo/ui.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | Paragraph::new(text.iter()) [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type of the type parameter `MSG` declared on the struct `Paragraph` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 145 - Paragraph::new(text.iter()) [INFO] [stdout] 145 + Paragraph::>, MSG>(text.iter()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `itui` (example "paragraph") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/demo/ui.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | Table::new(header.into_iter(), rows) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `MSG` declared on the struct `Table` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 178 - Table::new(header.into_iter(), rows) [INFO] [stdout] 178 + Table::<&&str, std::slice::Iter<'_, &str>, &str, std::vec::IntoIter<&str>, _, MSG>(header.into_iter(), rows) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0283. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `itui` (example "termion_demo") due to 5 previous errors; 1 warning emitted [INFO] [stdout] warning: field `events` is never read [INFO] [stdout] --> src/widgets/tabs.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Tabs<'a, T, MSG> [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | events: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/terminal.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_frame(&mut self) -> Frame { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_frame(&mut self) -> Frame<'_, B> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6aac13e0640611ece70b56895e4eb09b357025e172e9f0d27a7dce98b3e775a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aac13e0640611ece70b56895e4eb09b357025e172e9f0d27a7dce98b3e775a0", kill_on_drop: false }` [INFO] [stdout] 6aac13e0640611ece70b56895e4eb09b357025e172e9f0d27a7dce98b3e775a0