[INFO] cloning repository https://github.com/greasycat/pactrack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/greasycat/pactrack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgreasycat%2Fpactrack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgreasycat%2Fpactrack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d5891e4e71f6befe15dcc426b49e5e744b99633 [INFO] linting greasycat/pactrack against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgreasycat%2Fpactrack" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/greasycat/pactrack [INFO] finished tweaking git repo https://github.com/greasycat/pactrack [INFO] tweaked toml for git repo https://github.com/greasycat/pactrack written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/greasycat/pactrack 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/greasycat/pactrack 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 piper v0.2.5 [INFO] [stderr] Downloaded jiff-static v0.2.21 [INFO] [stderr] Downloaded jiff v0.2.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f7e47896b451ce192b105fc80af51214923baa101744169e98ab750dcef8bc42 [INFO] running `Command { std: "docker" "start" "-a" "f7e47896b451ce192b105fc80af51214923baa101744169e98ab750dcef8bc42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7e47896b451ce192b105fc80af51214923baa101744169e98ab750dcef8bc42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e47896b451ce192b105fc80af51214923baa101744169e98ab750dcef8bc42", kill_on_drop: false }` [INFO] [stdout] f7e47896b451ce192b105fc80af51214923baa101744169e98ab750dcef8bc42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b9d053576e9d9ac6524d7c7d405ef969a132905a21d6358b77f4ccdf807895cc [INFO] running `Command { std: "docker" "start" "-a" "b9d053576e9d9ac6524d7c7d405ef969a132905a21d6358b77f4ccdf807895cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking unicode-ident v1.0.24 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Checking piper v0.2.5 [INFO] [stderr] Checking uuid v1.21.0 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling gtk v0.18.2 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking env_filter v1.0.0 [INFO] [stderr] Checking jiff v0.2.21 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking shell-words v1.1.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking async-executor v1.14.0 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Checking env_logger v0.11.9 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking tempfile v3.26.0 [INFO] [stderr] Checking async-io v2.6.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking async-signal v0.2.13 [INFO] [stderr] Checking async-process v2.5.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking clap v4.5.60 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking zvariant_utils v3.3.0 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling zvariant_derive v5.10.0 [INFO] [stderr] Compiling zvariant v5.10.0 [INFO] [stderr] Checking toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling gtk3-macros v0.18.2 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Compiling zbus_names v4.3.1 [INFO] [stderr] Compiling zbus_macros v5.14.0 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking zbus v5.14.0 [INFO] [stderr] Checking gio v0.18.4 [INFO] [stderr] Checking cairo-rs v0.18.5 [INFO] [stderr] Checking atk v0.18.2 [INFO] [stderr] Checking notify-rust v4.12.0 [INFO] [stderr] Checking pango v0.18.3 [INFO] [stderr] Checking gdk-pixbuf v0.18.5 [INFO] [stderr] Checking gdk v0.18.2 [INFO] [stderr] Checking pactrack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/commands.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | !trimmed.is_empty() && !(trimmed.contains('[') && trimmed.contains(']')) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `!(trimmed.is_empty() || trimmed.contains('[') && trimmed.contains(']'))` [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 boolean expression can be simplified [INFO] [stdout] --> src/commands.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | !trimmed.is_empty() && !(trimmed.contains('[') && trimmed.contains(']')) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `!(trimmed.is_empty() || trimmed.contains('[') && trimmed.contains(']'))` [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 `impl` can be derived [INFO] [stdout] --> src/config.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / impl Default for AurHelperMode { [INFO] [stdout] 17 | | fn default() -> Self { [INFO] [stdout] 18 | | Self::Auto [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Default)] [INFO] [stdout] 10 | pub enum AurHelperMode { [INFO] [stdout] 11 ~ #[default] [INFO] [stdout] 12 ~ Auto, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/config.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / impl Default for AurHelperMode { [INFO] [stdout] 17 | | fn default() -> Self { [INFO] [stdout] 18 | | Self::Auto [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Default)] [INFO] [stdout] 10 | pub enum AurHelperMode { [INFO] [stdout] 11 ~ #[default] [INFO] [stdout] 12 ~ Auto, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/tray.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | / if notify_enabled { [INFO] [stdout] 194 | | if update.state.status != Status::Checking { [INFO] [stdout] 195 | | if let Some(prev) = rt.previous_total_count { [INFO] [stdout] 196 | | if prev != update.state.total_count { [INFO] [stdout] ... | [INFO] [stdout] 202 | | } [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] 193 ~ if notify_enabled [INFO] [stdout] 194 ~ && update.state.status != Status::Checking { [INFO] [stdout] 195 | if let Some(prev) = rt.previous_total_count { [INFO] [stdout] ... [INFO] [stdout] 200 | rt.previous_total_count = Some(update.state.total_count); [INFO] [stdout] 201 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/tray.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | / if let Some(prev) = rt.previous_total_count { [INFO] [stdout] 196 | | if prev != update.state.total_count { [INFO] [stdout] 197 | | notifier::notify_count_change(prev, update.state.total_count); [INFO] [stdout] 198 | | } [INFO] [stdout] 199 | | } [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] 195 ~ if let Some(prev) = rt.previous_total_count [INFO] [stdout] 196 ~ && prev != update.state.total_count { [INFO] [stdout] 197 | notifier::notify_count_change(prev, update.state.total_count); [INFO] [stdout] 198 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/tray.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | / if let Some(path) = path.to_str() { [INFO] [stdout] 337 | | if let Ok(path) = CString::new(path) { [INFO] [stdout] 338 | | unsafe { [INFO] [stdout] 339 | | (self.api.set_icon_theme_path)(self.raw, path.as_ptr()); [INFO] [stdout] ... | [INFO] [stdout] 342 | | } [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] 336 ~ if let Some(path) = path.to_str() [INFO] [stdout] 337 ~ && let Ok(path) = CString::new(path) { [INFO] [stdout] 338 | unsafe { [INFO] [stdout] 339 | (self.api.set_icon_theme_path)(self.raw, path.as_ptr()); [INFO] [stdout] 340 | } [INFO] [stdout] 341 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/tray.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | / if notify_enabled { [INFO] [stdout] 194 | | if update.state.status != Status::Checking { [INFO] [stdout] 195 | | if let Some(prev) = rt.previous_total_count { [INFO] [stdout] 196 | | if prev != update.state.total_count { [INFO] [stdout] ... | [INFO] [stdout] 202 | | } [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] 193 ~ if notify_enabled [INFO] [stdout] 194 ~ && update.state.status != Status::Checking { [INFO] [stdout] 195 | if let Some(prev) = rt.previous_total_count { [INFO] [stdout] ... [INFO] [stdout] 200 | rt.previous_total_count = Some(update.state.total_count); [INFO] [stdout] 201 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/tray.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | / if let Some(prev) = rt.previous_total_count { [INFO] [stdout] 196 | | if prev != update.state.total_count { [INFO] [stdout] 197 | | notifier::notify_count_change(prev, update.state.total_count); [INFO] [stdout] 198 | | } [INFO] [stdout] 199 | | } [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] 195 ~ if let Some(prev) = rt.previous_total_count [INFO] [stdout] 196 ~ && prev != update.state.total_count { [INFO] [stdout] 197 | notifier::notify_count_change(prev, update.state.total_count); [INFO] [stdout] 198 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/tray.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | / if let Some(path) = path.to_str() { [INFO] [stdout] 337 | | if let Ok(path) = CString::new(path) { [INFO] [stdout] 338 | | unsafe { [INFO] [stdout] 339 | | (self.api.set_icon_theme_path)(self.raw, path.as_ptr()); [INFO] [stdout] ... | [INFO] [stdout] 342 | | } [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] 336 ~ if let Some(path) = path.to_str() [INFO] [stdout] 337 ~ && let Ok(path) = CString::new(path) { [INFO] [stdout] 338 | unsafe { [INFO] [stdout] 339 | (self.api.set_icon_theme_path)(self.raw, path.as_ptr()); [INFO] [stdout] 340 | } [INFO] [stdout] 341 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "b9d053576e9d9ac6524d7c7d405ef969a132905a21d6358b77f4ccdf807895cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9d053576e9d9ac6524d7c7d405ef969a132905a21d6358b77f4ccdf807895cc", kill_on_drop: false }` [INFO] [stdout] b9d053576e9d9ac6524d7c7d405ef969a132905a21d6358b77f4ccdf807895cc