[INFO] cloning repository https://github.com/captain-kuan/tui-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/captain-kuan/tui-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaptain-kuan%2Ftui-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaptain-kuan%2Ftui-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d044e6419e71b8e4c5a94128b3edc175c959107e [INFO] testing captain-kuan/tui-demo against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaptain-kuan%2Ftui-demo" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/captain-kuan/tui-demo on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/captain-kuan/tui-demo [INFO] finished tweaking git repo https://github.com/captain-kuan/tui-demo [INFO] tweaked toml for git repo https://github.com/captain-kuan/tui-demo written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/captain-kuan/tui-demo 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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 rustversion v1.0.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7c7619fbaef8789b12c9143a037e0012ab3410e3cafb3269937538e657e0612 [INFO] running `Command { std: "docker" "start" "-a" "e7c7619fbaef8789b12c9143a037e0012ab3410e3cafb3269937538e657e0612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7c7619fbaef8789b12c9143a037e0012ab3410e3cafb3269937538e657e0612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7c7619fbaef8789b12c9143a037e0012ab3410e3cafb3269937538e657e0612", kill_on_drop: false }` [INFO] [stdout] e7c7619fbaef8789b12c9143a037e0012ab3410e3cafb3269937538e657e0612 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48df90e0b1b5d113e8ffaef4cb4c3fa553086490193581e0fdb382fd8ddeead1 [INFO] running `Command { std: "docker" "start" "-a" "48df90e0b1b5d113e8ffaef4cb4c3fa553086490193581e0fdb382fd8ddeead1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling rustversion v1.0.16 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling castaway v0.2.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling stability v0.2.0 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling ratatui v0.26.2 [INFO] [stderr] Compiling tui-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `revlog` [INFO] [stdout] --> src/tabs/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod revlog; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `revlog`, create file "src/tabs/revlog.rs" or "src/tabs/revlog/mod.rs" [INFO] [stdout] = note: if there is a `mod revlog` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stashing` [INFO] [stdout] --> src/tabs/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod stashing; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stashing`, create file "src/tabs/stashing.rs" or "src/tabs/stashing/mod.rs" [INFO] [stdout] = note: if there is a `mod stashing` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stashlist` [INFO] [stdout] --> src/tabs/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod stashlist; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stashlist`, create file "src/tabs/stashlist.rs" or "src/tabs/stashlist/mod.rs" [INFO] [stdout] = note: if there is a `mod stashlist` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `status` [INFO] [stdout] --> src/tabs/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod status; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `status`, create file "src/tabs/status.rs" or "src/tabs/status/mod.rs" [INFO] [stdout] = note: if there is a `mod status` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommandInfo` in this scope [INFO] [stdout] --> src/components/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | out: &mut Vec, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Component { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommandBlocking` in this scope [INFO] [stdout] --> src/components/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> CommandBlocking; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Event` in this scope [INFO] [stdout] --> src/components/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn event(&mut self, ev: &Event) -> Result; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crossterm::event::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventState` in this scope [INFO] [stdout] --> src/components/mod.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | fn event(&mut self, ev: &Event) -> Result; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Component { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RevisionFilesComponent` in this scope [INFO] [stdout] --> src/tabs/files.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | files: RevisionFilesComponent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Component` in this scope [INFO] [stdout] --> src/tabs/files.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | impl Component for FilesTab { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use crate::components::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommandInfo` in this scope [INFO] [stdout] --> src/tabs/files.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | fn commands(&self, out: &mut Vec, force_all: bool) -> CommandBlocking { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | impl Component for FilesTab { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommandBlocking` in this scope [INFO] [stdout] --> src/tabs/files.rs:47:72 [INFO] [stdout] | [INFO] [stdout] 47 | fn commands(&self, out: &mut Vec, force_all: bool) -> CommandBlocking { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventState` in this scope [INFO] [stdout] --> src/tabs/files.rs:54:65 [INFO] [stdout] | [INFO] [stdout] 54 | fn event(&mut self, ev: &crossterm::event::Event) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | impl Component for FilesTab { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `tabs` and `tui` [INFO] [stdout] --> src/app.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{input::Input, tabs, tui}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WrapErr` and `bail` [INFO] [stdout] --> src/app.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | eyre::{bail, Ok, WrapErr}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `KeyCode`, `KeyEventKind`, `KeyEvent`, and `self` [INFO] [stdout] --> src/app.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crossterm::event::{self, Event, KeyCode, KeyEvent, KeyEventKind}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `prelude::*` and `widgets::*` [INFO] [stdout] --> src/app.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use ratatui::{prelude::*, widgets::*}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `files::FilesTab` [INFO] [stdout] --> src/tabs/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use files::FilesTab; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/components/mod.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | fn draw(&self, f: &mut Frame, rect: Rect) -> Result<()>; [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 5 | fn draw(&self, f: &mut Frame, rect: Rect) -> Result<(), E>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/components/mod.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | fn event(&mut self, ev: &Event) -> Result; [INFO] [stdout] | ^^^^^^ ---------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 20 | fn event(&mut self, ev: &Event) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/components/mod.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | fn show(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 35 | fn show(&mut self) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/components/mod.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | fn toggle_visible(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 40 | fn toggle_visible(&mut self) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RevisionFilesComponent` [INFO] [stdout] --> src/tabs/files.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | files: RevisionFilesComponent::new(env), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RevisionFilesComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventState` [INFO] [stdout] --> src/tabs/files.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | Ok(EventState::NotConsumed) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EventState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0412, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tui-demo` (bin "tui-demo") due to 19 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48df90e0b1b5d113e8ffaef4cb4c3fa553086490193581e0fdb382fd8ddeead1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48df90e0b1b5d113e8ffaef4cb4c3fa553086490193581e0fdb382fd8ddeead1", kill_on_drop: false }` [INFO] [stdout] 48df90e0b1b5d113e8ffaef4cb4c3fa553086490193581e0fdb382fd8ddeead1