[INFO] cloning repository https://github.com/paulsmal/badgateway [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paulsmal/badgateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulsmal%2Fbadgateway", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulsmal%2Fbadgateway'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a5b0bd1105bba509fed66fde901466d05838bbd [INFO] linting paulsmal/badgateway against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulsmal%2Fbadgateway" "/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/paulsmal/badgateway [INFO] finished tweaking git repo https://github.com/paulsmal/badgateway [INFO] tweaked toml for git repo https://github.com/paulsmal/badgateway written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/paulsmal/badgateway 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/paulsmal/badgateway 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 lru v0.16.2 [INFO] [stderr] Downloaded self_cell v1.2.1 [INFO] [stderr] Downloaded zvariant_derive v5.8.0 [INFO] [stderr] Downloaded wayland-protocols-misc v0.3.9 [INFO] [stderr] Downloaded redox_syscall v0.6.0 [INFO] [stderr] Downloaded zvariant v5.8.0 [INFO] [stderr] Downloaded rangemap v1.7.0 [INFO] [stderr] Downloaded zbus_macros v5.12.0 [INFO] [stderr] Downloaded zbus v5.12.0 [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] 5b59a6057afb71e63a86de9cfba5917e2c7842f29458e8a21939684444b5dbf5 [INFO] running `Command { std: "docker" "start" "-a" "5b59a6057afb71e63a86de9cfba5917e2c7842f29458e8a21939684444b5dbf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b59a6057afb71e63a86de9cfba5917e2c7842f29458e8a21939684444b5dbf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b59a6057afb71e63a86de9cfba5917e2c7842f29458e8a21939684444b5dbf5", kill_on_drop: false }` [INFO] [stdout] 5b59a6057afb71e63a86de9cfba5917e2c7842f29458e8a21939684444b5dbf5 [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] 0652da8320e176a6b0d24f24ab76cf4777fa019f62df0e03495e22db3d23af65 [INFO] running `Command { std: "docker" "start" "-a" "0652da8320e176a6b0d24f24ab76cf4777fa019f62df0e03495e22db3d23af65", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking self_cell v1.2.1 [INFO] [stderr] Checking rangemap v1.7.0 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Compiling wgpu-core v27.0.3 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Compiling wgpu v27.0.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling tiny-xlib v0.2.4 [INFO] [stderr] Checking svg_fmt v0.4.5 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking syn v2.0.111 [INFO] [stderr] Checking ctor-lite v0.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking etagere v0.2.15 [INFO] [stderr] Compiling android-build v0.1.3 [INFO] [stderr] Checking lru v0.16.2 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking kurbo v0.10.4 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking pxfm v0.1.27 [INFO] [stderr] Compiling mundy v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking iri-string v0.7.9 [INFO] [stderr] Checking rustls-pki-types v1.13.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking openssl-sys v0.9.111 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking fontdb v0.23.0 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking async-io v2.6.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking openssl v0.10.75 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking async-signal v0.2.13 [INFO] [stderr] Checking async-process v2.5.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking iced_core v0.14.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking calloop v0.14.3 [INFO] [stderr] Checking zerocopy v0.8.31 [INFO] [stderr] Checking font-types v0.10.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking wgpu-types v27.0.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking read-fonts v0.35.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking clipboard_x11 v0.4.3 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking softbuffer v0.4.8 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking native-tls v0.2.14 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking zvariant_utils v3.2.1 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling zvariant_derive v5.8.0 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Compiling zvariant v5.8.0 [INFO] [stderr] Checking naga v27.0.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking iced_futures v0.14.0 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking iced_debug v0.14.0 [INFO] [stderr] Checking iced_runtime v0.14.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking zbus_names v4.2.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking wayland-protocols-misc v0.3.9 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling zbus_macros v5.12.0 [INFO] [stderr] Checking skrifa v0.37.0 [INFO] [stderr] Checking harfrust v0.3.2 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking clipboard_wayland v0.2.2 [INFO] [stderr] Checking window_clipboard v0.5.1 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking zbus v5.12.0 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking swash v0.2.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.26 [INFO] [stderr] Checking cosmic-text v0.15.0 [INFO] [stderr] Checking wgpu-hal v27.0.4 [INFO] [stderr] Checking iced_graphics v0.14.0 [INFO] [stderr] Checking iced_tiny_skia v0.14.0 [INFO] [stderr] Checking iced_program v0.14.0 [INFO] [stderr] Checking iced_winit v0.14.0 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v27.0.0 [INFO] [stderr] Checking cryoglyph v0.1.0 [INFO] [stderr] Checking iced_wgpu v0.14.0 [INFO] [stderr] Checking iced_renderer v0.14.0 [INFO] [stderr] Checking iced_widget v0.14.2 [INFO] [stderr] Checking iced v0.14.0 [INFO] [stderr] Checking badgateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `last_tick` is never read [INFO] [stdout] --> src/main.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 128 | struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 153 | last_tick: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Drag` is never constructed [INFO] [stdout] --> src/main.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 172 | enum Message { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 195 | Drag(f32), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `GET` contains a capitalized acronym [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | GET, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Get` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] = note: `#[warn(clippy::upper_case_acronyms)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `POST` contains a capitalized acronym [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | POST, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Post` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `PUT` contains a capitalized acronym [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | PUT, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Put` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `PATCH` contains a capitalized acronym [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | PATCH, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Patch` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `DELETE` contains a capitalized acronym [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | DELETE, [INFO] [stdout] | ^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Delete` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `HEAD` contains a capitalized acronym [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | HEAD, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Head` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `OPTIONS` contains a capitalized acronym [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | OPTIONS, [INFO] [stdout] | ^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_tick` is never read [INFO] [stdout] --> src/main.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 128 | struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 153 | last_tick: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Drag` is never constructed [INFO] [stdout] --> src/main.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 172 | enum Message { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 195 | Drag(f32), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `GET` contains a capitalized acronym [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | GET, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Get` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] = note: `#[warn(clippy::upper_case_acronyms)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `POST` contains a capitalized acronym [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | POST, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Post` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `PUT` contains a capitalized acronym [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | PUT, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Put` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `PATCH` contains a capitalized acronym [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | PATCH, [INFO] [stdout] | ^^^^^ help: consider making the acronym lowercase, except the initial letter: `Patch` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `DELETE` contains a capitalized acronym [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | DELETE, [INFO] [stdout] | ^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Delete` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `HEAD` contains a capitalized acronym [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | HEAD, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `Head` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `OPTIONS` contains a capitalized acronym [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | OPTIONS, [INFO] [stdout] | ^^^^^^^ help: consider making the acronym lowercase, except the initial letter: `Options` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/main.rs:1143:22 [INFO] [stdout] | [INFO] [stdout] 1143 | text(format!("{}", response.status_text)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `response.status_text.to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/main.rs:1353:1 [INFO] [stdout] | [INFO] [stdout] 1353 | / async fn send_request( [INFO] [stdout] 1354 | | url: String, [INFO] [stdout] 1355 | | method: Method, [INFO] [stdout] 1356 | | body: String, [INFO] [stdout] ... | [INFO] [stdout] 1361 | | auth_password: String, [INFO] [stdout] 1362 | | ) -> Result { [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/main.rs:1462:21 [INFO] [stdout] | [INFO] [stdout] 1462 | / if c == '\\' { [INFO] [stdout] 1463 | | if let Some(escaped) = chars.next() { [INFO] [stdout] 1464 | | string_content.push(escaped); [INFO] [stdout] 1465 | | } [INFO] [stdout] 1466 | | } [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] 1462 ~ if c == '\\' [INFO] [stdout] 1463 ~ && let Some(escaped) = chars.next() { [INFO] [stdout] 1464 | string_content.push(escaped); [INFO] [stdout] 1465 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/main.rs:1561:5 [INFO] [stdout] | [INFO] [stdout] 1561 | / if let Some(path) = history_path() { [INFO] [stdout] 1562 | | if let Ok(data) = std::fs::read_to_string(&path) { [INFO] [stdout] 1563 | | if let Ok(history) = serde_json::from_str(&data) { [INFO] [stdout] 1564 | | return history; [INFO] [stdout] ... | [INFO] [stdout] 1567 | | } [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] 1561 ~ if let Some(path) = history_path() [INFO] [stdout] 1562 ~ && let Ok(data) = std::fs::read_to_string(&path) { [INFO] [stdout] 1563 | if let Ok(history) = serde_json::from_str(&data) { [INFO] [stdout] 1564 | return history; [INFO] [stdout] 1565 | } [INFO] [stdout] 1566 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/main.rs:1562:9 [INFO] [stdout] | [INFO] [stdout] 1562 | / if let Ok(data) = std::fs::read_to_string(&path) { [INFO] [stdout] 1563 | | if let Ok(history) = serde_json::from_str(&data) { [INFO] [stdout] 1564 | | return history; [INFO] [stdout] 1565 | | } [INFO] [stdout] 1566 | | } [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] 1562 ~ if let Ok(data) = std::fs::read_to_string(&path) [INFO] [stdout] 1563 ~ && let Ok(history) = serde_json::from_str(&data) { [INFO] [stdout] 1564 | return history; [INFO] [stdout] 1565 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/main.rs:1639:17 [INFO] [stdout] | [INFO] [stdout] 1639 | / if i + 1 < tokens.len() { [INFO] [stdout] 1640 | | method = match tokens[i + 1].to_uppercase().as_str() { [INFO] [stdout] 1641 | | "GET" => Method::GET, [INFO] [stdout] 1642 | | "POST" => Method::POST, [INFO] [stdout] ... | [INFO] [stdout] 1650 | | i += 1; [INFO] [stdout] 1651 | | } [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] 1638 ~ "-X" | "--request" [INFO] [stdout] 1639 ~ if i + 1 < tokens.len() => { [INFO] [stdout] 1640 | method = match tokens[i + 1].to_uppercase().as_str() { [INFO] [stdout] ... [INFO] [stdout] 1650 | i += 1; [INFO] [stdout] 1651 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/main.rs:1654:17 [INFO] [stdout] | [INFO] [stdout] 1654 | / if i + 1 < tokens.len() { [INFO] [stdout] 1655 | | let header = &tokens[i + 1]; [INFO] [stdout] 1656 | | // Check for Authorization header [INFO] [stdout] 1657 | | if header.to_lowercase().starts_with("authorization:") { [INFO] [stdout] ... | [INFO] [stdout] 1689 | | i += 1; [INFO] [stdout] 1690 | | } [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] 1653 ~ "-H" | "--header" [INFO] [stdout] 1654 ~ if i + 1 < tokens.len() => { [INFO] [stdout] 1655 | let header = &tokens[i + 1]; [INFO] [stdout] ... [INFO] [stdout] 1689 | i += 1; [INFO] [stdout] 1690 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/main.rs:1693:17 [INFO] [stdout] | [INFO] [stdout] 1693 | / if i + 1 < tokens.len() { [INFO] [stdout] 1694 | | body = tokens[i + 1].clone(); [INFO] [stdout] 1695 | | if method == Method::GET { [INFO] [stdout] 1696 | | method = Method::POST; [INFO] [stdout] 1697 | | } [INFO] [stdout] 1698 | | i += 1; [INFO] [stdout] 1699 | | } [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] 1692 ~ "-d" | "--data" | "--data-raw" | "--data-binary" [INFO] [stdout] 1693 ~ if i + 1 < tokens.len() => { [INFO] [stdout] 1694 | body = tokens[i + 1].clone(); [INFO] [stdout] ... [INFO] [stdout] 1698 | i += 1; [INFO] [stdout] 1699 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/main.rs:1702:17 [INFO] [stdout] | [INFO] [stdout] 1702 | / if i + 1 < tokens.len() { [INFO] [stdout] 1703 | | let creds = &tokens[i + 1]; [INFO] [stdout] 1704 | | if let Some((user, pass)) = creds.split_once(':') { [INFO] [stdout] 1705 | | auth = Some(( [INFO] [stdout] ... | [INFO] [stdout] 1712 | | i += 1; [INFO] [stdout] 1713 | | } [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] 1701 ~ "-u" | "--user" [INFO] [stdout] 1702 ~ if i + 1 < tokens.len() => { [INFO] [stdout] 1703 | let creds = &tokens[i + 1]; [INFO] [stdout] ... [INFO] [stdout] 1712 | i += 1; [INFO] [stdout] 1713 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `split_once` [INFO] [stdout] --> src/main.rs:1658:37 [INFO] [stdout] | [INFO] [stdout] 1658 | let value = header.splitn(2, ':').nth(1).unwrap_or("").trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `header.split_once(':').map(|x| x.1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_split_once [INFO] [stdout] = note: `#[warn(clippy::manual_split_once)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/main.rs:1668:29 [INFO] [stdout] | [INFO] [stdout] 1668 | / ... if let Ok(decoded) = base64::Engine::decode( [INFO] [stdout] 1669 | | ... &base64::engine::general_purpose::STANDARD, [INFO] [stdout] 1670 | | ... value[6..].trim(), [INFO] [stdout] 1671 | | ... ) { [INFO] [stdout] ... | [INFO] [stdout] 1682 | | ... } [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] 1671 ~ ) [INFO] [stdout] 1672 ~ && let Ok(creds) = String::from_utf8(decoded) { [INFO] [stdout] 1673 | if let Some((user, pass)) = creds.split_once(':') { [INFO] [stdout] ... [INFO] [stdout] 1680 | } [INFO] [stdout] 1681 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/main.rs:1672:33 [INFO] [stdout] | [INFO] [stdout] 1672 | / ... if let Ok(creds) = String::from_utf8(decoded) { [INFO] [stdout] 1673 | | ... if let Some((user, pass)) = creds.split_once(':') { [INFO] [stdout] 1674 | | ... auth = Some(( [INFO] [stdout] 1675 | | ... AuthType::Basic, [INFO] [stdout] ... | [INFO] [stdout] 1681 | | ... } [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] 1672 ~ if let Ok(creds) = String::from_utf8(decoded) [INFO] [stdout] 1673 ~ && let Some((user, pass)) = creds.split_once(':') { [INFO] [stdout] 1674 | auth = Some(( [INFO] [stdout] ... [INFO] [stdout] 1679 | )); [INFO] [stdout] 1680 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | fn view(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 408 | fn view(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:545:27 [INFO] [stdout] | [INFO] [stdout] 545 | fn view_resize_handle(&self, target: DragTarget) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 545 | fn view_resize_handle(&self, target: DragTarget) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:563:24 [INFO] [stdout] | [INFO] [stdout] 563 | fn view_status_bar(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 563 | fn view_status_bar(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:623:21 [INFO] [stdout] | [INFO] [stdout] 623 | fn view_sidebar(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 623 | fn view_sidebar(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:705:21 [INFO] [stdout] | [INFO] [stdout] 705 | fn view_url_bar(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 705 | fn view_url_bar(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:800:27 [INFO] [stdout] | [INFO] [stdout] 800 | fn view_request_panel(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 800 | fn view_request_panel(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:942:24 [INFO] [stdout] | [INFO] [stdout] 942 | fn view_auth_panel(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 942 | fn view_auth_panel(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:1072:28 [INFO] [stdout] | [INFO] [stdout] 1072 | fn view_response_panel(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1072 | fn view_response_panel(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:1256:28 [INFO] [stdout] | [INFO] [stdout] 1256 | fn view_timing_details(&self, response: &Response) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1256 | fn view_timing_details(&self, response: &Response) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/main.rs:1143:22 [INFO] [stdout] | [INFO] [stdout] 1143 | text(format!("{}", response.status_text)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `response.status_text.to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/main.rs:1353:1 [INFO] [stdout] | [INFO] [stdout] 1353 | / async fn send_request( [INFO] [stdout] 1354 | | url: String, [INFO] [stdout] 1355 | | method: Method, [INFO] [stdout] 1356 | | body: String, [INFO] [stdout] ... | [INFO] [stdout] 1361 | | auth_password: String, [INFO] [stdout] 1362 | | ) -> Result { [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/main.rs:1462:21 [INFO] [stdout] | [INFO] [stdout] 1462 | / if c == '\\' { [INFO] [stdout] 1463 | | if let Some(escaped) = chars.next() { [INFO] [stdout] 1464 | | string_content.push(escaped); [INFO] [stdout] 1465 | | } [INFO] [stdout] 1466 | | } [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] 1462 ~ if c == '\\' [INFO] [stdout] 1463 ~ && let Some(escaped) = chars.next() { [INFO] [stdout] 1464 | string_content.push(escaped); [INFO] [stdout] 1465 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/main.rs:1561:5 [INFO] [stdout] | [INFO] [stdout] 1561 | / if let Some(path) = history_path() { [INFO] [stdout] 1562 | | if let Ok(data) = std::fs::read_to_string(&path) { [INFO] [stdout] 1563 | | if let Ok(history) = serde_json::from_str(&data) { [INFO] [stdout] 1564 | | return history; [INFO] [stdout] ... | [INFO] [stdout] 1567 | | } [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] 1561 ~ if let Some(path) = history_path() [INFO] [stdout] 1562 ~ && let Ok(data) = std::fs::read_to_string(&path) { [INFO] [stdout] 1563 | if let Ok(history) = serde_json::from_str(&data) { [INFO] [stdout] 1564 | return history; [INFO] [stdout] 1565 | } [INFO] [stdout] 1566 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/main.rs:1562:9 [INFO] [stdout] | [INFO] [stdout] 1562 | / if let Ok(data) = std::fs::read_to_string(&path) { [INFO] [stdout] 1563 | | if let Ok(history) = serde_json::from_str(&data) { [INFO] [stdout] 1564 | | return history; [INFO] [stdout] 1565 | | } [INFO] [stdout] 1566 | | } [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] 1562 ~ if let Ok(data) = std::fs::read_to_string(&path) [INFO] [stdout] 1563 ~ && let Ok(history) = serde_json::from_str(&data) { [INFO] [stdout] 1564 | return history; [INFO] [stdout] 1565 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/main.rs:1639:17 [INFO] [stdout] | [INFO] [stdout] 1639 | / if i + 1 < tokens.len() { [INFO] [stdout] 1640 | | method = match tokens[i + 1].to_uppercase().as_str() { [INFO] [stdout] 1641 | | "GET" => Method::GET, [INFO] [stdout] 1642 | | "POST" => Method::POST, [INFO] [stdout] ... | [INFO] [stdout] 1650 | | i += 1; [INFO] [stdout] 1651 | | } [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] 1638 ~ "-X" | "--request" [INFO] [stdout] 1639 ~ if i + 1 < tokens.len() => { [INFO] [stdout] 1640 | method = match tokens[i + 1].to_uppercase().as_str() { [INFO] [stdout] ... [INFO] [stdout] 1650 | i += 1; [INFO] [stdout] 1651 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/main.rs:1654:17 [INFO] [stdout] | [INFO] [stdout] 1654 | / if i + 1 < tokens.len() { [INFO] [stdout] 1655 | | let header = &tokens[i + 1]; [INFO] [stdout] 1656 | | // Check for Authorization header [INFO] [stdout] 1657 | | if header.to_lowercase().starts_with("authorization:") { [INFO] [stdout] ... | [INFO] [stdout] 1689 | | i += 1; [INFO] [stdout] 1690 | | } [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] 1653 ~ "-H" | "--header" [INFO] [stdout] 1654 ~ if i + 1 < tokens.len() => { [INFO] [stdout] 1655 | let header = &tokens[i + 1]; [INFO] [stdout] ... [INFO] [stdout] 1689 | i += 1; [INFO] [stdout] 1690 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/main.rs:1693:17 [INFO] [stdout] | [INFO] [stdout] 1693 | / if i + 1 < tokens.len() { [INFO] [stdout] 1694 | | body = tokens[i + 1].clone(); [INFO] [stdout] 1695 | | if method == Method::GET { [INFO] [stdout] 1696 | | method = Method::POST; [INFO] [stdout] 1697 | | } [INFO] [stdout] 1698 | | i += 1; [INFO] [stdout] 1699 | | } [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] 1692 ~ "-d" | "--data" | "--data-raw" | "--data-binary" [INFO] [stdout] 1693 ~ if i + 1 < tokens.len() => { [INFO] [stdout] 1694 | body = tokens[i + 1].clone(); [INFO] [stdout] ... [INFO] [stdout] 1698 | i += 1; [INFO] [stdout] 1699 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/main.rs:1702:17 [INFO] [stdout] | [INFO] [stdout] 1702 | / if i + 1 < tokens.len() { [INFO] [stdout] 1703 | | let creds = &tokens[i + 1]; [INFO] [stdout] 1704 | | if let Some((user, pass)) = creds.split_once(':') { [INFO] [stdout] 1705 | | auth = Some(( [INFO] [stdout] ... | [INFO] [stdout] 1712 | | i += 1; [INFO] [stdout] 1713 | | } [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] 1701 ~ "-u" | "--user" [INFO] [stdout] 1702 ~ if i + 1 < tokens.len() => { [INFO] [stdout] 1703 | let creds = &tokens[i + 1]; [INFO] [stdout] ... [INFO] [stdout] 1712 | i += 1; [INFO] [stdout] 1713 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `split_once` [INFO] [stdout] --> src/main.rs:1658:37 [INFO] [stdout] | [INFO] [stdout] 1658 | let value = header.splitn(2, ':').nth(1).unwrap_or("").trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `header.split_once(':').map(|x| x.1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_split_once [INFO] [stdout] = note: `#[warn(clippy::manual_split_once)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/main.rs:1668:29 [INFO] [stdout] | [INFO] [stdout] 1668 | / ... if let Ok(decoded) = base64::Engine::decode( [INFO] [stdout] 1669 | | ... &base64::engine::general_purpose::STANDARD, [INFO] [stdout] 1670 | | ... value[6..].trim(), [INFO] [stdout] 1671 | | ... ) { [INFO] [stdout] ... | [INFO] [stdout] 1682 | | ... } [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] 1671 ~ ) [INFO] [stdout] 1672 ~ && let Ok(creds) = String::from_utf8(decoded) { [INFO] [stdout] 1673 | if let Some((user, pass)) = creds.split_once(':') { [INFO] [stdout] ... [INFO] [stdout] 1680 | } [INFO] [stdout] 1681 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/main.rs:1672:33 [INFO] [stdout] | [INFO] [stdout] 1672 | / ... if let Ok(creds) = String::from_utf8(decoded) { [INFO] [stdout] 1673 | | ... if let Some((user, pass)) = creds.split_once(':') { [INFO] [stdout] 1674 | | ... auth = Some(( [INFO] [stdout] 1675 | | ... AuthType::Basic, [INFO] [stdout] ... | [INFO] [stdout] 1681 | | ... } [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] 1672 ~ if let Ok(creds) = String::from_utf8(decoded) [INFO] [stdout] 1673 ~ && let Some((user, pass)) = creds.split_once(':') { [INFO] [stdout] 1674 | auth = Some(( [INFO] [stdout] ... [INFO] [stdout] 1679 | )); [INFO] [stdout] 1680 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | fn view(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 408 | fn view(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:545:27 [INFO] [stdout] | [INFO] [stdout] 545 | fn view_resize_handle(&self, target: DragTarget) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 545 | fn view_resize_handle(&self, target: DragTarget) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:563:24 [INFO] [stdout] | [INFO] [stdout] 563 | fn view_status_bar(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 563 | fn view_status_bar(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:623:21 [INFO] [stdout] | [INFO] [stdout] 623 | fn view_sidebar(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 623 | fn view_sidebar(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:705:21 [INFO] [stdout] | [INFO] [stdout] 705 | fn view_url_bar(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 705 | fn view_url_bar(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:800:27 [INFO] [stdout] | [INFO] [stdout] 800 | fn view_request_panel(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 800 | fn view_request_panel(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:942:24 [INFO] [stdout] | [INFO] [stdout] 942 | fn view_auth_panel(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 942 | fn view_auth_panel(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:1072:28 [INFO] [stdout] | [INFO] [stdout] 1072 | fn view_response_panel(&self) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1072 | fn view_response_panel(&self) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:1256:28 [INFO] [stdout] | [INFO] [stdout] 1256 | fn view_timing_details(&self, response: &Response) -> Element { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1256 | fn view_timing_details(&self, response: &Response) -> Element<'_, Message> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "0652da8320e176a6b0d24f24ab76cf4777fa019f62df0e03495e22db3d23af65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0652da8320e176a6b0d24f24ab76cf4777fa019f62df0e03495e22db3d23af65", kill_on_drop: false }` [INFO] [stdout] 0652da8320e176a6b0d24f24ab76cf4777fa019f62df0e03495e22db3d23af65