Skip to content

update #131: Make dashmap optional. #226

update #131: Make dashmap optional.

update #131: Make dashmap optional. #226

Triggered via pull request January 25, 2025 10:22
Status Success
Total duration 44s
Artifacts

rust.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

32 warnings
Rustfmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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: i18n-config/src/lib.rs#L89
warning: elided lifetime has a name --> i18n-config/src/lib.rs:145:29 | 89 | impl<'a> Crate<'a> { | -- lifetime `'a` declared here ... 145 | ) -> Result<Option<(&'a Crate, &'a I18nConfig)>, I18nConfigError> { | ^^^^^ this elided lifetime gets resolved as `'a` | = note: `#[warn(elided_named_lifetimes)]` on by default
Clippy: i18n-config/src/lib.rs#L89
warning: elided lifetime has a name --> i18n-config/src/lib.rs:155:58 | 89 | impl<'a> Crate<'a> { | -- lifetime `'a` declared here ... 155 | pub fn active_config(&'a self) -> Result<Option<(&'a Crate, &'a I18nConfig)>, I18nConfigError> { | ^^^^^ this elided lifetime gets resolved as `'a`
Clippy: i18n-config/src/lib.rs#L89
warning: elided lifetime has a name --> i18n-config/src/lib.rs:145:29 | 89 | impl<'a> Crate<'a> { | -- lifetime `'a` declared here ... 145 | ) -> Result<Option<(&'a Crate, &'a I18nConfig)>, I18nConfigError> { | ^^^^^ this elided lifetime gets resolved as `'a` | = note: `#[warn(elided_named_lifetimes)]` on by default
Clippy: i18n-config/src/lib.rs#L89
warning: elided lifetime has a name --> i18n-config/src/lib.rs:155:58 | 89 | impl<'a> Crate<'a> { | -- lifetime `'a` declared here ... 155 | pub fn active_config(&'a self) -> Result<Option<(&'a Crate, &'a I18nConfig)>, I18nConfigError> { | ^^^^^ this elided lifetime gets resolved as `'a`
Clippy: i18n-config/src/lib.rs#L321
warning: the following explicit lifetimes could be elided: 'a --> i18n-config/src/lib.rs:321:6 | 321 | impl<'a> Display for Crate<'a> { | ^^ ^^ | = 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 | 321 - impl<'a> Display for Crate<'a> { 321 + impl Display for Crate<'_> { |
Clippy: i18n-embed/src/lib.rs#L549
warning: the following explicit lifetimes could be elided: 'a --> i18n-embed/src/lib.rs:549:6 | 549 | impl<'a> Localizer for DefaultLocalizer<'a> { | ^^ ^^ | = 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 | 549 - impl<'a> Localizer for DefaultLocalizer<'a> { 549 + impl Localizer for DefaultLocalizer<'_> { |
Clippy: i18n-build/src/gettext_impl/mod.rs#L99
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> i18n-build/src/gettext_impl/mod.rs:99:9 | 99 | / match &gettext_config.copyright_holder { 100 | | Some(copyright_holder) => { 101 | | xtr.args(["--copyright-holder", copyright_holder.as_str()]); ... | 104 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `#[warn(clippy::single_match)]` on by default help: try | 99 ~ if let Some(copyright_holder) = &gettext_config.copyright_holder { 100 + xtr.args(["--copyright-holder", copyright_holder.as_str()]); 101 + } |
Clippy: i18n-build/src/gettext_impl/mod.rs#L106
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> i18n-build/src/gettext_impl/mod.rs:106:9 | 106 | / match &gettext_config.msgid_bugs_address { 107 | | Some(msgid_bugs_address) => { 108 | | xtr.args(["--msgid-bugs-address", msgid_bugs_address.as_str()]); ... | 111 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match help: try | 106 ~ if let Some(msgid_bugs_address) = &gettext_config.msgid_bugs_address { 107 + xtr.args(["--msgid-bugs-address", msgid_bugs_address.as_str()]); 108 + } |
Clippy: i18n-build/src/lib.rs#L90
warning: deref on an immutable reference --> i18n-build/src/lib.rs:90:31 | 90 | DefaultLocalizer::new(&*language_loader(), &TRANSLATIONS) | ^^^^^^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `language_loader()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref = note: `#[warn(clippy::borrow_deref_ref)]` on by default
Clippy: src/main.rs#L80
warning: deref on an immutable reference --> src/main.rs:80:31 | 80 | DefaultLocalizer::new(&*language_loader(), &TRANSLATIONS); | ^^^^^^^^^^^^^^^^^^^ help: if you would like to reborrow, try removing `&*`: `language_loader()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref = note: `#[warn(clippy::borrow_deref_ref)]` on by default
Test Suite
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Suite
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/
Test Suite
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/
Test Suite
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/
Test Suite
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/
Test Suite
/home/runner/work/cargo-i18n/cargo-i18n/i18n-build/Cargo.toml: `default-features` is ignored for tr, since `default-features` was not specified for `workspace.dependencies.tr`, this could become a hard error in the future
Test Suite: i18n-config/src/lib.rs#L145
elided lifetime has a name
Test Suite: i18n-config/src/lib.rs#L155
elided lifetime has a name
Test Suite
`i18n-config` (lib) generated 2 warnings
Test Suite: i18n-embed-fl/src/lib.rs#L17
unused imports: `DashMap` and `Entry`
Test Suite
`i18n-embed-fl` (lib) generated 1 warning (run `cargo fix --lib -p i18n-embed-fl` to apply 1 suggestion)
Test Suite
`i18n-config` (lib test) generated 2 warnings (2 duplicates)