Skip to content

test(date): validate locale formats via runtime expansion #17808

test(date): validate locale formats via runtime expansion

test(date): validate locale formats via runtime expansion #17808

Triggered via pull request December 25, 2025 01:12
Status Failure
Total duration 7m 59s
Artifacts

freebsd.yml

on: pull_request
Matrix: Style and Lint
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Style and Lint (ubuntu-24.04, unix): src/uu/date/src/locale.rs#L205
ERROR: `cargo clippy`: variables can be used directly in the `format!` string (file:'src/uu/date/src/locale.rs', line:205)
Style and Lint (ubuntu-24.04, unix): src/uu/date/src/locale.rs#L201
ERROR: `cargo clippy`: single-character string constant used as pattern (file:'src/uu/date/src/locale.rs', line:201)
Style and Lint (ubuntu-24.04, unix): src/uu/date/src/locale.rs#L191
ERROR: `cargo clippy`: variables can be used directly in the `format!` string (file:'src/uu/date/src/locale.rs', line:191)
Style and Lint (ubuntu-24.04, unix): src/uu/date/src/locale.rs#L181
ERROR: `cargo clippy`: this expression creates a reference which is immediately dereferenced by the compiler (file:'src/uu/date/src/locale.rs', line:181)
Style and Lint (ubuntu-24.04, unix): src/uu/date/src/locale.rs#L161
ERROR: `cargo clippy`: variables can be used directly in the `format!` string (file:'src/uu/date/src/locale.rs', line:161)
Style and Lint (ubuntu-24.04, unix): src/uu/date/src/locale.rs#L156
ERROR: `cargo clippy`: variables can be used directly in the `format!` string (file:'src/uu/date/src/locale.rs', line:156)
Style and Lint (ubuntu-24.04, unix): src/uu/date/src/locale.rs#L151
ERROR: `cargo clippy`: variables can be used directly in the `format!` string (file:'src/uu/date/src/locale.rs', line:151)
Style and Lint (ubuntu-24.04, unix): src/uu/date/src/locale.rs#L147
ERROR: `cargo clippy`: this expression creates a reference which is immediately dereferenced by the compiler (file:'src/uu/date/src/locale.rs', line:147)
Style and Lint (ubuntu-24.04, unix): src/uu/date/src/locale.rs#L131
ERROR: `cargo clippy`: match can be simplified with `.unwrap_or_default()` (file:'src/uu/date/src/locale.rs', line:131)
Style and Lint (ubuntu-24.04, unix): src/uu/date/src/locale.rs#L125
ERROR: `cargo clippy`: this could be rewritten as `let...else` (file:'src/uu/date/src/locale.rs', line:125)