[INFO] cloning repository https://github.com/Tandolf/twitch-chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tandolf/twitch-chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTandolf%2Ftwitch-chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTandolf%2Ftwitch-chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82fb0fcd5860a01c3889f349e70e9732c27b1bdf [INFO] linting Tandolf/twitch-chat against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTandolf%2Ftwitch-chat" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Tandolf/twitch-chat [INFO] finished tweaking git repo https://github.com/Tandolf/twitch-chat [INFO] tweaked toml for git repo https://github.com/Tandolf/twitch-chat written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Tandolf/twitch-chat 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/Tandolf/twitch-chat 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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tungstenite v0.17.2 [INFO] [stderr] Downloaded unicode-width v0.1.9 [INFO] [stderr] Downloaded matches v0.1.9 [INFO] [stderr] Downloaded form_urlencoded v1.0.1 [INFO] [stderr] Downloaded unicode-bidi v0.3.7 [INFO] [stderr] Downloaded unicode-xid v0.2.2 [INFO] [stderr] Downloaded signal-hook-mio v0.2.1 [INFO] [stderr] Downloaded cpufeatures v0.2.1 [INFO] [stderr] Downloaded smawk v0.3.1 [INFO] [stderr] Downloaded block-buffer v0.10.2 [INFO] [stderr] Downloaded crossbeam v0.8.1 [INFO] [stderr] Downloaded crossbeam-deque v0.8.1 [INFO] [stderr] Downloaded crossbeam-queue v0.3.4 [INFO] [stderr] Downloaded lock_api v0.4.6 [INFO] [stderr] Downloaded time v0.1.43 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.7 [INFO] [stderr] Downloaded signal-hook v0.3.13 [INFO] [stderr] Downloaded crossbeam-channel v0.5.2 [INFO] [stderr] Downloaded mio v0.7.14 [INFO] [stderr] Downloaded nom v7.1.0 [INFO] [stderr] Downloaded ntapi v0.3.6 [INFO] [stderr] Downloaded pure-rust-locales v0.5.6 [INFO] [stderr] Downloaded chrono v0.4.19 [INFO] [stderr] Downloaded crossterm v0.23.0 [INFO] [stderr] Downloaded http v0.2.6 [INFO] [stderr] Downloaded memchr v2.4.1 [INFO] [stderr] Downloaded syn v1.0.86 [INFO] [stderr] Downloaded unicode-linebreak v0.1.2 [INFO] [stderr] Downloaded idna v0.2.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.30 [INFO] [stderr] Downloaded unicode-normalization v0.1.19 [INFO] [stderr] Downloaded bytes v1.1.0 [INFO] [stderr] Downloaded thiserror v1.0.30 [INFO] [stderr] Downloaded crossbeam-utils v0.8.7 [INFO] [stderr] Downloaded digest v0.10.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.36 [INFO] [stderr] Downloaded tinyvec v1.5.1 [INFO] [stderr] Downloaded url v2.2.2 [INFO] [stderr] Downloaded redox_syscall v0.2.10 [INFO] [stderr] Downloaded smallvec v1.8.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.1 [INFO] [stderr] Downloaded parking_lot v0.12.0 [INFO] [stderr] Downloaded miow v0.3.7 [INFO] [stderr] Downloaded libc v0.2.112 [INFO] [stderr] Downloaded quote v1.0.15 [INFO] [stderr] Downloaded httparse v1.5.1 [INFO] [stderr] Downloaded generic-array v0.14.5 [INFO] [stderr] Downloaded crossterm_winapi v0.9.0 [INFO] [stderr] Downloaded crypto-common v0.1.3 [INFO] [stderr] Downloaded sha-1 v0.10.0 [INFO] [stderr] Downloaded windows-sys v0.32.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] fb6f14d7730585a9135b9b3d5f5474a59a76516ca13920fe1712c21d39eeb5bb [INFO] running `Command { std: "docker" "start" "-a" "fb6f14d7730585a9135b9b3d5f5474a59a76516ca13920fe1712c21d39eeb5bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb6f14d7730585a9135b9b3d5f5474a59a76516ca13920fe1712c21d39eeb5bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb6f14d7730585a9135b9b3d5f5474a59a76516ca13920fe1712c21d39eeb5bb", kill_on_drop: false }` [INFO] [stdout] fb6f14d7730585a9135b9b3d5f5474a59a76516ca13920fe1712c21d39eeb5bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 65901f90976f2292d1b21b625d50d11bc4440975435b8220b868f3a4811902c6 [INFO] running `Command { std: "docker" "start" "-a" "65901f90976f2292d1b21b625d50d11bc4440975435b8220b868f3a4811902c6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking pure-rust-locales v0.5.6 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking smawk v0.3.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking crossterm v0.23.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Compiling unicode-linebreak v0.1.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tungstenite v0.17.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking twitch-chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: empty line after outer attribute [INFO] [stdout] --> src/string_padder.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[allow(dead_code)] [INFO] [stdout] 2 | | [INFO] [stdout] | |_^ [INFO] [stdout] 3 | pub struct StringPadder { [INFO] [stdout] | ----------------------- the attribute applies to this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_outer_attr)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the attribute should apply to the parent module use an inner attribute [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(dead_code)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after outer attribute [INFO] [stdout] --> src/string_padder.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[allow(dead_code)] [INFO] [stdout] 2 | | [INFO] [stdout] | |_^ [INFO] [stdout] 3 | pub struct StringPadder { [INFO] [stdout] | ----------------------- the attribute applies to this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_outer_attr)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the attribute should apply to the parent module use an inner attribute [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(dead_code)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/parser/chat_message.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | / char_item != '_' [INFO] [stdout] 30 | | && char_item != '!' [INFO] [stdout] 31 | | && char_item != '@' [INFO] [stdout] 32 | | && char_item != '.' [INFO] [stdout] 33 | | && char_item != '.' [INFO] [stdout] 34 | | && char_item != '_' [INFO] [stdout] 35 | | && !char_item.is_alphanum() [INFO] [stdout] | |___________________________________________^ [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] help: try [INFO] [stdout] | [INFO] [stdout] 29 - char_item != '_' [INFO] [stdout] 30 - && char_item != '!' [INFO] [stdout] 31 - && char_item != '@' [INFO] [stdout] 32 - && char_item != '.' [INFO] [stdout] 33 - && char_item != '.' [INFO] [stdout] 34 - && char_item != '_' [INFO] [stdout] 35 - && !char_item.is_alphanum() [INFO] [stdout] 29 + !(char_item == '_' || char_item == '!' || char_item == '@' || char_item == '.' || char_item.is_alphanum()) [INFO] [stdout] | [INFO] [stdout] 29 - char_item != '_' [INFO] [stdout] 30 - && char_item != '!' [INFO] [stdout] 31 - && char_item != '@' [INFO] [stdout] 32 - && char_item != '.' [INFO] [stdout] 33 - && char_item != '.' [INFO] [stdout] 34 - && char_item != '_' [INFO] [stdout] 35 - && !char_item.is_alphanum() [INFO] [stdout] 29 + char_item != '_' && char_item != '!' && char_item != '@' && char_item != '.' && !char_item.is_alphanum() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/parser/chat_message.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | / char_item != '_' [INFO] [stdout] 30 | | && char_item != '!' [INFO] [stdout] 31 | | && char_item != '@' [INFO] [stdout] 32 | | && char_item != '.' [INFO] [stdout] 33 | | && char_item != '.' [INFO] [stdout] 34 | | && char_item != '_' [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 29 - char_item != '_' [INFO] [stdout] 30 - && char_item != '!' [INFO] [stdout] 31 - && char_item != '@' [INFO] [stdout] 32 - && char_item != '.' [INFO] [stdout] 33 - && char_item != '.' [INFO] [stdout] 34 - && char_item != '_' [INFO] [stdout] 29 + !(char_item == '_' || char_item == '!' || char_item == '@' || char_item == '.') [INFO] [stdout] | [INFO] [stdout] 29 - char_item != '_' [INFO] [stdout] 30 - && char_item != '!' [INFO] [stdout] 31 - && char_item != '@' [INFO] [stdout] 32 - && char_item != '.' [INFO] [stdout] 33 - && char_item != '.' [INFO] [stdout] 34 - && char_item != '_' [INFO] [stdout] 29 + char_item != '_' && char_item != '!' && char_item != '@' && char_item != '.' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/parser/chat_message.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | / char_item != '_' [INFO] [stdout] 30 | | && char_item != '!' [INFO] [stdout] 31 | | && char_item != '@' [INFO] [stdout] 32 | | && char_item != '.' [INFO] [stdout] 33 | | && char_item != '.' [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 29 - char_item != '_' [INFO] [stdout] 30 - && char_item != '!' [INFO] [stdout] 31 - && char_item != '@' [INFO] [stdout] 32 - && char_item != '.' [INFO] [stdout] 33 - && char_item != '.' [INFO] [stdout] 29 + !(char_item == '_' || char_item == '!' || char_item == '@' || char_item == '.') [INFO] [stdout] | [INFO] [stdout] 29 - char_item != '_' [INFO] [stdout] 30 - && char_item != '!' [INFO] [stdout] 31 - && char_item != '@' [INFO] [stdout] 32 - && char_item != '.' [INFO] [stdout] 33 - && char_item != '.' [INFO] [stdout] 29 + char_item != '_' && char_item != '!' && char_item != '@' && char_item != '.' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary map of the identity function [INFO] [stdout] --> src/parser/meta_data.rs:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | .parse(input) [INFO] [stdout] | ______________________^ [INFO] [stdout] 292 | | .map(|(next, result)| (next, result)) [INFO] [stdout] | |_____________________________________________^ help: remove the call to `map` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_identity [INFO] [stdout] = note: `#[warn(clippy::map_identity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/log/mod.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { LOGGER.assume_init_ref() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/log/mod.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe { LOGGER.assume_init_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/log/mod.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | LOGGER.write(logger); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/chat_message.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn parse(input: &str) -> Result>> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 67 | pub fn parse(input: &str) -> Result, nom::Err>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/meta_data.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(input: &'a str) -> Res<&str, MetaData> { [INFO] [stdout] | -- ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(input: &'a str) -> Res<&'a str, MetaData<'a>> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/meta_data.rs:382:18 [INFO] [stdout] | [INFO] [stdout] 382 | fn emotes(input: &str) -> Res<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 382 | fn emotes(input: &str) -> Res<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/meta_data.rs:397:24 [INFO] [stdout] | [INFO] [stdout] 397 | fn single_emote(input: &str) -> Res<&str, Emote> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 397 | fn single_emote(input: &str) -> Res<&str, Emote<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/parser/chat_message.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | / char_item != '_' [INFO] [stdout] 30 | | && char_item != '!' [INFO] [stdout] 31 | | && char_item != '@' [INFO] [stdout] 32 | | && char_item != '.' [INFO] [stdout] 33 | | && char_item != '.' [INFO] [stdout] 34 | | && char_item != '_' [INFO] [stdout] 35 | | && !char_item.is_alphanum() [INFO] [stdout] | |___________________________________________^ [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] help: try [INFO] [stdout] | [INFO] [stdout] 29 - char_item != '_' [INFO] [stdout] 30 - && char_item != '!' [INFO] [stdout] 31 - && char_item != '@' [INFO] [stdout] 32 - && char_item != '.' [INFO] [stdout] 33 - && char_item != '.' [INFO] [stdout] 34 - && char_item != '_' [INFO] [stdout] 35 - && !char_item.is_alphanum() [INFO] [stdout] 29 + !(char_item == '_' || char_item == '!' || char_item == '@' || char_item == '.' || char_item.is_alphanum()) [INFO] [stdout] | [INFO] [stdout] 29 - char_item != '_' [INFO] [stdout] 30 - && char_item != '!' [INFO] [stdout] 31 - && char_item != '@' [INFO] [stdout] 32 - && char_item != '.' [INFO] [stdout] 33 - && char_item != '.' [INFO] [stdout] 34 - && char_item != '_' [INFO] [stdout] 35 - && !char_item.is_alphanum() [INFO] [stdout] 29 + char_item != '_' && char_item != '!' && char_item != '@' && char_item != '.' && !char_item.is_alphanum() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/parser/chat_message.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | / char_item != '_' [INFO] [stdout] 30 | | && char_item != '!' [INFO] [stdout] 31 | | && char_item != '@' [INFO] [stdout] 32 | | && char_item != '.' [INFO] [stdout] 33 | | && char_item != '.' [INFO] [stdout] 34 | | && char_item != '_' [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 29 - char_item != '_' [INFO] [stdout] 30 - && char_item != '!' [INFO] [stdout] 31 - && char_item != '@' [INFO] [stdout] 32 - && char_item != '.' [INFO] [stdout] 33 - && char_item != '.' [INFO] [stdout] 34 - && char_item != '_' [INFO] [stdout] 29 + !(char_item == '_' || char_item == '!' || char_item == '@' || char_item == '.') [INFO] [stdout] | [INFO] [stdout] 29 - char_item != '_' [INFO] [stdout] 30 - && char_item != '!' [INFO] [stdout] 31 - && char_item != '@' [INFO] [stdout] 32 - && char_item != '.' [INFO] [stdout] 33 - && char_item != '.' [INFO] [stdout] 34 - && char_item != '_' [INFO] [stdout] 29 + char_item != '_' && char_item != '!' && char_item != '@' && char_item != '.' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/parser/chat_message.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | / char_item != '_' [INFO] [stdout] 30 | | && char_item != '!' [INFO] [stdout] 31 | | && char_item != '@' [INFO] [stdout] 32 | | && char_item != '.' [INFO] [stdout] 33 | | && char_item != '.' [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 29 - char_item != '_' [INFO] [stdout] 30 - && char_item != '!' [INFO] [stdout] 31 - && char_item != '@' [INFO] [stdout] 32 - && char_item != '.' [INFO] [stdout] 33 - && char_item != '.' [INFO] [stdout] 29 + !(char_item == '_' || char_item == '!' || char_item == '@' || char_item == '.') [INFO] [stdout] | [INFO] [stdout] 29 - char_item != '_' [INFO] [stdout] 30 - && char_item != '!' [INFO] [stdout] 31 - && char_item != '@' [INFO] [stdout] 32 - && char_item != '.' [INFO] [stdout] 33 - && char_item != '.' [INFO] [stdout] 29 + char_item != '_' && char_item != '!' && char_item != '@' && char_item != '.' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary map of the identity function [INFO] [stdout] --> src/parser/meta_data.rs:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | .parse(input) [INFO] [stdout] | ______________________^ [INFO] [stdout] 292 | | .map(|(next, result)| (next, result)) [INFO] [stdout] | |_____________________________________________^ help: remove the call to `map` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_identity [INFO] [stdout] = note: `#[warn(clippy::map_identity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/log/mod.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { LOGGER.assume_init_ref() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/log/mod.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | unsafe { LOGGER.assume_init_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/log/mod.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | LOGGER.write(logger); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/chat_message.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn parse(input: &str) -> Result>> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 67 | pub fn parse(input: &str) -> Result, nom::Err>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/meta_data.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(input: &'a str) -> Res<&str, MetaData> { [INFO] [stdout] | -- ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(input: &'a str) -> Res<&'a str, MetaData<'a>> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/meta_data.rs:382:18 [INFO] [stdout] | [INFO] [stdout] 382 | fn emotes(input: &str) -> Res<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 382 | fn emotes(input: &str) -> Res<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/meta_data.rs:397:24 [INFO] [stdout] | [INFO] [stdout] 397 | fn single_emote(input: &str) -> Res<&str, Emote> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 397 | fn single_emote(input: &str) -> Res<&str, Emote<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.82s [INFO] running `Command { std: "docker" "inspect" "65901f90976f2292d1b21b625d50d11bc4440975435b8220b868f3a4811902c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65901f90976f2292d1b21b625d50d11bc4440975435b8220b868f3a4811902c6", kill_on_drop: false }` [INFO] [stdout] 65901f90976f2292d1b21b625d50d11bc4440975435b8220b868f3a4811902c6