Skip to content

Fix a small typo in coreutils_core/Cargo.toml #203

Fix a small typo in coreutils_core/Cargo.toml

Fix a small typo in coreutils_core/Cargo.toml #203

Triggered via push July 2, 2024 03:18
Status Failure
Total duration 1m 54s
Artifacts

illumos.yml

on: push
Matrix: Illumos
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 111 warnings
written amount is not handled: clear/src/main.rs#L14
error: written amount is not handled --> clear/src/main.rs:14:15 | 14 | match stdout().lock().write(b"\x1b[H\x1b[3J") { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: use `Write::write_all` instead, or handle partial writes note: the result is consumed here, but the amount of I/O bytes remains unhandled --> clear/src/main.rs:15:13 | 15 | Ok(_) => (), | ^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount
written amount is not handled: clear/src/main.rs#L24
error: written amount is not handled --> clear/src/main.rs:24:11 | 24 | match stdout().lock().write(b"\x1b[3J\x1b[H\x1b[2J") { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: use `Write::write_all` instead, or handle partial writes note: the result is consumed here, but the amount of I/O bytes remains unhandled --> clear/src/main.rs:25:9 | 25 | Ok(_) => (), | ^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount = note: `#[deny(clippy::unused_io_amount)]` on by default
Illumos (1.61.0)
Process completed with exit code 101.
Illumos (stable)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
the borrowed expression implements the required traits: rm/src/main.rs#L319
warning: the borrowed expression implements the required traits --> rm/src/main.rs:319:35 | 319 | match fs::remove_file(&child.path()) { | ^^^^^^^^^^^^^ help: change this to: `child.path()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: rm/src/main.rs#L307
warning: the borrowed expression implements the required traits --> rm/src/main.rs:307:39 | 307 | match fs::remove_file(&child.path()) { | ^^^^^^^^^^^^^ help: change this to: `child.path()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
usage of a legacy numeric method: cut/src/main.rs#L170
warning: usage of a legacy numeric method --> cut/src/main.rs:170:45 | 170 | points.push(Range(carry, usize::max_value())); | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 170 | points.push(Range(carry, usize::MAX)); | ~~~
usage of a legacy numeric method: cut/src/main.rs#L169
warning: usage of a legacy numeric method --> cut/src/main.rs:169:27 | 169 | if carry < usize::max_value() { | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 169 | if carry < usize::MAX { | ~~~
usage of a legacy numeric method: cut/src/main.rs#L104
warning: usage of a legacy numeric method --> cut/src/main.rs:104:20 | 104 | usize::max_value() | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 104 | usize::MAX | ~~~
usage of a legacy numeric method: cut/src/main.rs#L100
warning: usage of a legacy numeric method --> cut/src/main.rs:100:49 | 100 | let lower = if v[0].is_empty() { usize::min_value() } else { v[0].parse::<usize>()? - 1 }; | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: `#[warn(clippy::legacy_numeric_constants)]` on by default help: use the associated constant instead | 100 | let lower = if v[0].is_empty() { usize::MIN } else { v[0].parse::<usize>()? - 1 }; | ~~~
this manual char comparison can be written more succinctly: unexpand/src/tab_stops.rs#L20
warning: this manual char comparison can be written more succinctly --> unexpand/src/tab_stops.rs:20:36 | 20 | tabs_str.split(|c| c == ',' || c == ' ').map(str::trim).collect(); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `[',', ' ']` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison = note: `#[warn(clippy::manual_pattern_char_comparison)]` on by default
unneeded sub `cfg` when there is only one condition: id/src/cli.rs#L97
warning: unneeded sub `cfg` when there is only one condition --> id/src/cli.rs:97:11 | 97 | #[cfg(any(target_os = "openbsd"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_os = "openbsd"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
dereferencing a tuple pattern where every element takes a reference: nl/src/main.rs#L62
warning: dereferencing a tuple pattern where every element takes a reference --> nl/src/main.rs:62:39 | 62 | (&Style::Regex(ref reg1), &Style::Regex(ref reg2)) => { | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference help: try removing the `&` and `ref` parts | 62 - (&Style::Regex(ref reg1), &Style::Regex(ref reg2)) => { 62 + (&Style::Regex(ref reg1), Style::Regex(reg2)) => { |
dereferencing a tuple pattern where every element takes a reference: nl/src/main.rs#L62
warning: dereferencing a tuple pattern where every element takes a reference --> nl/src/main.rs:62:14 | 62 | (&Style::Regex(ref reg1), &Style::Regex(ref reg2)) => { | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference = note: `#[warn(clippy::needless_borrowed_reference)]` on by default help: try removing the `&` and `ref` parts | 62 - (&Style::Regex(ref reg1), &Style::Regex(ref reg2)) => { 62 + (Style::Regex(reg1), &Style::Regex(ref reg2)) => { |
bound is defined in more than one place: date/src/main.rs#L204
warning: bound is defined in more than one place --> date/src/main.rs:204:26 | 204 | fn parse_datetime_values<T: FromStr>(chars: &[char]) -> Result<T, String> | ^ 205 | where 206 | T: FromStr, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations = note: `#[warn(clippy::multiple_bound_locations)]` on by default
casting to the same type is unnecessary (`u32` -> `u32`): who/src/main.rs#L370
warning: casting to the same type is unnecessary (`u32` -> `u32`) --> who/src/main.rs:370:32 | 370 | msg = if meta.mode() & (S_IWGRP as u32) == 0 { '-' } else { '+' }; | ^^^^^^^^^^^^^^^^ help: try: `S_IWGRP` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
unneeded sub `cfg` when there is only one condition: who/src/main.rs#L38
warning: unneeded sub `cfg` when there is only one condition --> who/src/main.rs:38:15 | 38 | #[cfg(any(target_os = "openbsd"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_os = "openbsd"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: who/src/main.rs#L28
warning: unneeded sub `cfg` when there is only one condition --> who/src/main.rs:28:19 | 28 | #[cfg(any(target_os = "openbsd"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_os = "openbsd"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
casting to the same type is unnecessary (`usize` -> `usize`): expand/src/main.rs#L113
warning: casting to the same type is unnecessary (`usize` -> `usize`) --> expand/src/main.rs:113:68 | 113 | new_line.push_str(String::from(" ").repeat(spaces as usize).as_str()); | ^^^^^^^^^^^^^^^ help: try: `spaces` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
this manual char comparison can be written more succinctly: expand/src/tab_stops.rs#L22
warning: this manual char comparison can be written more succinctly --> expand/src/tab_stops.rs:22:36 | 22 | tabs_str.split(|c| c == ',' || c == ' ').map(str::trim).collect(); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `[',', ' ']` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison = note: `#[warn(clippy::manual_pattern_char_comparison)]` on by default
unnecessary use of `.write(true)` because there is `.append(true)`: tee/src/main.rs#L58
warning: unnecessary use of `.write(true)` because there is `.append(true)` --> tee/src/main.rs:58:48 | 58 | let file = match OpenOptions::new().write(true).create(true).append(true).open(path) { | ^^^^^^^^^^^^ help: remove `.write(true)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ineffective_open_options = note: `#[warn(clippy::ineffective_open_options)]` on by default
casting to the same type is unnecessary (`char` -> `char`): time/src/output.rs#L169
warning: casting to the same type is unnecessary (`char` -> `char`) --> time/src/output.rs:169:52 | 169 | write!(&mut target, "%{}", specifier as char).ok()?; | ^^^^^^^^^^^^^^^^^ help: try: `{ specifier }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting to the same type is unnecessary (`char` -> `char`): time/src/output.rs#L161
warning: casting to the same type is unnecessary (`char` -> `char`) --> time/src/output.rs:161:39 | 161 | write!(&mut target, "{}", ch as char).ok()?; | ^^^^^^^^^^ help: try: `{ ch }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead: du/src/time.rs#L49
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead --> du/src/time.rs:49:40 | 49 | let date_time = NaiveDateTime::from_timestamp(self.seconds, self.n_seconds as u32); | ^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default
use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead: ls/src/file.rs#L144
warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead --> ls/src/file.rs:144:47 | 144 | let datetime: DateTime<Local> = Local.timestamp(secs, nsecs as u32); | ^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default
usage of a legacy numeric constant: uptime/src/main.rs#L140
warning: usage of a legacy numeric constant --> uptime/src/main.rs:140:46 | 140 | if (item - slice[2]).abs() < std::f64::EPSILON { | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: `#[warn(clippy::legacy_numeric_constants)]` on by default help: use the associated constant instead | 140 | if (item - slice[2]).abs() < f64::EPSILON { | ~~~~~~~~~~~~
casting to the same type is unnecessary (`i64` -> `i64`): uptime/src/main.rs#L111
warning: casting to the same type is unnecessary (`i64` -> `i64`) --> uptime/src/main.rs:111:21 | 111 | Ok(t) => Ok(t.tv_sec as i64), | ^^^^^^^^^^^^^^^ help: try: `t.tv_sec` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
field `human_readable` is never read: time/src/output.rs#L70
warning: field `human_readable` is never read --> time/src/output.rs:70:9 | 68 | pub struct OutputFormatter { | --------------- field in this struct 69 | pub kind: FormatterKind, 70 | pub human_readable: bool, | ^^^^^^^^^^^^^^ | = note: `OutputFormatter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
file opened with `create`, but `truncate` behavior not defined: basename/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> basename/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: users/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> users/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: mv/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> mv/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: mkdir/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> mkdir/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: unlink/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> unlink/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: logname/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> logname/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: rm/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> rm/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: csplit/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> csplit/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: clear/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> clear/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: nohup/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> nohup/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: rmdir/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> rmdir/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: id/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> id/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
unneeded sub `cfg` when there is only one condition: id/src/cli.rs#L97
warning: unneeded sub `cfg` when there is only one condition --> id/src/cli.rs:97:11 | 97 | #[cfg(any(target_os = "openbsd"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_os = "openbsd"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
file opened with `create`, but `truncate` behavior not defined: cut/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> cut/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: unexpand/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> unexpand/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: yes/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> yes/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: chroot/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> chroot/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: link/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> link/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: sleep/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> sleep/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: env/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> env/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: cat/build.rs#L29
warning: file opened with `create`, but `truncate` behavior not defined --> cat/build.rs:29:18 | 29 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
casting to the same type is unnecessary (`i64` -> `i64`): coreutils_core/src/os/utmpx.rs#L214
warning: casting to the same type is unnecessary (`i64` -> `i64`) --> coreutils_core/src/os/utmpx.rs:214:38 | 214 | + Duration::microseconds(self.timeval.tv_usec as i64) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.timeval.tv_usec` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting to the same type is unnecessary (`i64` -> `i64`): coreutils_core/src/os/utmpx.rs#L213
warning: casting to the same type is unnecessary (`i64` -> `i64`) --> coreutils_core/src/os/utmpx.rs:213:39 | 213 | DateTime::from_unix_timestamp(self.timeval.tv_sec as i64) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.timeval.tv_sec` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
the borrowed expression implements the required traits: coreutils_core/src/os/utmpx.rs#L205
warning: the borrowed expression implements the required traits --> coreutils_core/src/os/utmpx.rs:205:19 | 205 | path.push(&self.line.to_string()); | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.line.to_string()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
file opened with `create`, but `truncate` behavior not defined: whoami/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> whoami/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: pwd/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> pwd/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
found call to `str::trim` before `str::split_whitespace`: coreutils_core/src/os/time.rs#L167
warning: found call to `str::trim` before `str::split_whitespace` --> coreutils_core/src/os/time.rs:167:20 | 167 | string.trim().split_whitespace().take(2).filter_map(|val| val.parse::<f64>().ok()); | ^^^^^^^ help: remove `trim()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trim_split_whitespace
found call to `str::trim` before `str::split_whitespace`: coreutils_core/src/os/time.rs#L103
warning: found call to `str::trim` before `str::split_whitespace` --> coreutils_core/src/os/time.rs:103:20 | 103 | string.trim().split_whitespace().take(2).filter_map(|val| val.parse::<f64>().ok()); | ^^^^^^^ help: remove `trim()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trim_split_whitespace = note: `#[warn(clippy::trim_split_whitespace)]` on by default
casting to the same type is unnecessary (`i64` -> `i64`): coreutils_core/src/os/resource.rs#L78
warning: casting to the same type is unnecessary (`i64` -> `i64`) --> coreutils_core/src/os/resource.rs:78:19 | 78 | Duration::new(t.tv_sec as i64, t.tv_usec as i32 * 1_000) | ^^^^^^^^^^^^^^^ help: try: `t.tv_sec` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
file opened with `create`, but `truncate` behavior not defined: tty/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> tty/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
usage of a legacy numeric constant: coreutils_core/src/backup.rs#L108
warning: usage of a legacy numeric constant --> coreutils_core/src/backup.rs:108:21 | 108 | if index == std::u64::MAX { | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: `#[warn(clippy::legacy_numeric_constants)]` on by default help: use the associated constant instead | 108 | if index == u64::MAX { | ~~~~~~~~
file opened with `create`, but `truncate` behavior not defined: touch/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> touch/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: mktemp/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> mktemp/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: nice/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> nice/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
unexpected `cfg` condition value: `thumbv8m.main`: coreutils_core/src/consts.rs#L104
warning: unexpected `cfg` condition value: `thumbv8m.main` --> coreutils_core/src/consts.rs:104:7 | 104 | #[cfg(target_arch = "thumbv8m.main")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `thumbv8m.base`: coreutils_core/src/consts.rs#L102
warning: unexpected `cfg` condition value: `thumbv8m.base` --> coreutils_core/src/consts.rs:102:7 | 102 | #[cfg(target_arch = "thumbv8m.base")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `riscv32i`: coreutils_core/src/consts.rs#L100
warning: unexpected `cfg` condition value: `riscv32i` --> coreutils_core/src/consts.rs:100:7 | 100 | #[cfg(target_arch = "riscv32i")] | ^^^^^^^^^^^^^^---------- | | | help: there is a expected value with a similar name: `"riscv32"` | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `nvptx`: coreutils_core/src/consts.rs#L96
warning: unexpected `cfg` condition value: `nvptx` --> coreutils_core/src/consts.rs:96:7 | 96 | #[cfg(target_arch = "nvptx")] | ^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `mipsisa64r6el`: coreutils_core/src/consts.rs#L92
warning: unexpected `cfg` condition value: `mipsisa64r6el` --> coreutils_core/src/consts.rs:92:7 | 92 | #[cfg(target_arch = "mipsisa64r6el")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `mipsisa64r6`: coreutils_core/src/consts.rs#L90
warning: unexpected `cfg` condition value: `mipsisa64r6` --> coreutils_core/src/consts.rs:90:7 | 90 | #[cfg(target_arch = "mipsisa64r6")] | ^^^^^^^^^^^^^^------------- | | | help: there is a expected value with a similar name: `"mips64r6"` | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `mipsisa32r6el`: coreutils_core/src/consts.rs#L88
warning: unexpected `cfg` condition value: `mipsisa32r6el` --> coreutils_core/src/consts.rs:88:7 | 88 | #[cfg(target_arch = "mipsisa32r6el")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `thumbv7neon`: coreutils_core/src/consts.rs#L78
warning: unexpected `cfg` condition value: `thumbv7neon` --> coreutils_core/src/consts.rs:78:7 | 78 | #[cfg(target_arch = "thumbv7neon")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `thumbv7m`: coreutils_core/src/consts.rs#L76
warning: unexpected `cfg` condition value: `thumbv7m` --> coreutils_core/src/consts.rs:76:7 | 76 | #[cfg(target_arch = "thumbv7m")] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `thumbv7em`: coreutils_core/src/consts.rs#L74
warning: unexpected `cfg` condition value: `thumbv7em` --> coreutils_core/src/consts.rs:74:7 | 74 | #[cfg(target_arch = "thumbv7em")] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `thumbv6m`: coreutils_core/src/consts.rs#L72
warning: unexpected `cfg` condition value: `thumbv6m` --> coreutils_core/src/consts.rs:72:7 | 72 | #[cfg(target_arch = "thumbv6m")] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `sparcv9`: coreutils_core/src/consts.rs#L70
warning: unexpected `cfg` condition value: `sparcv9` --> coreutils_core/src/consts.rs:70:7 | 70 | #[cfg(target_arch = "sparcv9")] | ^^^^^^^^^^^^^^--------- | | | help: there is a expected value with a similar name: `"sparc64"` | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `riscv64imac`: coreutils_core/src/consts.rs#L64
warning: unexpected `cfg` condition value: `riscv64imac` --> coreutils_core/src/consts.rs:64:7 | 64 | #[cfg(target_arch = "riscv64imac")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `riscv64gc`: coreutils_core/src/consts.rs#L62
warning: unexpected `cfg` condition value: `riscv64gc` --> coreutils_core/src/consts.rs:62:7 | 62 | #[cfg(target_arch = "riscv64gc")] | ^^^^^^^^^^^^^^----------- | | | help: there is a expected value with a similar name: `"riscv64"` | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `riscv32imc`: coreutils_core/src/consts.rs#L60
warning: unexpected `cfg` condition value: `riscv32imc` --> coreutils_core/src/consts.rs:60:7 | 60 | #[cfg(target_arch = "riscv32imc")] | ^^^^^^^^^^^^^^------------ | | | help: there is a expected value with a similar name: `"riscv32"` | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `riscv32imac`: coreutils_core/src/consts.rs#L58
warning: unexpected `cfg` condition value: `riscv32imac` --> coreutils_core/src/consts.rs:58:7 | 58 | #[cfg(target_arch = "riscv32imac")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `powerpc64le`: coreutils_core/src/consts.rs#L56
warning: unexpected `cfg` condition value: `powerpc64le` --> coreutils_core/src/consts.rs:56:7 | 56 | #[cfg(target_arch = "powerpc64le")] | ^^^^^^^^^^^^^^------------- | | | help: there is a expected value with a similar name: `"powerpc64"` | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `mipsel`: coreutils_core/src/consts.rs#L50
warning: unexpected `cfg` condition value: `mipsel` --> coreutils_core/src/consts.rs:50:7 | 50 | #[cfg(target_arch = "mipsel")] | ^^^^^^^^^^^^^^-------- | | | help: there is a expected value with a similar name: `"mips64"` | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `mips64el`: coreutils_core/src/consts.rs#L48
warning: unexpected `cfg` condition value: `mips64el` --> coreutils_core/src/consts.rs:48:7 | 48 | #[cfg(target_arch = "mips64el")] | ^^^^^^^^^^^^^^---------- | | | help: there is a expected value with a similar name: `"mips64r6"` | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `i686`: coreutils_core/src/consts.rs#L42
warning: unexpected `cfg` condition value: `i686` --> coreutils_core/src/consts.rs:42:7 | 42 | #[cfg(target_arch = "i686")] | ^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `i586`: coreutils_core/src/consts.rs#L40
warning: unexpected `cfg` condition value: `i586` --> coreutils_core/src/consts.rs:40:7 | 40 | #[cfg(target_arch = "i586")] | ^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `i386`: coreutils_core/src/consts.rs#L38
warning: unexpected `cfg` condition value: `i386` --> coreutils_core/src/consts.rs:38:7 | 38 | #[cfg(target_arch = "i386")] | ^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `asmjs`: coreutils_core/src/consts.rs#L36
warning: unexpected `cfg` condition value: `asmjs` --> coreutils_core/src/consts.rs:36:7 | 36 | #[cfg(target_arch = "asmjs")] | ^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `armv7`: coreutils_core/src/consts.rs#L34
warning: unexpected `cfg` condition value: `armv7` --> coreutils_core/src/consts.rs:34:7 | 34 | #[cfg(target_arch = "armv7")] | ^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `armv5te`: coreutils_core/src/consts.rs#L32
warning: unexpected `cfg` condition value: `armv5te` --> coreutils_core/src/consts.rs:32:7 | 32 | #[cfg(target_arch = "armv5te")] | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
unexpected `cfg` condition value: `armebv7r`: coreutils_core/src/consts.rs#L30
warning: unexpected `cfg` condition value: `armebv7r` --> coreutils_core/src/consts.rs:30:7 | 30 | #[cfg(target_arch = "armebv7r")] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default
unneeded sub `cfg` when there is only one condition: coreutils_core/src/os/utmpx.rs#L352
warning: unneeded sub `cfg` when there is only one condition --> coreutils_core/src/os/utmpx.rs:352:15 | 352 | #[cfg(any(target_os = "netbsd"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_os = "netbsd"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: coreutils_core/src/os/utmpx.rs#L218
warning: unneeded sub `cfg` when there is only one condition --> coreutils_core/src/os/utmpx.rs:218:36 | 218 | #[cfg(all(target_os = "linux", any(target_arch = "x86_64")))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_arch = "x86_64"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: coreutils_core/src/os/utmpx.rs#L136
warning: unneeded sub `cfg` when there is only one condition --> coreutils_core/src/os/utmpx.rs:136:36 | 136 | #[cfg(all(target_os = "linux", any(target_arch = "x86_64")))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_arch = "x86_64"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: coreutils_core/src/os/utmpx.rs#L35
warning: unneeded sub `cfg` when there is only one condition --> coreutils_core/src/os/utmpx.rs:35:32 | 35 | #[cfg(all(target_os = "linux", any(target_arch = "x86_64")))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_arch = "x86_64"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
file opened with `create`, but `truncate` behavior not defined: nl/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> nl/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: date/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> date/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: ls/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> ls/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: groups/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> groups/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: printf/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> printf/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: dirname/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> dirname/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: wc/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> wc/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: mkfifo/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> mkfifo/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: uname/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> uname/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: who/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> who/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: sort/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> sort/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: du/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> du/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: head/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> head/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: seq/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> seq/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: uniq/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> uniq/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: expand/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> expand/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: tail/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> tail/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: echo/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> echo/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: tee/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> tee/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: uptime/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> uptime/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
file opened with `create`, but `truncate` behavior not defined: time/build.rs#L30
warning: file opened with `create`, but `truncate` behavior not defined --> time/build.rs:30:18 | 30 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `#[warn(clippy::suspicious_open_options)]` on by default
Illumos (1.61.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.