Skip to content

Merge pull request #68 from magic-akari/master #147

Merge pull request #68 from magic-akari/master

Merge pull request #68 from magic-akari/master #147

Triggered via push December 11, 2024 12:40
Status Failure
Total duration 21s
Artifacts

sqlformat.yml

on: push
Matrix: build-test-unix
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
the following explicit lifetimes could be elided: 'a: src/lib.rs#L46
error: the following explicit lifetimes could be elided: 'a --> src/lib.rs:46:6 | 46 | impl<'a> Default for FormatOptions<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `-D clippy::needless-lifetimes` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]` help: elide the lifetimes | 46 - impl<'a> Default for FormatOptions<'a> { 46 + impl Default for FormatOptions<'_> { |
elided lifetime has a name: src/tokenizer.rs#L481
error: elided lifetime has a name --> src/tokenizer.rs:481:46 | 479 | fn get_top_level_reserved_token<'a>( | -- lifetime `'a` declared here 480 | last_reserved_top_level_token: Option<Token<'a>>, 481 | ) -> impl FnMut(&'a str) -> IResult<&'a str, Token> { | ^^^^^ this elided lifetime gets resolved as `'a` | = note: `-D elided-named-lifetimes` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(elided_named_lifetimes)]`
build-test-unix (latest-stable)
could not compile `sqlformat` (lib) due to 2 previous errors
build-test-unix (latest-stable)
Clippy had exited with the 101 exit code
build-test-unix (minimum)
The job was canceled because "latest-stable" failed.
build-test-unix (minimum)
The operation was canceled.
build-test-unix (latest-beta)
The job was canceled because "latest-stable" failed.
build-test-unix (latest-beta)
The operation was canceled.
build-test-unix (latest-nightly)
The job was canceled because "latest-stable" failed.
build-test-unix (latest-nightly)
The operation was canceled.
build-test-unix (latest-stable)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
build-test-unix (latest-nightly)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
build-test-unix (latest-beta)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
build-test-unix (minimum)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
build-test-unix (latest-stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-test-unix (latest-stable)
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/
build-test-unix (latest-stable)
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/
build-test-unix (latest-stable)
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/
build-test-unix (latest-stable)
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/
build-test-unix (minimum)
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/
build-test-unix (minimum)
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/
build-test-unix (minimum)
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/
build-test-unix (minimum)
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/