[INFO] cloning repository https://github.com/Donuts-procodes/Codonn-windows [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Donuts-procodes/Codonn-windows" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDonuts-procodes%2FCodonn-windows", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDonuts-procodes%2FCodonn-windows'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29d7154fc776dc10cb846e41ef2573649d5425af [INFO] linting Donuts-procodes/Codonn-windows against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDonuts-procodes%2FCodonn-windows" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Donuts-procodes/Codonn-windows [INFO] finished tweaking git repo https://github.com/Donuts-procodes/Codonn-windows [INFO] tweaked toml for git repo https://github.com/Donuts-procodes/Codonn-windows written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Donuts-procodes/Codonn-windows 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/Donuts-procodes/Codonn-windows 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] Downloading crates ... [INFO] [stderr] Downloaded rfd v0.10.0 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.15.10 [INFO] [stderr] Downloaded cc v1.2.46 [INFO] [stderr] Downloaded waker-fn v1.2.0 [INFO] [stderr] Downloaded zbus_names v2.6.1 [INFO] [stderr] Downloaded atomic_refcell v0.1.13 [INFO] [stderr] Downloaded zvariant_derive v3.15.2 [INFO] [stderr] Downloaded cairo-sys-rs v0.15.1 [INFO] [stderr] Downloaded gobject-sys v0.15.10 [INFO] [stderr] Downloaded zbus_macros v3.15.2 [INFO] [stderr] Downloaded accesskit_unix v0.5.2 [INFO] [stderr] Downloaded async-process v1.8.1 [INFO] [stderr] Downloaded event-listener v3.1.0 [INFO] [stderr] Downloaded calloop v0.10.6 [INFO] [stderr] Downloaded zvariant v3.15.2 [INFO] [stderr] Downloaded glutin v0.30.10 [INFO] [stderr] Downloaded gdk-sys v0.15.1 [INFO] [stderr] Downloaded zbus v3.15.2 [INFO] [stderr] Downloaded smithay-client-toolkit v0.16.1 [INFO] [stderr] Downloaded gtk-sys v0.15.3 [INFO] [stderr] Downloaded gio-sys v0.15.10 [INFO] [stderr] Downloaded glib-sys v0.15.10 [INFO] [stderr] Downloaded glutin_egl_sys v0.5.1 [INFO] [stderr] Downloaded atk-sys v0.15.1 [INFO] [stderr] Downloaded pango-sys v0.15.10 [INFO] [stderr] Downloaded rustix v0.37.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c7f5c7a7aef62a27f78e02a7d80f5e0eaf95cc8d808791c2c154964e2e57710c [INFO] running `Command { std: "docker" "start" "-a" "c7f5c7a7aef62a27f78e02a7d80f5e0eaf95cc8d808791c2c154964e2e57710c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7f5c7a7aef62a27f78e02a7d80f5e0eaf95cc8d808791c2c154964e2e57710c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f5c7a7aef62a27f78e02a7d80f5e0eaf95cc8d808791c2c154964e2e57710c", kill_on_drop: false }` [INFO] [stdout] c7f5c7a7aef62a27f78e02a7d80f5e0eaf95cc8d808791c2c154964e2e57710c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 02de6c2793e6e0d4033fcc201661b468ef25116afb7b8d9561a5e65359a0828e [INFO] running `Command { std: "docker" "start" "-a" "02de6c2793e6e0d4033fcc201661b468ef25116afb7b8d9561a5e65359a0828e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling version-compare v0.2.1 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking accesskit v0.11.2 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling cc v1.2.46 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Checking accesskit_consumer v0.15.2 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling atspi-macros v0.2.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.6 [INFO] [stderr] Checking quick-xml v0.38.4 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling rfd v0.10.0 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling glib-sys v0.15.10 [INFO] [stderr] Compiling gobject-sys v0.15.10 [INFO] [stderr] Compiling gio-sys v0.15.10 [INFO] [stderr] Compiling atk-sys v0.15.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Compiling gdk-sys v0.15.1 [INFO] [stderr] Compiling pango-sys v0.15.10 [INFO] [stderr] Compiling cairo-sys-rs v0.15.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.15.10 [INFO] [stderr] Compiling gtk-sys v0.15.3 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking onig v6.5.1 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking emath v0.22.0 [INFO] [stderr] Checking ecolor v0.22.0 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking epaint v0.22.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking egui v0.22.0 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking plist v1.8.0 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking syntect v5.3.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking egui_glow v0.22.0 [INFO] [stderr] Checking atspi v0.10.1 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking smithay-clipboard v0.6.6 [INFO] [stderr] Checking accesskit_unix v0.5.2 [INFO] [stderr] Checking accesskit_winit v0.14.4 [INFO] [stderr] Checking egui-winit v0.22.0 [INFO] [stderr] Checking eframe v0.22.0 [INFO] [stderr] Checking code_editor v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/ui.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | / if ui.button(egui::RichText::new("Execute ▶").size(13.0).color(COLOR_TEXT)).clicked() { [INFO] [stdout] 232 | | if !app.terminal_input.is_empty() { [INFO] [stdout] 233 | | let cmd = app.terminal_input.clone(); [INFO] [stdout] 234 | | terminal::execute_command(app, &cmd); [INFO] [stdout] ... | [INFO] [stdout] 237 | | } [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] 231 ~ if ui.button(egui::RichText::new("Execute ▶").size(13.0).color(COLOR_TEXT)).clicked() [INFO] [stdout] 232 ~ && !app.terminal_input.is_empty() { [INFO] [stdout] 233 | let cmd = app.terminal_input.clone(); [INFO] [stdout] 234 | terminal::execute_command(app, &cmd); [INFO] [stdout] 235 | app.terminal_input.clear(); [INFO] [stdout] 236 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/editor.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | / if len >= text.len() || chars.get(len).map_or(true, |&c| c != ')') { [INFO] [stdout] 57 | | text.push(')'); [INFO] [stdout] 58 | | } [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] 55 ~ '(' [INFO] [stdout] 56 ~ if (len >= text.len() || chars.get(len).map_or(true, |&c| c != ')')) => { [INFO] [stdout] 57 | text.push(')'); [INFO] [stdout] 58 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/editor.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | / if len >= text.len() || chars.get(len).map_or(true, |&c| c != ']') { [INFO] [stdout] 62 | | text.push(']'); [INFO] [stdout] 63 | | } [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] 60 ~ '[' [INFO] [stdout] 61 ~ if (len >= text.len() || chars.get(len).map_or(true, |&c| c != ']')) => { [INFO] [stdout] 62 | text.push(']'); [INFO] [stdout] 63 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/editor.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | / if len >= text.len() || chars.get(len).map_or(true, |&c| c != '}') { [INFO] [stdout] 67 | | text.push('}'); [INFO] [stdout] 68 | | } [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] 65 ~ '{' [INFO] [stdout] 66 ~ if (len >= text.len() || chars.get(len).map_or(true, |&c| c != '}')) => { [INFO] [stdout] 67 | text.push('}'); [INFO] [stdout] 68 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/editor.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | if len >= text.len() || chars.get(len).map_or(true, |&c| c != ')') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] = note: `#[warn(clippy::unnecessary_map_or)]` on by default [INFO] [stdout] help: use `is_none_or` instead [INFO] [stdout] | [INFO] [stdout] 56 - if len >= text.len() || chars.get(len).map_or(true, |&c| c != ')') { [INFO] [stdout] 56 + if len >= text.len() || chars.get(len).is_none_or(|&c| c != ')') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/editor.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | if len >= text.len() || chars.get(len).map_or(true, |&c| c != ']') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use `is_none_or` instead [INFO] [stdout] | [INFO] [stdout] 61 - if len >= text.len() || chars.get(len).map_or(true, |&c| c != ']') { [INFO] [stdout] 61 + if len >= text.len() || chars.get(len).is_none_or(|&c| c != ']') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/editor.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | if len >= text.len() || chars.get(len).map_or(true, |&c| c != '}') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use `is_none_or` instead [INFO] [stdout] | [INFO] [stdout] 66 - if len >= text.len() || chars.get(len).map_or(true, |&c| c != '}') { [INFO] [stdout] 66 + if len >= text.len() || chars.get(len).is_none_or(|&c| c != '}') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/terminal.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | .args(&["build", "--release"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["build", "--release"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/terminal.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | .args(&["/C", &command]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: change this to: `["/C", &command]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/terminal.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | .args(&["-c", &command]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: change this to: `["-c", &command]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/ui.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 231 | / if ui.button(egui::RichText::new("Execute ▶").size(13.0).color(COLOR_TEXT)).clicked() { [INFO] [stdout] 232 | | if !app.terminal_input.is_empty() { [INFO] [stdout] 233 | | let cmd = app.terminal_input.clone(); [INFO] [stdout] 234 | | terminal::execute_command(app, &cmd); [INFO] [stdout] ... | [INFO] [stdout] 237 | | } [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] 231 ~ if ui.button(egui::RichText::new("Execute ▶").size(13.0).color(COLOR_TEXT)).clicked() [INFO] [stdout] 232 ~ && !app.terminal_input.is_empty() { [INFO] [stdout] 233 | let cmd = app.terminal_input.clone(); [INFO] [stdout] 234 | terminal::execute_command(app, &cmd); [INFO] [stdout] 235 | app.terminal_input.clear(); [INFO] [stdout] 236 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/editor.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | / if len >= text.len() || chars.get(len).map_or(true, |&c| c != ')') { [INFO] [stdout] 57 | | text.push(')'); [INFO] [stdout] 58 | | } [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] 55 ~ '(' [INFO] [stdout] 56 ~ if (len >= text.len() || chars.get(len).map_or(true, |&c| c != ')')) => { [INFO] [stdout] 57 | text.push(')'); [INFO] [stdout] 58 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/editor.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | / if len >= text.len() || chars.get(len).map_or(true, |&c| c != ']') { [INFO] [stdout] 62 | | text.push(']'); [INFO] [stdout] 63 | | } [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] 60 ~ '[' [INFO] [stdout] 61 ~ if (len >= text.len() || chars.get(len).map_or(true, |&c| c != ']')) => { [INFO] [stdout] 62 | text.push(']'); [INFO] [stdout] 63 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/editor.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | / if len >= text.len() || chars.get(len).map_or(true, |&c| c != '}') { [INFO] [stdout] 67 | | text.push('}'); [INFO] [stdout] 68 | | } [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] 65 ~ '{' [INFO] [stdout] 66 ~ if (len >= text.len() || chars.get(len).map_or(true, |&c| c != '}')) => { [INFO] [stdout] 67 | text.push('}'); [INFO] [stdout] 68 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/editor.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | if len >= text.len() || chars.get(len).map_or(true, |&c| c != ')') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] = note: `#[warn(clippy::unnecessary_map_or)]` on by default [INFO] [stdout] help: use `is_none_or` instead [INFO] [stdout] | [INFO] [stdout] 56 - if len >= text.len() || chars.get(len).map_or(true, |&c| c != ')') { [INFO] [stdout] 56 + if len >= text.len() || chars.get(len).is_none_or(|&c| c != ')') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/editor.rs:61:37 [INFO] [stdout] | [INFO] [stdout] 61 | if len >= text.len() || chars.get(len).map_or(true, |&c| c != ']') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use `is_none_or` instead [INFO] [stdout] | [INFO] [stdout] 61 - if len >= text.len() || chars.get(len).map_or(true, |&c| c != ']') { [INFO] [stdout] 61 + if len >= text.len() || chars.get(len).is_none_or(|&c| c != ']') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/editor.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | if len >= text.len() || chars.get(len).map_or(true, |&c| c != '}') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use `is_none_or` instead [INFO] [stdout] | [INFO] [stdout] 66 - if len >= text.len() || chars.get(len).map_or(true, |&c| c != '}') { [INFO] [stdout] 66 + if len >= text.len() || chars.get(len).is_none_or(|&c| c != '}') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/terminal.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | .args(&["build", "--release"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `["build", "--release"]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/terminal.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | .args(&["/C", &command]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: change this to: `["/C", &command]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/terminal.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | .args(&["-c", &command]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: change this to: `["-c", &command]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "02de6c2793e6e0d4033fcc201661b468ef25116afb7b8d9561a5e65359a0828e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02de6c2793e6e0d4033fcc201661b468ef25116afb7b8d9561a5e65359a0828e", kill_on_drop: false }` [INFO] [stdout] 02de6c2793e6e0d4033fcc201661b468ef25116afb7b8d9561a5e65359a0828e