Skip to content

Fix substring helper #14

Fix substring helper

Fix substring helper #14

Triggered via push July 28, 2024 20:30
Status Success
Total duration 40s
Artifacts 1

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

18 warnings
the following explicit lifetimes could be elided: 'a: crates/helpers/src/substring.rs#L65
warning: the following explicit lifetimes could be elided: 'a --> crates/helpers/src/substring.rs:65:24 | 65 | fn substring_after<'a, P: Pattern>(&'a self, pat: P) -> Option<&'a str> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 65 - fn substring_after<'a, P: Pattern>(&'a self, pat: P) -> Option<&'a str> { 65 + fn substring_after<P: Pattern>(&self, pat: P) -> Option<&str> { |
the following explicit lifetimes could be elided: 'a: crates/helpers/src/substring.rs#L49
warning: the following explicit lifetimes could be elided: 'a --> crates/helpers/src/substring.rs:49:25 | 49 | fn substring_before<'a, P: Pattern>(&'a self, pat: P) -> Option<&'a str> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 49 - fn substring_before<'a, P: Pattern>(&'a self, pat: P) -> Option<&'a str> { 49 + fn substring_before<P: Pattern>(&self, pat: P) -> Option<&str> { |
the following explicit lifetimes could be elided: 'a: crates/helpers/src/substring.rs#L38
warning: the following explicit lifetimes could be elided: 'a --> crates/helpers/src/substring.rs:38:24 | 38 | fn substring_after<'a, P: Pattern>(&'a self, pat: P) -> Option<&'a str>; | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 38 - fn substring_after<'a, P: Pattern>(&'a self, pat: P) -> Option<&'a str>; 38 + fn substring_after<P: Pattern>(&self, pat: P) -> Option<&str>; |
the following explicit lifetimes could be elided: 'a: crates/helpers/src/substring.rs#L30
warning: the following explicit lifetimes could be elided: 'a --> crates/helpers/src/substring.rs:30:25 | 30 | fn substring_before<'a, P: Pattern>(&'a self, pat: P) -> Option<&'a str>; | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 30 - fn substring_before<'a, P: Pattern>(&'a self, pat: P) -> Option<&'a str>; 30 + fn substring_before<P: Pattern>(&self, pat: P) -> Option<&str>; |
clippy
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/
clippy
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
clippy
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/
clippy
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/
clippy
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/
clippy
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/
docs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, JamesIves/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
docs
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/upload-artifact@v3, JamesIves/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
docs
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/
docs
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/
docs
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/
docs
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/
docs
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/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "docs". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
docs Expired
5.08 MB