[INFO] cloning repository https://github.com/Blupegasus0/rust-cli-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Blupegasus0/rust-cli-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlupegasus0%2Frust-cli-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlupegasus0%2Frust-cli-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6ba7ecce31cdb039191a52a7833e0643be76a793
[INFO] checking Blupegasus0/rust-cli-example against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlupegasus0%2Frust-cli-example" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Blupegasus0/rust-cli-example on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Blupegasus0/rust-cli-example
[INFO] finished tweaking git repo https://github.com/Blupegasus0/rust-cli-example
[INFO] tweaked toml for git repo https://github.com/Blupegasus0/rust-cli-example written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Blupegasus0/rust-cli-example 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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tui v0.14.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9717ab355944bcd7bb45b30d5aae897ee9956119d2da8fce0793f9af9876f14d
[INFO] running `Command { std: "docker" "start" "-a" "9717ab355944bcd7bb45b30d5aae897ee9956119d2da8fce0793f9af9876f14d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9717ab355944bcd7bb45b30d5aae897ee9956119d2da8fce0793f9af9876f14d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9717ab355944bcd7bb45b30d5aae897ee9956119d2da8fce0793f9af9876f14d", kill_on_drop: false }`
[INFO] [stdout] 9717ab355944bcd7bb45b30d5aae897ee9956119d2da8fce0793f9af9876f14d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d6c26a3d02d6f5eab40e612b753b3c59b91e71cd6c6334497774fd12e69ed0ce
[INFO] running `Command { std: "docker" "start" "-a" "d6c26a3d02d6f5eab40e612b753b3c59b91e71cd6c6334497774fd12e69ed0ce", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]     Checking unicode-width v0.1.11
[INFO] [stderr]     Checking signal-hook v0.1.17
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking unicode-segmentation v1.11.0
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking crossterm v0.18.2
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]     Checking chrono v0.4.33
[INFO] [stderr]     Checking tui v0.14.0
[INFO] [stderr]     Checking crossterm v0.19.0
[INFO] [stderr]     Checking rust-cli-example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Terminal`
[INFO] [stdout]   --> src/main.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut terminal = Terminal::new(backend);
[INFO] [stdout]    |                        ^^^^^^^^ use of undeclared type `Terminal`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use tui::Terminal;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `process::Termination`
[INFO] [stdout]  --> src/main.rs:1:62
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{io, sync::mpsc, thread, time::{Duration, Instant}, process::Termination};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Terminal`
[INFO] [stdout]   --> src/main.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut terminal = Terminal::new(backend);
[INFO] [stdout]    |                        ^^^^^^^^ use of undeclared type `Terminal`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use tui::Terminal;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `process::Termination`
[INFO] [stdout]  --> src/main.rs:1:62
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{io, sync::mpsc, thread, time::{Duration, Instant}, process::Termination};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |    ----      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Box<dyn Error>>`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), Box<(dyn StdError + 'static)>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |    ----      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Box<dyn Error>>`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), Box<(dyn StdError + 'static)>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CEvent`
[INFO] [stdout]   --> src/main.rs:74:24
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 if let CEvent::Key(key) = event::read().expect("can read events") {
[INFO] [stdout]    |                        ^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        use of undeclared type `CEvent`
[INFO] [stdout]    |                        help: an enum with a similar name exists: `Event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CEvent`
[INFO] [stdout]   --> src/main.rs:74:24
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 if let CEvent::Key(key) = event::read().expect("can read events") {
[INFO] [stdout]    |                        ^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        use of undeclared type `CEvent`
[INFO] [stdout]    |                        help: an enum with a similar name exists: `Event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-cli-example` (bin "rust-cli-example") due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-cli-example` (bin "rust-cli-example" test) due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "d6c26a3d02d6f5eab40e612b753b3c59b91e71cd6c6334497774fd12e69ed0ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6c26a3d02d6f5eab40e612b753b3c59b91e71cd6c6334497774fd12e69ed0ce", kill_on_drop: false }`
[INFO] [stdout] d6c26a3d02d6f5eab40e612b753b3c59b91e71cd6c6334497774fd12e69ed0ce
