Skip to content

Clippy CI is failing on main after Rust 1.88 upgrade #7796

@alamb

Description

@alamb

Describe the bug

Rust 1.88 was released: https://releases.rs/docs/1.88.0/ and along with it some more stringent clippy lints

To Reproduce

cargo clippy --workspace

Example failure https://github.com/apache/arrow-rs/actions/runs/15911507173/job/44879755777

error: variables can be used directly in the `format!` string
   --> arrow-schema/src/datatype.rs:470:21
    |
470 |                     write!(f, "{}", fields_str)?;
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
    = note: `-D clippy::uninlined-format-args` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
    |
4[70](https://github.com/apache/arrow-rs/actions/runs/15911507173/job/44879755777#step:6:71) -                     write!(f, "{}", fields_str)?;
470 +                     write!(f, "{fields_str}")?;

Expected behavior
Clean CI run

Additional context

Metadata

Metadata

Assignees

Labels

arrowChanges to the arrow cratearrow-flightChanges to the arrow-flight cratebugparquetChanges to the parquet crate

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions