[INFO] cloning repository https://github.com/lukahasch/mesh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukahasch/mesh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukahasch%2Fmesh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukahasch%2Fmesh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 245e9ab246912a2a57d032e27febc7fce9aa259d [INFO] linting lukahasch/mesh against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukahasch%2Fmesh" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lukahasch/mesh [INFO] finished tweaking git repo https://github.com/lukahasch/mesh [INFO] tweaked toml for git repo https://github.com/lukahasch/mesh written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lukahasch/mesh 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/lukahasch/mesh 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v1.0.25 [INFO] [stderr] Downloaded nom-language v0.1.0 [INFO] [stderr] Downloaded smallmap v1.4.2 [INFO] [stderr] Downloaded ariadne v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] cc375f063b3c32fba9b1ac7ee1c60741c58be694de23f8e5a439886e659492ff [INFO] running `Command { std: "docker" "start" "-a" "cc375f063b3c32fba9b1ac7ee1c60741c58be694de23f8e5a439886e659492ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc375f063b3c32fba9b1ac7ee1c60741c58be694de23f8e5a439886e659492ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc375f063b3c32fba9b1ac7ee1c60741c58be694de23f8e5a439886e659492ff", kill_on_drop: false }` [INFO] [stdout] cc375f063b3c32fba9b1ac7ee1c60741c58be694de23f8e5a439886e659492ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 83f36dafbf5424e67ec026d9b1c8d51d539ae445a9cf15e14b27884cc5f232de [INFO] running `Command { std: "docker" "start" "-a" "83f36dafbf5424e67ec026d9b1c8d51d539ae445a9cf15e14b27884cc5f232de", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking ariadne v0.5.0 [INFO] [stderr] Compiling smallmap v1.4.2 [INFO] [stderr] Checking nom-language v0.1.0 [INFO] [stderr] Checking mesh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ReplaceError`, `debug`, and `word` [INFO] [stdout] --> src/parser/mod.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | Extensions, IgnoreAnd, Inner, ReplaceError, Source, begin_block, better_eof, boundary, debug, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 3 | end_block, not_eof, surrounded, word, ws, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ReplaceError`, `debug`, and `word` [INFO] [stdout] --> src/parser/mod.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | Extensions, IgnoreAnd, Inner, ReplaceError, Source, begin_block, better_eof, boundary, debug, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 3 | end_block, not_eof, surrounded, word, ws, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Input`, `character::complete::one_of`, `eof`, `fail`, `many0`, `opt`, and `peek` [INFO] [stdout] --> src/parser/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | Err, IResult, Input, Parser, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | character::complete::one_of, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | combinator::{cut, eof, fail, opt, peek}, [INFO] [stdout] | ^^^ ^^^^ ^^^ ^^^^ [INFO] [stdout] 11 | multi::{many0, many1, separated_list0}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Input`, `character::complete::one_of`, `eof`, `fail`, `many0`, `opt`, and `peek` [INFO] [stdout] --> src/parser/mod.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | Err, IResult, Input, Parser, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | character::complete::one_of, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | combinator::{cut, eof, fail, opt, peek}, [INFO] [stdout] | ^^^ ^^^^ ^^^ ^^^^ [INFO] [stdout] 11 | multi::{many0, many1, separated_list0}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Operation`, `precedence`, and `unary_op` [INFO] [stdout] --> src/parser/mod.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | use nom_language::precedence::{Operation, precedence, unary_op}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseFloatError` and `ParseIntError` [INFO] [stdout] --> src/parser/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | use std::num::{ParseFloatError, ParseIntError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Field`, `Fields`, and `Pattern` [INFO] [stdout] --> src/parser/mod.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{Expression, Field, Fields, ListContent, Node, Pattern, error::Error}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromExternalError` [INFO] [stdout] --> src/parser/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | error::{FromExternalError, ParseError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Operation`, `precedence`, and `unary_op` [INFO] [stdout] --> src/parser/mod.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | use nom_language::precedence::{Operation, precedence, unary_op}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseFloatError` and `ParseIntError` [INFO] [stdout] --> src/parser/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | use std::num::{ParseFloatError, ParseIntError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Field`, `Fields`, and `Pattern` [INFO] [stdout] --> src/parser/mod.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{Expression, Field, Fields, ListContent, Node, Pattern, error::Error}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromExternalError` [INFO] [stdout] --> src/parser/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | error::{FromExternalError, ParseError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/error/mod.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | fn or(self, other: Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/error/mod.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | fn append(input: Source<'a>, kind: nom::error::ErrorKind, other: Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/error/mod.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | fn append(input: Source<'a>, kind: nom::error::ErrorKind, other: Self) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/error/mod.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | fn from_external_error(input: Source<'_>, kind: nom::error::ErrorKind, e: Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/error/mod.rs:62:47 [INFO] [stdout] | [INFO] [stdout] 62 | fn from_external_error(input: Source<'_>, kind: nom::error::ErrorKind, e: Self) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/error/mod.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | fn or(self, other: Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/error/mod.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | fn append(input: Source<'a>, kind: nom::error::ErrorKind, other: Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/error/mod.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | fn append(input: Source<'a>, kind: nom::error::ErrorKind, other: Self) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/error/mod.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | fn from_external_error(input: Source<'_>, kind: nom::error::ErrorKind, e: Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/error/mod.rs:62:47 [INFO] [stdout] | [INFO] [stdout] 62 | fn from_external_error(input: Source<'_>, kind: nom::error::ErrorKind, e: Self) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/error/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / match self { [INFO] [stdout] 70 | | Self::Debug(_, _) => true, [INFO] [stdout] 71 | | Self::InternalKind(_, _) => true, [INFO] [stdout] 72 | | Self::InternalChar(_, _) => true, [INFO] [stdout] 73 | | _ => false, [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 69 - match self { [INFO] [stdout] 70 - Self::Debug(_, _) => true, [INFO] [stdout] 71 - Self::InternalKind(_, _) => true, [INFO] [stdout] 72 - Self::InternalChar(_, _) => true, [INFO] [stdout] 73 - _ => false, [INFO] [stdout] 74 - } [INFO] [stdout] 69 + matches!(self, Self::Debug(_, _) | Self::InternalKind(_, _) | Self::InternalChar(_, _)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/parser/lib.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | !(c.is_alphanumeric() || c == '_') && !c.is_whitespace() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `!(c.is_alphanumeric() || c == '_' || c.is_whitespace())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/parser/lib.rs:359:59 [INFO] [stdout] | [INFO] [stdout] 359 | move |source| self.parse_complete(source).map_err(|e| f(e)) [INFO] [stdout] | ^^^^^^^^ help: replace the closure with the function itself: `&mut f` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `before_pos` after checking its variant with `is_none` [INFO] [stdout] --> src/parser/lib.rs:500:39 [INFO] [stdout] | [INFO] [stdout] 495 | if before_pos.is_none() || before_pos.unwrap() > after_pos.unwrap() { [INFO] [stdout] | -------------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 500 | find = find.take_from(before_pos.unwrap() + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `if let` or `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `char::is_digit` with literal radix of 10 [INFO] [stdout] --> src/parser/mod.rs:136:42 [INFO] [stdout] | [INFO] [stdout] 136 | take_while1::<_, _, Error>(|c: char| c.is_digit(10)) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `c.is_ascii_digit()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix [INFO] [stdout] = note: `#[warn(clippy::is_digit_ascii_radix)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn expression(source: Source) -> IResult, Error> { [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden 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: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 38 | pub fn expression(source: Source<'_>) -> IResult, Node<'_, ()>, Error<'_>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn block(source: Source) -> IResult, Error> { [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 43 | pub fn block(source: Source<'_>) -> IResult, Node<'_, ()>, Error<'_>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn list(source: Source) -> IResult, Error> { [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn list(source: Source<'_>) -> IResult, Node<'_, ()>, Error<'_>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | fn list_content(source: Source) -> IResult, Error> { [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 57 | fn list_content(source: Source<'_>) -> IResult, ListContent<'_, ()>, Error<'_>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn struct_construction(source: Source) -> IResult, Error> { [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 75 | pub fn struct_construction(source: Source<'_>) -> IResult, Node<'_, ()>, Error<'_>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:76:36 [INFO] [stdout] | [INFO] [stdout] 76 | fn fields_construction(source: Source) -> IResult>, Error> { [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is elided here [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden 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] 76 | fn fields_construction(source: Source<'_>) -> IResult, Map<&str, Node<'_, ()>>, Error<'_>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn basics(source: Source) -> IResult, Error> { [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 104 | pub fn basics(source: Source<'_>) -> IResult, Node<'_, ()>, Error<'_>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/lib.rs:204:30 [INFO] [stdout] | [INFO] [stdout] 204 | fn one_indent(source: Source<'_>) -> IResult, (), Error> { [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: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 204 | fn one_indent(source: Source<'_>) -> IResult, (), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/lib.rs:238:37 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn end_block(mut source: Source<'_>) -> IResult, (), Error> { [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: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 238 | pub fn end_block(mut source: Source<'_>) -> IResult, (), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/error/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / match self { [INFO] [stdout] 70 | | Self::Debug(_, _) => true, [INFO] [stdout] 71 | | Self::InternalKind(_, _) => true, [INFO] [stdout] 72 | | Self::InternalChar(_, _) => true, [INFO] [stdout] 73 | | _ => false, [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 69 - match self { [INFO] [stdout] 70 - Self::Debug(_, _) => true, [INFO] [stdout] 71 - Self::InternalKind(_, _) => true, [INFO] [stdout] 72 - Self::InternalChar(_, _) => true, [INFO] [stdout] 73 - _ => false, [INFO] [stdout] 74 - } [INFO] [stdout] 69 + matches!(self, Self::Debug(_, _) | Self::InternalKind(_, _) | Self::InternalChar(_, _)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/parser/lib.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | !(c.is_alphanumeric() || c == '_') && !c.is_whitespace() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `!(c.is_alphanumeric() || c == '_' || c.is_whitespace())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/parser/lib.rs:359:59 [INFO] [stdout] | [INFO] [stdout] 359 | move |source| self.parse_complete(source).map_err(|e| f(e)) [INFO] [stdout] | ^^^^^^^^ help: replace the closure with the function itself: `&mut f` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `before_pos` after checking its variant with `is_none` [INFO] [stdout] --> src/parser/lib.rs:500:39 [INFO] [stdout] | [INFO] [stdout] 495 | if before_pos.is_none() || before_pos.unwrap() > after_pos.unwrap() { [INFO] [stdout] | -------------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 500 | find = find.take_from(before_pos.unwrap() + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `if let` or `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.88s [INFO] [stdout] warning: use of `char::is_digit` with literal radix of 10 [INFO] [stdout] --> src/parser/mod.rs:136:42 [INFO] [stdout] | [INFO] [stdout] 136 | take_while1::<_, _, Error>(|c: char| c.is_digit(10)) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `c.is_ascii_digit()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix [INFO] [stdout] = note: `#[warn(clippy::is_digit_ascii_radix)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn expression(source: Source) -> IResult, Error> { [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden 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: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 38 | pub fn expression(source: Source<'_>) -> IResult, Node<'_, ()>, Error<'_>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn block(source: Source) -> IResult, Error> { [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 43 | pub fn block(source: Source<'_>) -> IResult, Node<'_, ()>, Error<'_>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn list(source: Source) -> IResult, Error> { [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn list(source: Source<'_>) -> IResult, Node<'_, ()>, Error<'_>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | fn list_content(source: Source) -> IResult, Error> { [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 57 | fn list_content(source: Source<'_>) -> IResult, ListContent<'_, ()>, Error<'_>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn struct_construction(source: Source) -> IResult, Error> { [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 75 | pub fn struct_construction(source: Source<'_>) -> IResult, Node<'_, ()>, Error<'_>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:76:36 [INFO] [stdout] | [INFO] [stdout] 76 | fn fields_construction(source: Source) -> IResult>, Error> { [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is elided here [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden 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] 76 | fn fields_construction(source: Source<'_>) -> IResult, Map<&str, Node<'_, ()>>, Error<'_>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn basics(source: Source) -> IResult, Error> { [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 104 | pub fn basics(source: Source<'_>) -> IResult, Node<'_, ()>, Error<'_>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/lib.rs:204:30 [INFO] [stdout] | [INFO] [stdout] 204 | fn one_indent(source: Source<'_>) -> IResult, (), Error> { [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: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 204 | fn one_indent(source: Source<'_>) -> IResult, (), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/lib.rs:238:37 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn end_block(mut source: Source<'_>) -> IResult, (), Error> { [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: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 238 | pub fn end_block(mut source: Source<'_>) -> IResult, (), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "83f36dafbf5424e67ec026d9b1c8d51d539ae445a9cf15e14b27884cc5f232de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83f36dafbf5424e67ec026d9b1c8d51d539ae445a9cf15e14b27884cc5f232de", kill_on_drop: false }` [INFO] [stdout] 83f36dafbf5424e67ec026d9b1c8d51d539ae445a9cf15e14b27884cc5f232de