[INFO] cloning repository https://github.com/HallerPatrick/live_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HallerPatrick/live_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHallerPatrick%2Flive_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHallerPatrick%2Flive_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 524e6ce8e6ba453891663b3400f6fd6552f09988 [INFO] linting HallerPatrick/live_parser against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHallerPatrick%2Flive_parser" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HallerPatrick/live_parser [INFO] finished tweaking git repo https://github.com/HallerPatrick/live_parser [INFO] tweaked toml for git repo https://github.com/HallerPatrick/live_parser written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HallerPatrick/live_parser 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/HallerPatrick/live_parser 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] Downloading crates ... [INFO] [stderr] Downloaded nom_locate v4.0.0 [INFO] [stderr] Downloaded minimal-lexical v0.1.2 [INFO] [stderr] Downloaded bytecount v0.6.2 [INFO] [stderr] Downloaded pretty-trait v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 26483c4755e29449f5de0da7f280b4d763279735fccf49c25771d15ca53b7210 [INFO] running `Command { std: "docker" "start" "-a" "26483c4755e29449f5de0da7f280b4d763279735fccf49c25771d15ca53b7210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26483c4755e29449f5de0da7f280b4d763279735fccf49c25771d15ca53b7210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26483c4755e29449f5de0da7f280b4d763279735fccf49c25771d15ca53b7210", kill_on_drop: false }` [INFO] [stdout] 26483c4755e29449f5de0da7f280b4d763279735fccf49c25771d15ca53b7210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 230f9e0a23cb34b05a7030b1b3a911f8cd794f3fade37a12803a65e171cfa58e [INFO] running `Command { std: "docker" "start" "-a" "230f9e0a23cb34b05a7030b1b3a911f8cd794f3fade37a12803a65e171cfa58e", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling minimal-lexical v0.1.2 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking pretty-trait v0.1.2 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Checking nom_locate v4.0.0 [INFO] [stderr] Checking liva_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parser/expression/mod.rs:510:17 [INFO] [stdout] | [INFO] [stdout] 510 | left: left, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `left` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/parser/expression/mod.rs:512:17 [INFO] [stdout] | [INFO] [stdout] 512 | right: right [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `right` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> src/parser/statement/declaration/function.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(duplicate_macro_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser/expression/mod.rs:293:40 [INFO] [stdout] | [INFO] [stdout] 293 | merge_all_binops(&mut explist, &*BINOP_PRECEDENCE[0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try: `&BINOP_PRECEDENCE[0]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser/expression/mod.rs:294:39 [INFO] [stdout] | [INFO] [stdout] 294 | merge_all_unops(&mut explist, &*UNOPS); [INFO] [stdout] | ^^^^^^^ help: try: `&UNOPS` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/parser/expression/mod.rs:297:44 [INFO] [stdout] | [INFO] [stdout] 297 | merge_all_binops(&mut explist, &*binops); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] = note: `#[warn(clippy::borrow_deref_ref)]` on by default [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 297 - merge_all_binops(&mut explist, &*binops); [INFO] [stdout] 297 + merge_all_binops(&mut explist, binops); [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 297 | merge_all_binops(&mut explist, &**binops); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser/expression/mod.rs:332:29 [INFO] [stdout] | [INFO] [stdout] 332 | a.extend_from_slice(&*tuple_to_flat_vec(head.1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&tuple_to_flat_vec(head.1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: re-implementing `PartialEq::ne` is unnecessary [INFO] [stdout] --> src/parser/literals.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | fn ne(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl [INFO] [stdout] = note: `#[warn(clippy::partialeq_ne_impl)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/comment.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn parse_comment(input: Span) -> Res<&str> { [INFO] [stdout] | ^^^^ ^^^^^^^^^ [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn parse_comment(input: Span<'_>) -> Res<'_, &str> { [INFO] [stdout] | ++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/literals.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) fn sp(input: Span) -> Res<&str> { [INFO] [stdout] | ^^^^ ^^^^^^^^^ [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) fn sp(input: Span<'_>) -> Res<'_, &str> { [INFO] [stdout] | ++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/literals.rs:218:56 [INFO] [stdout] | [INFO] [stdout] 218 | pub(crate) fn parse_collection<'a>(input: Span<'a>) -> Res> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^--^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden 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] 218 | pub(crate) fn parse_collection<'a>(input: Span<'a>) -> Res<'a, Collection<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/literals.rs:253:53 [INFO] [stdout] | [INFO] [stdout] 253 | pub(crate) fn parse_literal<'a>(input: Span<'a>) -> Res> { [INFO] [stdout] | -- ^^^^^^^^^^^^--^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden 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] 253 | pub(crate) fn parse_literal<'a>(input: Span<'a>) -> Res<'a, Literal<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/statement/mod.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | pub(crate) fn opt_line_ending(input: Span) -> Res<&str> { [INFO] [stdout] | ^^^^ ^^^^^^^^^ [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | pub(crate) fn opt_line_ending(input: Span<'_>) -> Res<'_, &str> { [INFO] [stdout] | ++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/statement/declaration/for_statement.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse_iter_item<'a>(input: Span<'a>) -> Res> { [INFO] [stdout] | -- ^^^^^^^^^^^^^--^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden 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] 38 | fn parse_iter_item<'a>(input: Span<'a>) -> Res<'a, Variable<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/statement/declaration/function.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_function_name(input: Span) -> Res<&str> { [INFO] [stdout] | ^^^^ ^^^^^^^^^ [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_function_name(input: Span<'_>) -> Res<'_, &str> { [INFO] [stdout] | ++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/statement/declaration/function.rs:84:53 [INFO] [stdout] | [INFO] [stdout] 84 | fn parse_function_arguments<'a>(input: Span<'a>) -> Res> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden 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] 84 | fn parse_function_arguments<'a>(input: Span<'a>) -> Res<'a, Vec>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> tests/example_tests.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if !ast.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `ast.is_err()` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> tests/example_tests.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(ast.is_ok(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_assert_comparison)]` on by default [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 35 - assert_eq!(ast.is_ok(), true); [INFO] [stdout] 35 + assert!(ast.is_ok()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser/expression/mod.rs:293:40 [INFO] [stdout] | [INFO] [stdout] 293 | merge_all_binops(&mut explist, &*BINOP_PRECEDENCE[0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try: `&BINOP_PRECEDENCE[0]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser/expression/mod.rs:294:39 [INFO] [stdout] | [INFO] [stdout] 294 | merge_all_unops(&mut explist, &*UNOPS); [INFO] [stdout] | ^^^^^^^ help: try: `&UNOPS` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/parser/expression/mod.rs:297:44 [INFO] [stdout] | [INFO] [stdout] 297 | merge_all_binops(&mut explist, &*binops); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] = note: `#[warn(clippy::borrow_deref_ref)]` on by default [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 297 - merge_all_binops(&mut explist, &*binops); [INFO] [stdout] 297 + merge_all_binops(&mut explist, binops); [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 297 | merge_all_binops(&mut explist, &**binops); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/parser/expression/mod.rs:332:29 [INFO] [stdout] | [INFO] [stdout] 332 | a.extend_from_slice(&*tuple_to_flat_vec(head.1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&tuple_to_flat_vec(head.1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: re-implementing `PartialEq::ne` is unnecessary [INFO] [stdout] --> src/parser/literals.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | fn ne(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl [INFO] [stdout] = note: `#[warn(clippy::partialeq_ne_impl)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/comment.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn parse_comment(input: Span) -> Res<&str> { [INFO] [stdout] | ^^^^ ^^^^^^^^^ [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn parse_comment(input: Span<'_>) -> Res<'_, &str> { [INFO] [stdout] | ++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/literals.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) fn sp(input: Span) -> Res<&str> { [INFO] [stdout] | ^^^^ ^^^^^^^^^ [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) fn sp(input: Span<'_>) -> Res<'_, &str> { [INFO] [stdout] | ++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/literals.rs:218:56 [INFO] [stdout] | [INFO] [stdout] 218 | pub(crate) fn parse_collection<'a>(input: Span<'a>) -> Res> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^--^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden 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] 218 | pub(crate) fn parse_collection<'a>(input: Span<'a>) -> Res<'a, Collection<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/literals.rs:253:53 [INFO] [stdout] | [INFO] [stdout] 253 | pub(crate) fn parse_literal<'a>(input: Span<'a>) -> Res> { [INFO] [stdout] | -- ^^^^^^^^^^^^--^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden 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] 253 | pub(crate) fn parse_literal<'a>(input: Span<'a>) -> Res<'a, Literal<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/statement/mod.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | pub(crate) fn opt_line_ending(input: Span) -> Res<&str> { [INFO] [stdout] | ^^^^ ^^^^^^^^^ [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | pub(crate) fn opt_line_ending(input: Span<'_>) -> Res<'_, &str> { [INFO] [stdout] | ++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/statement/declaration/for_statement.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse_iter_item<'a>(input: Span<'a>) -> Res> { [INFO] [stdout] | -- ^^^^^^^^^^^^^--^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden 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] 38 | fn parse_iter_item<'a>(input: Span<'a>) -> Res<'a, Variable<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/statement/declaration/function.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_function_name(input: Span) -> Res<&str> { [INFO] [stdout] | ^^^^ ^^^^^^^^^ [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_function_name(input: Span<'_>) -> Res<'_, &str> { [INFO] [stdout] | ++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/statement/declaration/function.rs:84:53 [INFO] [stdout] | [INFO] [stdout] 84 | fn parse_function_arguments<'a>(input: Span<'a>) -> Res> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden 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] 84 | fn parse_function_arguments<'a>(input: Span<'a>) -> Res<'a, Vec>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "230f9e0a23cb34b05a7030b1b3a911f8cd794f3fade37a12803a65e171cfa58e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "230f9e0a23cb34b05a7030b1b3a911f8cd794f3fade37a12803a65e171cfa58e", kill_on_drop: false }` [INFO] [stdout] 230f9e0a23cb34b05a7030b1b3a911f8cd794f3fade37a12803a65e171cfa58e