Skip to content

Checking 499ab12e6dd866b23e612320ab160c3a4e3f8e42 #9

Checking 499ab12e6dd866b23e612320ab160c3a4e3f8e42

Checking 499ab12e6dd866b23e612320ab160c3a4e3f8e42 #9

Triggered via push August 6, 2023 12:46
Status Failure
Total duration 1m 36s
Artifacts

rust.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 23 warnings
rustfmt
Process completed with exit code 1.
cargo-test: src/main.rs#L1
expected `;`, found `#`
cargo-test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
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#L12
warning: called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is equivalent --> src/lib.rs:12:31 | 12 | 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#L23
warning: called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is equivalent --> src/lib.rs:23:5 | 23 | 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#L12
warning: called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is equivalent --> src/lib.rs:12:31 | 12 | 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#L23
warning: called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is equivalent --> src/lib.rs:23:5 | 23 | 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/main.rs#L1
warning: unused import: `webicons::*` --> src/main.rs:1:5 | 1 | use webicons::* | ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
Clippy: src/main.rs#L1
warning: unused import: `webicons::*` --> src/main.rs:1:5 | 1 | use webicons::* | ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
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: src/main.rs#L1
unused import: `webicons::*`
cargo-test
`webicons` (bin "webicons" test) generated 1 warning
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/