Skip to content
Triggered via push November 26, 2023 04:42
Status Failure
Total duration 2m 33s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

check.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 5 warnings
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`: src/integrate.rs#L1169
error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> src/integrate.rs:1169:43 | 1169 | ... walk(&mut statement.ex, &|ex| match ex { | _____________________________________^ 1170 | | ... KismetExpression::ExLetBool(ex) => { 1171 | | ... if matches!(&*ex.assignment_expression, KismetExpression::ExLocalVariable(v) if v.variable.new.as_ref().unwrap().path.last(... 1172 | | ... { ... | 1180 | | ... _ => {} 1181 | | ... }); | |_______^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `-D clippy::single-match` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::single_match)]` help: try | 1169 ~ walk(&mut statement.ex, &|ex| if let KismetExpression::ExLetBool(ex) = ex { 1170 + if matches!(&*ex.assignment_expression, KismetExpression::ExLocalVariable(v) if v.variable.new.as_ref().unwrap().path.last().unwrap().get_content(|c| c == "CallFunc_Should_Modding_Menu_be_Enabled_result")) 1171 + { 1172 + dbg!("PATCHED"); 1173 + *ex.assignment_expression = ExTrue { 1174 + token: EExprToken::ExTrue, 1175 + } 1176 + .into() 1177 + } 1178 ~ }); |
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`: src/integrate.rs#L1169
error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> src/integrate.rs:1169:43 | 1169 | ... walk(&mut statement.ex, &|ex| match ex { | _____________________________________^ 1170 | | ... KismetExpression::ExLetBool(ex) => { 1171 | | ... if matches!(&*ex.assignment_expression, KismetExpression::ExLocalVariable(v) if v.variable.new.as_ref().unwrap().path.last(... 1172 | | ... { ... | 1180 | | ... _ => {} 1181 | | ... }); | |_______^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `-D clippy::single-match` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::single_match)]` help: try | 1169 ~ walk(&mut statement.ex, &|ex| if let KismetExpression::ExLetBool(ex) = ex { 1170 + if matches!(&*ex.assignment_expression, KismetExpression::ExLocalVariable(v) if v.variable.new.as_ref().unwrap().path.last().unwrap().get_content(|c| c == "CallFunc_Should_Modding_Menu_be_Enabled_result")) 1171 + { 1172 + dbg!("PATCHED"); 1173 + *ex.assignment_expression = ExTrue { 1174 + token: EExprToken::ExTrue, 1175 + } 1176 + .into() 1177 + } 1178 ~ }); |
check
Clippy had exited with the 101 exit code
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/