[INFO] cloning repository https://github.com/gohermgo/cotermi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gohermgo/cotermi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgohermgo%2Fcotermi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgohermgo%2Fcotermi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d75ed5072e6299c019f967bbb17e2c7f4abd0a9d [INFO] checking gohermgo/cotermi/d75ed5072e6299c019f967bbb17e2c7f4abd0a9d against master#9748d87dc70a9a6725c5dbd76ce29d04752b4f90 for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgohermgo%2Fcotermi" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gohermgo/cotermi [INFO] finished tweaking git repo https://github.com/gohermgo/cotermi [INFO] tweaked toml for git repo https://github.com/gohermgo/cotermi written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gohermgo/cotermi on toolchain 9748d87dc70a9a6725c5dbd76ce29d04752b4f90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gohermgo/cotermi 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" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tui v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5186b6c7ae41dc283fa0374748c3cea9dcb76829632be41e89cd976a9236c9f4 [INFO] running `Command { std: "docker" "start" "-a" "5186b6c7ae41dc283fa0374748c3cea9dcb76829632be41e89cd976a9236c9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5186b6c7ae41dc283fa0374748c3cea9dcb76829632be41e89cd976a9236c9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5186b6c7ae41dc283fa0374748c3cea9dcb76829632be41e89cd976a9236c9f4", kill_on_drop: false }` [INFO] [stdout] 5186b6c7ae41dc283fa0374748c3cea9dcb76829632be41e89cd976a9236c9f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e3f32eb948b16a26574cae80223db192e1917e2503c7796d68ad5cb359ccf92 [INFO] running `Command { std: "docker" "start" "-a" "7e3f32eb948b16a26574cae80223db192e1917e2503c7796d68ad5cb359ccf92", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking signal-hook v0.3.15 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking crossterm v0.26.1 [INFO] [stderr] Checking tui v0.19.0 [INFO] [stderr] Checking cotermi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0603]: enum import `Context` is private [INFO] [stdout] --> src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | context: utils::context::Context, [INFO] [stdout] | ^^^^^^^ private enum import [INFO] [stdout] | [INFO] [stdout] note: the enum import `Context` is defined here... [INFO] [stdout] --> src/utils.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | use super::{Action, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: ...and refers to the enum `Context` which is defined here [INFO] [stdout] --> src/utils.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 158 - context: utils::context::Context, [INFO] [stdout] 158 + context: crate::utils::Context, [INFO] [stdout] | [INFO] [stdout] help: import `Context` directly [INFO] [stdout] | [INFO] [stdout] 158 - context: utils::context::Context, [INFO] [stdout] 158 + context: utils::Context, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyCode` and `KeyEvent` [INFO] [stdout] --> src/lib.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | event::{self, DisableMouseCapture, Event, KeyCode, KeyEvent}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum import `Context` is private [INFO] [stdout] --> src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | context: utils::context::Context, [INFO] [stdout] | ^^^^^^^ private enum import [INFO] [stdout] | [INFO] [stdout] note: the enum import `Context` is defined here... [INFO] [stdout] --> src/utils.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | use super::{Action, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: ...and refers to the enum `Context` which is defined here [INFO] [stdout] --> src/utils.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 158 - context: utils::context::Context, [INFO] [stdout] 158 + context: crate::utils::Context, [INFO] [stdout] | [INFO] [stdout] help: import `Context` directly [INFO] [stdout] | [INFO] [stdout] 158 - context: utils::context::Context, [INFO] [stdout] 158 + context: utils::Context, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyCode` and `KeyEvent` [INFO] [stdout] --> src/lib.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | event::{self, DisableMouseCapture, Event, KeyCode, KeyEvent}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Prev` found for enum `ListDir` in the current scope [INFO] [stdout] --> src/ctxt.rs:18:91 [INFO] [stdout] | [INFO] [stdout] 18 | KeyCode::Up => Some(signal::Signal::List(list::ListOp::Nav(list::ListDir::Prev))), [INFO] [stdout] | ^^^^ variant or associated item not found in `ListDir` [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ListDir { [INFO] [stdout] | ---------------- variant or associated item `Prev` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Quit` found for struct `utils::Signal` in the current scope [INFO] [stdout] --> src/lib.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | Signal::Quit => self.quit(terminal), [INFO] [stdout] | ^^^^ associated item not found in `utils::Signal<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Signal<'a> { [INFO] [stdout] | --------------------- associated item `Quit` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Prev` found for enum `ListDir` in the current scope [INFO] [stdout] --> src/ctxt.rs:18:91 [INFO] [stdout] | [INFO] [stdout] 18 | KeyCode::Up => Some(signal::Signal::List(list::ListOp::Nav(list::ListDir::Prev))), [INFO] [stdout] | ^^^^ variant or associated item not found in `ListDir` [INFO] [stdout] | [INFO] [stdout] ::: src/list.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ListDir { [INFO] [stdout] | ---------------- variant or associated item `Prev` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ChangeContext` found for struct `utils::Signal` in the current scope [INFO] [stdout] --> src/lib.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | Signal::ChangeContext(ctxt) => match (&self.context, ctxt) { [INFO] [stdout] | ^^^^^^^^^^^^^ associated item not found in `utils::Signal<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Signal<'a> { [INFO] [stdout] | --------------------- associated item `ChangeContext` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Quit` found for struct `utils::Signal` in the current scope [INFO] [stdout] --> src/lib.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | Signal::Quit => self.quit(terminal), [INFO] [stdout] | ^^^^ associated item not found in `utils::Signal<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Signal<'a> { [INFO] [stdout] | --------------------- associated item `Quit` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ListSignal` found for struct `utils::Signal` in the current scope [INFO] [stdout] --> src/lib.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | Signal::ListSignal(Operation::Go(location)) => match &self.context { [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `utils::Signal<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Signal<'a> { [INFO] [stdout] | --------------------- associated item `ListSignal` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ListSignal` found for struct `utils::Signal` in the current scope [INFO] [stdout] --> src/lib.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | Signal::ListSignal(Operation::New(title, _)) => match &self.context { [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `utils::Signal<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Signal<'a> { [INFO] [stdout] | --------------------- associated item `ListSignal` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ChangeContext` found for struct `utils::Signal` in the current scope [INFO] [stdout] --> src/lib.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | Signal::ChangeContext(ctxt) => match (&self.context, ctxt) { [INFO] [stdout] | ^^^^^^^^^^^^^ associated item not found in `utils::Signal<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Signal<'a> { [INFO] [stdout] | --------------------- associated item `ChangeContext` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ListSignal` found for struct `utils::Signal` in the current scope [INFO] [stdout] --> src/lib.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | Signal::ListSignal(Operation::Go(location)) => match &self.context { [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `utils::Signal<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Signal<'a> { [INFO] [stdout] | --------------------- associated item `ListSignal` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ListSignal` found for struct `utils::Signal` in the current scope [INFO] [stdout] --> src/lib.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | Signal::ListSignal(Operation::New(title, _)) => match &self.context { [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `utils::Signal<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Signal<'a> { [INFO] [stdout] | --------------------- associated item `ListSignal` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `process_input` found for enum `utils::Context` in the current scope [INFO] [stdout] --> src/lib.rs:294:48 [INFO] [stdout] | [INFO] [stdout] 294 | if let Some(signal) = self.context.process_input(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Context { [INFO] [stdout] | ---------------- method `process_input` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `processs_input` with a similar name [INFO] [stdout] | [INFO] [stdout] 294 | if let Some(signal) = self.context.processs_input(&key) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `process_input` found for enum `utils::Context` in the current scope [INFO] [stdout] --> src/lib.rs:294:48 [INFO] [stdout] | [INFO] [stdout] 294 | if let Some(signal) = self.context.process_input(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Context { [INFO] [stdout] | ---------------- method `process_input` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `processs_input` with a similar name [INFO] [stdout] | [INFO] [stdout] 294 | if let Some(signal) = self.context.processs_input(&key) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Default` is named the same as one of the variants of the type `utils::Context` [INFO] [stdout] --> src/utils.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | &Default => match key.code { [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `utils::Context::Default` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `List` is named the same as one of the variants of the type `utils::Context` [INFO] [stdout] --> src/utils.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | &List => match key.code { [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `utils::Context::List` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 28 | &Default => match key.code { [INFO] [stdout] | -------- matches any value [INFO] [stdout] ... [INFO] [stdout] 36 | &List => match key.code { [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/utils.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 37 | KeyCode::Char('Q') => Some(Action::Quit), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 38 | KeyCode::Char('q') | KeyCode::Right | KeyCode::Esc => { [INFO] [stdout] | -------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 41 | KeyCode::Up => Some(Action::ListSignal(Operation::Go(Location::Up))), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 42 | KeyCode::Down => Some(Action::ListSignal(Operation::Go(Location::Down))), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 49 | _ => todo!(), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Default` is named the same as one of the variants of the type `utils::Context` [INFO] [stdout] --> src/utils.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | &Default => match key.code { [INFO] [stdout] | ^^^^^^^ help: to match on the variant, qualify the path: `utils::Context::Default` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Default` [INFO] [stdout] --> src/utils.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | &Default => match key.code { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Default` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `List` is named the same as one of the variants of the type `utils::Context` [INFO] [stdout] --> src/utils.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | &List => match key.code { [INFO] [stdout] | ^^^^ help: to match on the variant, qualify the path: `utils::Context::List` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 28 | &Default => match key.code { [INFO] [stdout] | -------- matches any value [INFO] [stdout] ... [INFO] [stdout] 36 | &List => match key.code { [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/utils.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 37 | KeyCode::Char('Q') => Some(Action::Quit), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 38 | KeyCode::Char('q') | KeyCode::Right | KeyCode::Esc => { [INFO] [stdout] | -------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 41 | KeyCode::Up => Some(Action::ListSignal(Operation::Go(Location::Up))), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 42 | KeyCode::Down => Some(Action::ListSignal(Operation::Go(Location::Down))), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 49 | _ => todo!(), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Default` [INFO] [stdout] --> src/utils.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | &Default => match key.code { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Default` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `List` [INFO] [stdout] --> src/utils.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | &List => match key.code { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_List` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `List` [INFO] [stdout] --> src/utils.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | &List => match key.code { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_List` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_context` [INFO] [stdout] --> src/utils.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | Action::ChangeContext(target_context) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation` [INFO] [stdout] --> src/utils.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | Action::ListSignal(operation) => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_context` [INFO] [stdout] --> src/utils.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | Action::ChangeContext(target_context) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation` [INFO] [stdout] --> src/utils.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | Action::ListSignal(operation) => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_base_style` [INFO] [stdout] --> src/lib.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | let item_base_style = Style::default().fg(Color::White); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_base_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_base_style` [INFO] [stdout] --> src/lib.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | let item_base_style = Style::default().fg(Color::White); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_base_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `border_style` [INFO] [stdout] --> src/lib.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let border_style = match &self.items.state.selected() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_border_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `border_style` [INFO] [stdout] --> src/lib.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let border_style = match &self.items.state.selected() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_border_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0500]: closure requires unique access to `*app` but it is already borrowed [INFO] [stdout] --> src/lib.rs:451:23 [INFO] [stdout] | [INFO] [stdout] 443 | app: &'static mut App, [INFO] [stdout] | --- has type `&mut App<'1, B>` [INFO] [stdout] ... [INFO] [stdout] 451 | terminal.draw(|f| app.ui(f))?; [INFO] [stdout] | ^^^ --- second borrow occurs due to use of `*app` in closure [INFO] [stdout] | | [INFO] [stdout] | closure construction occurs here [INFO] [stdout] ... [INFO] [stdout] 457 | app.poll(terminal)?; [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | borrow occurs here [INFO] [stdout] | argument requires that `*app` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*app` as mutable more than once at a time [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 443 | app: &'static mut App, [INFO] [stdout] | --- has type `&mut App<'1, B>` [INFO] [stdout] ... [INFO] [stdout] 457 | app.poll(terminal)?; [INFO] [stdout] | ^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | `*app` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | argument requires that `*app` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*app` as mutable more than once at a time [INFO] [stdout] --> src/lib.rs:485:13 [INFO] [stdout] | [INFO] [stdout] 443 | app: &'static mut App, [INFO] [stdout] | --- has type `&mut App<'1, B>` [INFO] [stdout] ... [INFO] [stdout] 457 | app.poll(terminal)?; [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*app` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 485 | app.on_tick()?; [INFO] [stdout] | ^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0500]: closure requires unique access to `*app` but it is already borrowed [INFO] [stdout] --> src/lib.rs:451:23 [INFO] [stdout] | [INFO] [stdout] 443 | app: &'static mut App, [INFO] [stdout] | --- has type `&mut App<'1, B>` [INFO] [stdout] ... [INFO] [stdout] 451 | terminal.draw(|f| app.ui(f))?; [INFO] [stdout] | ^^^ --- second borrow occurs due to use of `*app` in closure [INFO] [stdout] | | [INFO] [stdout] | closure construction occurs here [INFO] [stdout] ... [INFO] [stdout] 457 | app.poll(terminal)?; [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | borrow occurs here [INFO] [stdout] | argument requires that `*app` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*app` as mutable more than once at a time [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 443 | app: &'static mut App, [INFO] [stdout] | --- has type `&mut App<'1, B>` [INFO] [stdout] ... [INFO] [stdout] 457 | app.poll(terminal)?; [INFO] [stdout] | ^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | `*app` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | argument requires that `*app` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*app` as mutable more than once at a time [INFO] [stdout] --> src/lib.rs:485:13 [INFO] [stdout] | [INFO] [stdout] 443 | app: &'static mut App, [INFO] [stdout] | --- has type `&mut App<'1, B>` [INFO] [stdout] ... [INFO] [stdout] 457 | app.poll(terminal)?; [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | argument requires that `*app` is borrowed for `'1` [INFO] [stdout] ... [INFO] [stdout] 485 | app.on_tick()?; [INFO] [stdout] | ^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0499, E0500, E0599, E0603. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0499, E0500, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cotermi` (lib) due to 12 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cotermi` (lib test) due to 12 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7e3f32eb948b16a26574cae80223db192e1917e2503c7796d68ad5cb359ccf92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e3f32eb948b16a26574cae80223db192e1917e2503c7796d68ad5cb359ccf92", kill_on_drop: false }` [INFO] [stdout] 7e3f32eb948b16a26574cae80223db192e1917e2503c7796d68ad5cb359ccf92