Skip to content

Checking e578facf4fb00f012ca90bc63098bd43d2ad7df8 #8

Checking e578facf4fb00f012ca90bc63098bd43d2ad7df8

Checking e578facf4fb00f012ca90bc63098bd43d2ad7df8 #8

Triggered via push August 6, 2023 12:44
Status Failure
Total duration 1m 23s
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-check: src/main.rs#L1
expected `;`, found `#`
cargo-check
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-check
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-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/
cargo-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/
cargo-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/
cargo-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/
cargo-check: src/main.rs#L1
unused import: `webicons::*`
cargo-check
`webicons` (bin "webicons") generated 1 warning