[INFO] cloning repository https://github.com/chisel-sh/chisel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chisel-sh/chisel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchisel-sh%2Fchisel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchisel-sh%2Fchisel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cfd2fc53e4d79e5d4c883e27f449addab30f637 [INFO] linting chisel-sh/chisel against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchisel-sh%2Fchisel" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chisel-sh/chisel [INFO] finished tweaking git repo https://github.com/chisel-sh/chisel [INFO] tweaked toml for git repo https://github.com/chisel-sh/chisel written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chisel-sh/chisel on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chisel-sh/chisel already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded redox_syscall v0.7.1 [INFO] [stderr] Downloaded instability v0.3.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae52e961665875215317ea969146b9bdde702b55d68265de7bc3f5d06d24b125 [INFO] running `Command { std: "docker" "start" "-a" "ae52e961665875215317ea969146b9bdde702b55d68265de7bc3f5d06d24b125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae52e961665875215317ea969146b9bdde702b55d68265de7bc3f5d06d24b125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae52e961665875215317ea969146b9bdde702b55d68265de7bc3f5d06d24b125", kill_on_drop: false }` [INFO] [stdout] ae52e961665875215317ea969146b9bdde702b55d68265de7bc3f5d06d24b125 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6560558b11b712cfa50d613f74bed841876b1156b22f1ec724c5b9826bf595e0 [INFO] running `Command { std: "docker" "start" "-a" "6560558b11b712cfa50d613f74bed841876b1156b22f1ec724c5b9826bf595e0", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking webpki-roots v1.0.6 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking clap_builder v4.5.58 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking chisel-fs v0.1.8 (/opt/rustwide/workdir/packages/chisel-fs) [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking clap v4.5.58 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking chisel-render v0.1.8 (/opt/rustwide/workdir/packages/chisel-render) [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking ignore v0.4.25 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking chisel-store v0.1.8 (/opt/rustwide/workdir/packages/chisel-store) [INFO] [stderr] Checking chisel-issues v0.1.8 (/opt/rustwide/workdir/packages/chisel-issues) [INFO] [stderr] Checking chisel-docs v0.1.8 (/opt/rustwide/workdir/packages/chisel-docs) [INFO] [stdout] warning: items after a test module [INFO] [stdout] --> packages/chisel-issues/src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | impl Renderable for IssueList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub struct IssuesService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | impl IssuesService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_test_module [INFO] [stdout] = note: `#[warn(clippy::items_after_test_module)]` on by default [INFO] [stdout] = help: move the items to before the test module was defined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> packages/chisel-docs/src/lib.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | recent.sort_by(|a, b| b.updated_at.cmp(&a.updated_at)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 341 - recent.sort_by(|a, b| b.updated_at.cmp(&a.updated_at)); [INFO] [stdout] 341 + recent.sort_by_key(|b| std::cmp::Reverse(b.updated_at)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chisel v0.1.8 (/opt/rustwide/workdir/packages/cli) [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> packages/chisel-docs/src/lib.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | recent.sort_by(|a, b| b.updated_at.cmp(&a.updated_at)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 341 - recent.sort_by(|a, b| b.updated_at.cmp(&a.updated_at)); [INFO] [stdout] 341 + recent.sort_by_key(|b| std::cmp::Reverse(b.updated_at)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:562:37 [INFO] [stdout] | [INFO] [stdout] 562 | / ... if *selected < options.len() - 1 { [INFO] [stdout] 563 | | ... *selected += 1; [INFO] [stdout] 564 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 561 ~ KeyCode::Char('j') | KeyCode::Down [INFO] [stdout] 562 ~ if *selected < options.len() - 1 => { [INFO] [stdout] 563 | *selected += 1; [INFO] [stdout] 564 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:562:37 [INFO] [stdout] | [INFO] [stdout] 562 | / ... if *selected < options.len() - 1 { [INFO] [stdout] 563 | | ... *selected += 1; [INFO] [stdout] 564 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 561 ~ KeyCode::Char('j') | KeyCode::Down [INFO] [stdout] 562 ~ if *selected < options.len() - 1 => { [INFO] [stdout] 563 | *selected += 1; [INFO] [stdout] 564 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:567:37 [INFO] [stdout] | [INFO] [stdout] 567 | / ... if *selected > 0 { [INFO] [stdout] 568 | | ... *selected -= 1; [INFO] [stdout] 569 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 566 ~ KeyCode::Char('k') | KeyCode::Up [INFO] [stdout] 567 ~ if *selected > 0 => { [INFO] [stdout] 568 | *selected -= 1; [INFO] [stdout] 569 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:567:37 [INFO] [stdout] | [INFO] [stdout] 567 | / ... if *selected > 0 { [INFO] [stdout] 568 | | ... *selected -= 1; [INFO] [stdout] 569 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 566 ~ KeyCode::Char('k') | KeyCode::Up [INFO] [stdout] 567 ~ if *selected > 0 => { [INFO] [stdout] 568 | *selected -= 1; [INFO] [stdout] 569 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:593:17 [INFO] [stdout] | [INFO] [stdout] 593 | / if !input.is_empty() { [INFO] [stdout] 594 | | let _ = self.service.create(&input, None).await?; [INFO] [stdout] 595 | | self.refresh_data().await?; [INFO] [stdout] 596 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 592 ~ PromptKind::NewDocTitle [INFO] [stdout] 593 ~ if !input.is_empty() => { [INFO] [stdout] 594 | let _ = self.service.create(&input, None).await?; [INFO] [stdout] 595 | self.refresh_data().await?; [INFO] [stdout] 596 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:593:17 [INFO] [stdout] | [INFO] [stdout] 593 | / if !input.is_empty() { [INFO] [stdout] 594 | | let _ = self.service.create(&input, None).await?; [INFO] [stdout] 595 | | self.refresh_data().await?; [INFO] [stdout] 596 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 592 ~ PromptKind::NewDocTitle [INFO] [stdout] 593 ~ if !input.is_empty() => { [INFO] [stdout] 594 | let _ = self.service.create(&input, None).await?; [INFO] [stdout] 595 | self.refresh_data().await?; [INFO] [stdout] 596 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:1243:33 [INFO] [stdout] | [INFO] [stdout] 1243 | / ... if self.selected_issue.is_some() { [INFO] [stdout] 1244 | | ... self.prompt = AppPrompt::Select { [INFO] [stdout] 1245 | | ... label: " Select Priority ".to_string(), [INFO] [stdout] 1246 | | ... options: vec![ [INFO] [stdout] ... | [INFO] [stdout] 1254 | | ... }; [INFO] [stdout] 1255 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1242 ~ KeyCode::Char('p') [INFO] [stdout] 1243 ~ if self.selected_issue.is_some() => { [INFO] [stdout] 1244 | self.prompt = AppPrompt::Select { [INFO] [stdout] ... [INFO] [stdout] 1254 | }; [INFO] [stdout] 1255 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:1265:33 [INFO] [stdout] | [INFO] [stdout] 1265 | / ... if self.selected_issue.is_some() { [INFO] [stdout] 1266 | | ... self.prompt = AppPrompt::Select { [INFO] [stdout] 1267 | | ... label: " Select Status ".to_string(), [INFO] [stdout] 1268 | | ... options: vec![ [INFO] [stdout] ... | [INFO] [stdout] 1277 | | ... }; [INFO] [stdout] 1278 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1264 ~ KeyCode::Char('m') [INFO] [stdout] 1265 ~ if self.selected_issue.is_some() => { [INFO] [stdout] 1266 | self.prompt = AppPrompt::Select { [INFO] [stdout] ... [INFO] [stdout] 1277 | }; [INFO] [stdout] 1278 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:1243:33 [INFO] [stdout] | [INFO] [stdout] 1243 | / ... if self.selected_issue.is_some() { [INFO] [stdout] 1244 | | ... self.prompt = AppPrompt::Select { [INFO] [stdout] 1245 | | ... label: " Select Priority ".to_string(), [INFO] [stdout] 1246 | | ... options: vec![ [INFO] [stdout] ... | [INFO] [stdout] 1254 | | ... }; [INFO] [stdout] 1255 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1242 ~ KeyCode::Char('p') [INFO] [stdout] 1243 ~ if self.selected_issue.is_some() => { [INFO] [stdout] 1244 | self.prompt = AppPrompt::Select { [INFO] [stdout] ... [INFO] [stdout] 1254 | }; [INFO] [stdout] 1255 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:1265:33 [INFO] [stdout] | [INFO] [stdout] 1265 | / ... if self.selected_issue.is_some() { [INFO] [stdout] 1266 | | ... self.prompt = AppPrompt::Select { [INFO] [stdout] 1267 | | ... label: " Select Status ".to_string(), [INFO] [stdout] 1268 | | ... options: vec![ [INFO] [stdout] ... | [INFO] [stdout] 1277 | | ... }; [INFO] [stdout] 1278 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1264 ~ KeyCode::Char('m') [INFO] [stdout] 1265 ~ if self.selected_issue.is_some() => { [INFO] [stdout] 1266 | self.prompt = AppPrompt::Select { [INFO] [stdout] ... [INFO] [stdout] 1277 | }; [INFO] [stdout] 1278 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:1326:37 [INFO] [stdout] | [INFO] [stdout] 1326 | / ... if *selected < options.len() - 1 { [INFO] [stdout] 1327 | | ... *selected += 1; [INFO] [stdout] 1328 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1325 ~ KeyCode::Char('j') | KeyCode::Down [INFO] [stdout] 1326 ~ if *selected < options.len() - 1 => { [INFO] [stdout] 1327 | *selected += 1; [INFO] [stdout] 1328 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:1331:37 [INFO] [stdout] | [INFO] [stdout] 1331 | / ... if *selected > 0 { [INFO] [stdout] 1332 | | ... *selected -= 1; [INFO] [stdout] 1333 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1330 ~ KeyCode::Char('k') | KeyCode::Up [INFO] [stdout] 1331 ~ if *selected > 0 => { [INFO] [stdout] 1332 | *selected -= 1; [INFO] [stdout] 1333 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:1326:37 [INFO] [stdout] | [INFO] [stdout] 1326 | / ... if *selected < options.len() - 1 { [INFO] [stdout] 1327 | | ... *selected += 1; [INFO] [stdout] 1328 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1325 ~ KeyCode::Char('j') | KeyCode::Down [INFO] [stdout] 1326 ~ if *selected < options.len() - 1 => { [INFO] [stdout] 1327 | *selected += 1; [INFO] [stdout] 1328 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:1331:37 [INFO] [stdout] | [INFO] [stdout] 1331 | / ... if *selected > 0 { [INFO] [stdout] 1332 | | ... *selected -= 1; [INFO] [stdout] 1333 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1330 ~ KeyCode::Char('k') | KeyCode::Up [INFO] [stdout] 1331 ~ if *selected > 0 => { [INFO] [stdout] 1332 | *selected -= 1; [INFO] [stdout] 1333 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:1357:17 [INFO] [stdout] | [INFO] [stdout] 1357 | / if !input.is_empty() { [INFO] [stdout] 1358 | | self.service [INFO] [stdout] 1359 | | .create( [INFO] [stdout] 1360 | | &input, [INFO] [stdout] ... | [INFO] [stdout] 1367 | | self.update_preview().await; [INFO] [stdout] 1368 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1356 ~ PromptKind::NewIssueTitle [INFO] [stdout] 1357 ~ if !input.is_empty() => { [INFO] [stdout] 1358 | self.service [INFO] [stdout] ... [INFO] [stdout] 1367 | self.update_preview().await; [INFO] [stdout] 1368 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:1392:17 [INFO] [stdout] | [INFO] [stdout] 1392 | / if input.to_lowercase() == "y" { [INFO] [stdout] 1393 | | if let Some(issue) = &self.selected_issue { [INFO] [stdout] 1394 | | self.service.delete(issue.id).await?; [INFO] [stdout] 1395 | | self.refresh_data().await?; [INFO] [stdout] ... | [INFO] [stdout] 1398 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1391 ~ PromptKind::ConfirmDeleteIssue [INFO] [stdout] 1392 ~ if input.to_lowercase() == "y" => { [INFO] [stdout] 1393 | if let Some(issue) = &self.selected_issue { [INFO] [stdout] ... [INFO] [stdout] 1397 | } [INFO] [stdout] 1398 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:1357:17 [INFO] [stdout] | [INFO] [stdout] 1357 | / if !input.is_empty() { [INFO] [stdout] 1358 | | self.service [INFO] [stdout] 1359 | | .create( [INFO] [stdout] 1360 | | &input, [INFO] [stdout] ... | [INFO] [stdout] 1367 | | self.update_preview().await; [INFO] [stdout] 1368 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1356 ~ PromptKind::NewIssueTitle [INFO] [stdout] 1357 ~ if !input.is_empty() => { [INFO] [stdout] 1358 | self.service [INFO] [stdout] ... [INFO] [stdout] 1367 | self.update_preview().await; [INFO] [stdout] 1368 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> packages/cli/src/tui.rs:1392:17 [INFO] [stdout] | [INFO] [stdout] 1392 | / if input.to_lowercase() == "y" { [INFO] [stdout] 1393 | | if let Some(issue) = &self.selected_issue { [INFO] [stdout] 1394 | | self.service.delete(issue.id).await?; [INFO] [stdout] 1395 | | self.refresh_data().await?; [INFO] [stdout] ... | [INFO] [stdout] 1398 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1391 ~ PromptKind::ConfirmDeleteIssue [INFO] [stdout] 1392 ~ if input.to_lowercase() == "y" => { [INFO] [stdout] 1393 | if let Some(issue) = &self.selected_issue { [INFO] [stdout] ... [INFO] [stdout] 1397 | } [INFO] [stdout] 1398 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.16s [INFO] running `Command { std: "docker" "inspect" "6560558b11b712cfa50d613f74bed841876b1156b22f1ec724c5b9826bf595e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6560558b11b712cfa50d613f74bed841876b1156b22f1ec724c5b9826bf595e0", kill_on_drop: false }` [INFO] [stdout] 6560558b11b712cfa50d613f74bed841876b1156b22f1ec724c5b9826bf595e0