Skip to content

Checking b5697ceb4007abddcc758fe642e610eb6fab5c9e #14

Checking b5697ceb4007abddcc758fe642e610eb6fab5c9e

Checking b5697ceb4007abddcc758fe642e610eb6fab5c9e #14

Triggered via push August 7, 2023 11:06
Status Success
Total duration 1m 31s
Artifacts

rust.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
rustfmt
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/
rustfmt
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/
rustfmt
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/
rustfmt
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 following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy@master. 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 `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/
Clippy: src/lib.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> src/lib.rs:35:1 | 35 | pub fn make_body<'a>(b: &'a mut BodyBuilder) -> &mut BodyBuilder { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 | 35 - pub fn make_body<'a>(b: &'a mut BodyBuilder) -> &mut BodyBuilder { 35 + pub fn make_body(b: &mut BodyBuilder) -> &mut BodyBuilder { |
Clippy: src/lib.rs#L48
warning: the following explicit lifetimes could be elided: 'a --> src/lib.rs:48:1 | 48 | pub fn make_head<'a>(h: &'a mut HeadBuilder) -> &mut HeadBuilder { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 48 - pub fn make_head<'a>(h: &'a mut HeadBuilder) -> &mut HeadBuilder { 48 + pub fn make_head(h: &mut HeadBuilder) -> &mut HeadBuilder { |
Clippy: src/lib.rs#L35
warning: the following explicit lifetimes could be elided: 'a --> src/lib.rs:35:1 | 35 | pub fn make_body<'a>(b: &'a mut BodyBuilder) -> &mut BodyBuilder { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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 | 35 - pub fn make_body<'a>(b: &'a mut BodyBuilder) -> &mut BodyBuilder { 35 + pub fn make_body(b: &mut BodyBuilder) -> &mut BodyBuilder { |
Clippy: src/lib.rs#L72
warning: called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is equivalent --> src/lib.rs:72:31 | 72 | let emoji_unicode: char = emoji_str.chars().nth(0).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try calling `.next()` instead of `.nth(0)`: `emoji_str.chars().next()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_nth_zero = note: `#[warn(clippy::iter_nth_zero)]` on by default
Clippy: src/lib.rs#L83
warning: called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is equivalent --> src/lib.rs:83:5 | 83 | s.chars().nth(0).unwrap() | ^^^^^^^^^^^^^^^^ help: try calling `.next()` instead of `.nth(0)`: `s.chars().next()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_nth_zero
Clippy: src/lib.rs#L72
warning: called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is equivalent --> src/lib.rs:72:31 | 72 | let emoji_unicode: char = emoji_str.chars().nth(0).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try calling `.next()` instead of `.nth(0)`: `emoji_str.chars().next()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_nth_zero = note: `#[warn(clippy::iter_nth_zero)]` on by default
Clippy: src/lib.rs#L83
warning: called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is equivalent --> src/lib.rs:83:5 | 83 | s.chars().nth(0).unwrap() | ^^^^^^^^^^^^^^^^ help: try calling `.next()` instead of `.nth(0)`: `s.chars().next()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_nth_zero
cargo-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
cargo-test
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/
cargo-test
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/
cargo-test
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/
cargo-test
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/