Skip to content

Publish new versions of i18n-build and i18n-config #252

Publish new versions of i18n-build and i18n-config

Publish new versions of i18n-build and i18n-config #252

Triggered via push July 9, 2025 02:37
Status Success
Total duration 51s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

32 warnings
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: i18n-config/src/lib.rs#L155
warning: lifetime flowing from input to output with different syntax can be confusing --> i18n-config/src/lib.rs:155:26 | 155 | pub fn active_config(&self) -> Result<Option<(&'_ Crate, &'_ I18nConfig)>, I18nConfigError> { | ^^^^^ -- ----- -- the lifetimes get resolved as `'_` | | | | | | | the lifetimes get resolved as `'_` | | the lifetimes get resolved as `'_` | this lifetime flows to the output | help: one option is to remove the lifetime for references and use the anonymous lifetime for paths | 155 - pub fn active_config(&self) -> Result<Option<(&'_ Crate, &'_ I18nConfig)>, I18nConfigError> { 155 + pub fn active_config(&self) -> Result<Option<(&Crate<'_>, &I18nConfig)>, I18nConfigError> { |
Clippy: i18n-config/src/lib.rs#L144
warning: lifetime flowing from input to output with different syntax can be confusing --> i18n-config/src/lib.rs:144:9 | 144 | &self, | ^^^^^ this lifetime flows to the output 145 | ) -> Result<Option<(&'_ Crate, &'_ I18nConfig)>, I18nConfigError> { | -- ----- -- the lifetimes get resolved as `'_` | | | | | the lifetimes get resolved as `'_` | the lifetimes get resolved as `'_` | = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: one option is to remove the lifetime for references and use the anonymous lifetime for paths | 145 - ) -> Result<Option<(&'_ Crate, &'_ I18nConfig)>, I18nConfigError> { 145 + ) -> Result<Option<(&Crate<'_>, &I18nConfig)>, I18nConfigError> { |
Clippy: i18n-config/src/lib.rs#L285
warning: variables can be used directly in the `format!` string --> i18n-config/src/lib.rs:285:37 | 285 | ... error!("Error: unable to canonicalize the subcrate path: {0:?} because {1}", subcrate_path, err); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 285 - error!("Error: unable to canonicalize the subcrate path: {0:?} because {1}", subcrate_path, err); 285 + error!("Error: unable to canonicalize the subcrate path: {subcrate_path:?} because {err}"); |
Clippy: i18n-config/src/lib.rs#L262
warning: variables can be used directly in the `format!` string --> i18n-config/src/lib.rs:262:29 | 262 | / ... error!( 263 | | ... "Error occurred while attempting to resolve parent of {0}: {1}", 264 | | ... self, err 265 | | ... ); | |_______________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
Clippy: i18n-config/src/lib.rs#L259
warning: variables can be used directly in the `format!` string --> i18n-config/src/lib.rs:259:29 | 259 | ... debug!("The parent of {0} at path {1:?} is not a valid crate with a Cargo.toml", self, path); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 259 - debug!("The parent of {0} at path {1:?} is not a valid crate with a Cargo.toml", self, path); 259 + debug!("The parent of {self} at path {path:?} is not a valid crate with a Cargo.toml"); |
Clippy: i18n-config/src/lib.rs#L256
warning: variables can be used directly in the `format!` string --> i18n-config/src/lib.rs:256:29 | 256 | ... debug!("The parent of {0} at path {1:?} is a workspace", self, path); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 256 - debug!("The parent of {0} at path {1:?} is a workspace", self, path); 256 + debug!("The parent of {self} at path {path:?} is a workspace"); |
Clippy: i18n-config/src/lib.rs#L250
warning: variables can be used directly in the `format!` string --> i18n-config/src/lib.rs:250:21 | 250 | debug!("Found parent ({0}) of {1}.", parent_crate, self); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 250 - debug!("Found parent ({0}) of {1}.", parent_crate, self); 250 + debug!("Found parent ({parent_crate}) of {self}."); |
Clippy: i18n-config/src/lib.rs#L182
warning: variables can be used directly in the `format!` string --> i18n-config/src/lib.rs:182:17 | 182 | / debug!( 183 | | "{0} has no i18n config, attempting to obtain parent config instead.", 184 | | self 185 | | ); | |_________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
Clippy: i18n-config/src/lib.rs#L161
warning: variables can be used directly in the `format!` string --> i18n-config/src/lib.rs:161:25 | 161 | debug!("Resolving active config for {0}, extract_to_parent is true, so attempting to obtain parent config.", self); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 161 - debug!("Resolving active config for {0}, extract_to_parent is true, so attempting to obtain parent config.", self); 161 + debug!("Resolving active config for {self}, extract_to_parent is true, so attempting to obtain parent config."); |
Clippy: i18n-config/src/lib.rs#L156
warning: variables can be used directly in the `format!` string --> i18n-config/src/lib.rs:156:9 | 156 | debug!("Resolving active config for {0}", self); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args = note: `#[warn(clippy::uninlined_format_args)]` on by default help: change this to | 156 - debug!("Resolving active config for {0}", self); 156 + debug!("Resolving active config for {self}"); |
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/
Test Suite
`i18n-config` (lib test) generated 2 warnings (2 duplicates)
Test Suite
`i18n-embed-fl` (lib test) generated 3 warnings (3 duplicates)
Test Suite
`i18n-embed-fl` (lib) generated 3 warnings (run `cargo fix --lib -p i18n-embed-fl` to apply 1 suggestion)
Test Suite: i18n-embed-fl/src/lib.rs#L196
lifetime flowing from input to output with different syntax can be confusing
Test Suite: i18n-embed-fl/src/lib.rs#L191
lifetime flowing from input to output with different syntax can be confusing
Test Suite: i18n-embed-fl/src/lib.rs#L9
unused import: `HashMap`
Test Suite
`i18n-config` (lib) generated 2 warnings
Test Suite: i18n-config/src/lib.rs#L155
lifetime flowing from input to output with different syntax can be confusing
Test Suite: i18n-config/src/lib.rs#L144
lifetime flowing from input to output with different syntax can be confusing
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
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/