clippy failed
Command:
rustup component add clippy
cargo clippy --all-targets -- -D warnings 2>&1
Runner:
carl
online
linux/arm64
Started: Mar 15, 2026 at 23:30 UTC
Completed: Mar 15, 2026 at 23:30 UTC
Duration: 19s
Exit code:
101
Build Output
Pulling image: rust:1.86-bookworm
info: downloading component 'clippy'
info: installing component 'clippy'
Updating crates.io index
Downloading crates ...
Downloaded anstyle-query v1.1.5
Downloaded atomic-waker v1.1.2
Downloaded anstream v0.6.21
Downloaded autocfg v1.5.0
Downloaded anstyle v1.0.13
Downloaded anstyle-parse v0.2.7
Downloaded bytecount v0.6.9
Downloaded scopeguard v1.2.0
Downloaded bitflags v2.11.0
Downloaded rustc-hash v2.1.1
Downloaded futures-sink v0.3.32
Downloaded cfg-if v1.0.4
Downloaded dirs-sys v0.5.0
Downloaded clap_lex v1.0.0
Downloaded cfg_aliases v0.2.1
Downloaded itoa v1.0.17
Downloaded futures-macro v0.3.32
Downloaded serde_core v1.0.228
Downloaded colorchoice v1.0.4
Downloaded fastrand v2.3.0
Downloaded heck v0.4.1
Downloaded fnv v1.0.7
Downloaded serde v1.0.228
Downloaded is_terminal_polyfill v1.70.2
Downloaded percent-encoding v2.3.2
Downloaded lru-slab v0.1.2
Downloaded rustls-pki-types v1.14.0
Downloaded idna_adapter v1.2.1
Downloaded dirs v6.0.0
Downloaded futures-io v0.3.32
Downloaded form_urlencoded v1.2.2
Downloaded mime v0.3.17
Downloaded option-ext v0.2.0
Downloaded http-body v1.0.1
Downloaded proc-macro-error-attr2 v2.0.0
Downloaded potential_utf v0.1.4
Downloaded pin-utils v0.1.0
Downloaded hostname v0.4.2
Downloaded heck v0.5.0
Downloaded futures-task v0.3.32
Downloaded shell-words v1.1.1
Downloaded http-body-util v0.1.3
Downloaded tower-layer v0.3.3
Downloaded utf8_iter v1.0.4
Downloaded tabled_derive v0.9.0
Downloaded find-msvc-tools v0.1.9
Downloaded base64 v0.22.1
Downloaded stable_deref_trait v1.2.1
Downloaded zerofrom-derive v0.1.6
Downloaded tinyvec_macros v0.1.1
Downloaded want v0.3.1
Downloaded zerofrom v0.1.6
Downloaded tower-service v0.3.3
Downloaded serde_urlencoded v0.7.1
Downloaded glob v0.3.3
Downloaded errno v0.3.14
Downloaded displaydoc v0.2.5
Downloaded quote v1.0.45
Downloaded futures-core v0.3.32
Downloaded mime_guess v2.0.5
Downloaded ppv-lite86 v0.2.21
Downloaded rand_core v0.9.5
Downloaded untrusted v0.9.0
Downloaded subtle v2.6.1
Downloaded yoke-derive v0.8.1
Downloaded dialoguer v0.11.0
Downloaded ipnet v2.12.0
Downloaded rand_chacha v0.9.0
Downloaded try-lock v0.2.5
Downloaded sync_wrapper v1.0.2
Downloaded lock_api v0.4.14
Downloaded pin-project-lite v0.2.17
Downloaded proc-macro-error2 v2.0.1
Downloaded httparse v1.10.1
Downloaded getrandom v0.2.17
Downloaded console v0.15.11
Downloaded futures-channel v0.3.32
Downloaded iana-time-zone v0.1.65
Downloaded strsim v0.11.1
Downloaded parking_lot v0.12.5
Downloaded clap_derive v4.5.55
Downloaded quinn-udp v0.5.14
Downloaded signal-hook-registry v1.4.8
Downloaded tinystr v0.8.2
Downloaded thiserror v1.0.69
Downloaded zeroize v1.8.2
Downloaded parking_lot_core v0.9.12
Downloaded slab v0.4.12
Downloaded once_cell v1.21.3
Downloaded shlex v1.3.0
Downloaded futures-executor v0.3.32
Downloaded futures v0.3.32
Downloaded icu_properties v2.1.2
Downloaded tokio-macros v2.6.1
Downloaded writeable v0.6.2
Downloaded unicase v2.9.0
Downloaded synstructure v0.13.2
Downloaded icu_provider v2.1.1
Downloaded num-traits v0.2.19
Downloaded colored v3.1.1
Downloaded utf8parse v0.2.2
Downloaded thiserror v2.0.18
Downloaded getrandom v0.3.4
Downloaded papergrid v0.13.0
Downloaded thiserror-impl v1.0.69
Downloaded bytes v1.11.1
Downloaded zmij v1.0.21
Downloaded proc-macro2 v1.0.106
Downloaded yoke v0.8.1
Downloaded icu_normalizer_data v2.1.1
Downloaded icu_locale_core v2.1.1
Downloaded icu_normalizer v2.1.1
Downloaded ryu v1.0.23
Downloaded log v0.4.29
Downloaded getrandom v0.4.2
Downloaded tokio-rustls v0.26.4
Downloaded memchr v2.8.0
Downloaded litemap v0.8.1
Downloaded thiserror-impl v2.0.18
Downloaded hyper-rustls v0.27.7
Downloaded tempfile v3.27.0
Downloaded clap v4.5.60
Downloaded zerovec-derive v0.11.2
Downloaded quinn v0.11.9
Downloaded icu_collections v2.1.1
Downloaded http v1.4.0
Downloaded mio v1.1.1
Downloaded hyper-util v0.1.20
Downloaded rand v0.9.2
Downloaded cc v1.2.56
Downloaded smallvec v1.15.1
Downloaded socket2 v0.6.3
Downloaded idna v1.1.0
Downloaded hyper v1.8.1
Downloaded iri-string v0.7.10
Downloaded serde_derive v1.0.228
Downloaded unicode-ident v1.0.24
Downloaded reqwest v0.12.28
Downloaded clap_builder v4.5.60
Downloaded tinyvec v1.10.0
Downloaded icu_properties_data v2.1.2
Downloaded rustls-webpki v0.103.9
Downloaded futures-util v0.3.32
Downloaded zerotrie v0.2.3
Downloaded quinn-proto v0.11.14
Downloaded chrono v0.4.44
Downloaded tracing-core v0.1.36
Downloaded url v2.5.8
Downloaded tower v0.5.3
Downloaded zerovec v0.11.5
Downloaded tower-http v0.6.8
Downloaded libc v0.2.183
Downloaded serde_json v1.0.149
Downloaded tabled v0.17.0
Downloaded webpki-roots v1.0.6
Downloaded syn v1.0.109
Downloaded unicode-width v0.2.2
Downloaded zerocopy v0.8.42
Downloaded ring v0.17.14
Downloaded syn v2.0.117
Downloaded rustls v0.23.37
Downloaded rustix v1.1.4
Downloaded tracing v0.1.44
Downloaded linux-raw-sys v0.12.1
Downloaded tokio v1.50.0
Checking anvil-cli v0.1.0 (/workspace)
error: redundant closure
--> src/commands/ci.rs:306:62
|
306 | s.get("updated_at").and_then(|v| v.as_str()).map(|t| output::format_time(t)).unwrap_or_default(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `output::format_time`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `-D clippy::redundant-closure` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`
error: redundant closure
--> src/commands/commit.rs:99:22
|
99 | .map(|t| output::format_time(t))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `output::format_time`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
error: redundant closure
--> src/commands/issue.rs:423:76
|
423 | let time = comment.get("inserted_at").and_then(|v| v.as_str()).map(|t| output::format_time(t)).unwrap_or_default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `output::format_time`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
error: redundant closure
--> src/commands/issue.rs:440:57
|
440 | m.get("state").and_then(|v| v.as_str()).map(|s| output::colorize_status(s)).unwrap_or_default(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `output::colorize_status`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
error: redundant closure
--> src/commands/pr.rs:402:57
|
402 | r.get("state").and_then(|v| v.as_str()).map(|s| output::colorize_status(s)).unwrap_or_default(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `output::colorize_status`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
error: redundant closure
--> src/commands/pr.rs:405:63
|
405 | r.get("inserted_at").and_then(|v| v.as_str()).map(|t| output::format_time(t)).unwrap_or_default(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `output::format_time`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
error: redundant closure
--> src/commands/ssh_key.rs:66:26
|
66 | .map(|t| output::format_time(t))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `output::format_time`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
error: redundant closure
--> src/commands/ssh_key.rs:70:26
|
70 | .map(|t| output::format_time(t))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `output::format_time`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
error: could not compile `anvil-cli` (bin "anvil" test) due to 8 previous errors
warning: build failed, waiting for other jobs to finish...
error: could not compile `anvil-cli` (bin "anvil") due to 8 previous errors