[INFO] fetching crate vimterm 0.3.0... [INFO] linting vimterm-0.3.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate vimterm 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate vimterm 0.3.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate vimterm 0.3.0 [INFO] tweaked toml for crates.io crate vimterm 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vimterm 0.3.0 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 crates.io crate vimterm 0.3.0 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial2 v0.2.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3ef6f9554e1074dcdc61d769d479f1f666f21204d41bc03faf632fb8bedf2311 [INFO] running `Command { std: "docker" "start" "-a" "3ef6f9554e1074dcdc61d769d479f1f666f21204d41bc03faf632fb8bedf2311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ef6f9554e1074dcdc61d769d479f1f666f21204d41bc03faf632fb8bedf2311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ef6f9554e1074dcdc61d769d479f1f666f21204d41bc03faf632fb8bedf2311", kill_on_drop: false }` [INFO] [stdout] 3ef6f9554e1074dcdc61d769d479f1f666f21204d41bc03faf632fb8bedf2311 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3a4c888833ad00c03ae5d30cbe6ab79f1805768b8843726f046fca76e312c474 [INFO] running `Command { std: "docker" "start" "-a" "3a4c888833ad00c03ae5d30cbe6ab79f1805768b8843726f046fca76e312c474", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking compact_str v0.9.0 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking time v0.3.46 [INFO] [stderr] Checking flate2 v1.1.8 [INFO] [stderr] Checking pxfm v0.1.27 [INFO] [stderr] Checking line-clipping v0.3.5 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking clap_builder v4.5.54 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Checking toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking serial2 v0.2.33 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking toml v0.9.11+spec-1.1.0 [INFO] [stderr] Checking unicode-truncate v2.0.1 [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking filedescriptor v0.8.3 [INFO] [stderr] Checking portable-pty v0.9.0 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking kasuari v0.4.11 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking ratatui-core v0.1.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking ratatui-widgets v0.3.0 [INFO] [stderr] Checking ratatui-crossterm v0.1.0 [INFO] [stderr] Checking ansi-to-tui v8.0.1 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking ratatui-macros v0.7.0 [INFO] [stderr] Checking ratatui v0.30.0 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking vimterm v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/input.rs:2110:13 [INFO] [stdout] | [INFO] [stdout] 2110 | let state = VisualState { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Top` and `Bottom` are never constructed [INFO] [stdout] --> src/input.rs:1817:9 [INFO] [stdout] | [INFO] [stdout] 1814 | enum TestScrollPosition { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 1817 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] 1818 | Bottom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestScrollPosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/app.rs:2069:13 [INFO] [stdout] | [INFO] [stdout] 2069 | / if let Some(idx) = self.selected { [INFO] [stdout] 2070 | | if let Some(block) = self.history.get_mut(idx) { [INFO] [stdout] 2071 | | block.collapsed = !block.collapsed; [INFO] [stdout] 2072 | | } [INFO] [stdout] 2073 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 2069 ~ if let Some(idx) = self.selected [INFO] [stdout] 2070 ~ && let Some(block) = self.history.get_mut(idx) { [INFO] [stdout] 2071 | block.collapsed = !block.collapsed; [INFO] [stdout] 2072 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/app.rs:2077:13 [INFO] [stdout] | [INFO] [stdout] 2077 | / if let Some(idx) = self.selected { [INFO] [stdout] 2078 | | if let Some(block) = self.history.get_mut(idx) { [INFO] [stdout] 2079 | | block.collapsed = true; [INFO] [stdout] 2080 | | } [INFO] [stdout] 2081 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 2077 ~ if let Some(idx) = self.selected [INFO] [stdout] 2078 ~ && let Some(block) = self.history.get_mut(idx) { [INFO] [stdout] 2079 | block.collapsed = true; [INFO] [stdout] 2080 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/app.rs:2085:13 [INFO] [stdout] | [INFO] [stdout] 2085 | / if let Some(idx) = self.selected { [INFO] [stdout] 2086 | | if let Some(block) = self.history.get_mut(idx) { [INFO] [stdout] 2087 | | block.collapsed = false; [INFO] [stdout] 2088 | | } [INFO] [stdout] 2089 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 2085 ~ if let Some(idx) = self.selected [INFO] [stdout] 2086 ~ && let Some(block) = self.history.get_mut(idx) { [INFO] [stdout] 2087 | block.collapsed = false; [INFO] [stdout] 2088 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/app.rs:2471:17 [INFO] [stdout] | [INFO] [stdout] 2471 | assert!(!pending.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try: `pending.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/app.rs:2492:13 [INFO] [stdout] | [INFO] [stdout] 2492 | / if let Some(ref home) = self.home { [INFO] [stdout] 2493 | | if let Ok(rel) = self.cwd.strip_prefix(home) { [INFO] [stdout] 2494 | | return format!("~/{}", rel.display()); [INFO] [stdout] 2495 | | } [INFO] [stdout] 2496 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 2492 ~ if let Some(ref home) = self.home [INFO] [stdout] 2493 ~ && let Ok(rel) = self.cwd.strip_prefix(home) { [INFO] [stdout] 2494 | return format!("~/{}", rel.display()); [INFO] [stdout] 2495 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/app.rs:2563:17 [INFO] [stdout] | [INFO] [stdout] 2563 | assert!(!pending.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try: `pending.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.26s [INFO] running `Command { std: "docker" "inspect" "3a4c888833ad00c03ae5d30cbe6ab79f1805768b8843726f046fca76e312c474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a4c888833ad00c03ae5d30cbe6ab79f1805768b8843726f046fca76e312c474", kill_on_drop: false }` [INFO] [stdout] 3a4c888833ad00c03ae5d30cbe6ab79f1805768b8843726f046fca76e312c474