Skip to content

Add is_* and as_* methods to the event enums #1291

Add is_* and as_* methods to the event enums

Add is_* and as_* methods to the event enums #1291

Triggered via pull request November 26, 2024 02:06
Status Failure
Total duration 1m 35s
Artifacts

crossterm_test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

26 errors and 2 warnings
nightly on ubuntu-latest: src/event.rs#L581
the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
nightly on ubuntu-latest: src/event.rs#L1195
no method named `is_function` found for enum `KeyCode` in the current scope
nightly on ubuntu-latest: src/event.rs#L1244
no method named `is_media` found for enum `KeyCode` in the current scope
nightly on ubuntu-latest
Process completed with exit code 101.
nightly on ubuntu-latest: src/event.rs#L581
the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
nightly on ubuntu-latest: src/event.rs#L1195
no method named `is_function` found for enum `KeyCode` in the current scope
nightly on ubuntu-latest: src/event.rs#L1244
no method named `is_media` found for enum `KeyCode` in the current scope
nightly on ubuntu-latest
Process completed with exit code 101.
stable on macOS-latest: src/event.rs#L581
the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
stable on macOS-latest: src/event.rs#L1195
no method named `is_function` found for enum `KeyCode` in the current scope
stable on macOS-latest: src/event.rs#L1244
no method named `is_media` found for enum `KeyCode` in the current scope
stable on macOS-latest
Process completed with exit code 101.
stable on windows-2019
The job was canceled because "macOS-latest_stable" failed.
stable on windows-2019
The operation was canceled.
nightly on windows-2019
The job was canceled because "macOS-latest_stable" failed.
stable on ubuntu-latest
The job was canceled because "macOS-latest_stable" failed.
stable on ubuntu-latest: src/event.rs#L581
the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
nightly on macOS-latest
The job was canceled because "macOS-latest_stable" failed.
stable on ubuntu-latest: src/event.rs#L1195
no method named `is_function` found for enum `KeyCode` in the current scope
nightly on macOS-latest: src/event.rs#L581
the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
stable on ubuntu-latest: src/event.rs#L1244
no method named `is_media` found for enum `KeyCode` in the current scope
nightly on macOS-latest: src/event.rs#L1195
no method named `is_function` found for enum `KeyCode` in the current scope
stable on ubuntu-latest
The operation was canceled.
nightly on macOS-latest: src/event.rs#L1244
no method named `is_media` found for enum `KeyCode` in the current scope
nightly on macOS-latest
Process completed with exit code 101.
nightly on macOS-latest
The operation was canceled.
nightly on ubuntu-latest: src/terminal/sys/file_descriptor.rs#L75
method `read` is never used
nightly on macOS-latest: src/terminal/sys/file_descriptor.rs#L75
method `read` is never used