Skip to content

Prevent rage-keygen from overwriting existing key files #1206

Prevent rage-keygen from overwriting existing key files

Prevent rage-keygen from overwriting existing key files #1206

Triggered via push January 7, 2024 18:55
Status Startup failure
Total duration
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

interop.yml

on: push
Build age
Build age
Build rage
Build rage
Matrix: test
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Invalid workflow file: .github/workflows/interop.yml#L196
The workflow is not valid. .github/workflows/interop.yml (Line: 196, Col: 14): Unrecognized named-value: 'matric'. Located at position 1 within expression: matric.alice
this `if` statement can be collapsed: age/src/cli_common/file_io.rs#L342
error: this `if` statement can be collapsed --> age/src/cli_common/file_io.rs:342:17 | 342 | / if !allow_overwrite { 343 | | if Path::new(&filename).exists() { 344 | | return Err(io::Error::new( 345 | | io::ErrorKind::AlreadyExists, ... | 348 | | } 349 | | } | |_________________^ | = note: `-D clippy::collapsible-if` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 342 ~ if !allow_overwrite && Path::new(&filename).exists() { 343 + return Err(io::Error::new( 344 + io::ErrorKind::AlreadyExists, 345 + DenyOverwriteFileError(filename), 346 + )); 347 + } |
this `if` statement can be collapsed: age/src/cli_common/file_io.rs#L342
error: this `if` statement can be collapsed --> age/src/cli_common/file_io.rs:342:17 | 342 | / if !allow_overwrite { 343 | | if Path::new(&filename).exists() { 344 | | return Err(io::Error::new( 345 | | io::ErrorKind::AlreadyExists, ... | 348 | | } 349 | | } | |_________________^ | = note: `-D clippy::collapsible-if` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if help: collapse nested if block | 342 ~ if !allow_overwrite && Path::new(&filename).exists() { 343 + return Err(io::Error::new( 344 + io::ErrorKind::AlreadyExists, 345 + DenyOverwriteFileError(filename), 346 + )); 347 + } |