[INFO] fetching crate winnow-rule 0.1.1... [INFO] building winnow-rule-0.1.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate winnow-rule 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate winnow-rule 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate winnow-rule 0.1.1 [INFO] tweaked toml for crates.io crate winnow-rule 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate winnow-rule 0.1.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding logos v0.12.1 (available: v0.15.1) [INFO] [stderr] Adding pratt v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] [stderr] Adding winnow v0.6.26 (available: v0.7.13) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pratt v0.3.0 [INFO] [stderr] Downloaded winnow v0.6.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e3103b9e3ad1c20261fc797d04a8ee3cdb26c861264a772ed9aa6f579c7003f [INFO] running `Command { std: "docker" "start" "-a" "6e3103b9e3ad1c20261fc797d04a8ee3cdb26c861264a772ed9aa6f579c7003f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e3103b9e3ad1c20261fc797d04a8ee3cdb26c861264a772ed9aa6f579c7003f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e3103b9e3ad1c20261fc797d04a8ee3cdb26c861264a772ed9aa6f579c7003f", kill_on_drop: false }` [INFO] [stdout] 6e3103b9e3ad1c20261fc797d04a8ee3cdb26c861264a772ed9aa6f579c7003f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b812ecd92970633828ac0517a80bf4ffbb6399f702566e9718eeae96ef5fe38 [INFO] running `Command { std: "docker" "start" "-a" "1b812ecd92970633828ac0517a80bf4ffbb6399f702566e9718eeae96ef5fe38", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pratt v0.3.0 [INFO] [stderr] Compiling winnow v0.6.26 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling winnow-rule v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | PResult, Parser, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:91:40 [INFO] [stdout] | [INFO] [stdout] 91 | fn group<'a>(input: &mut Input<'a>) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:99:42 [INFO] [stdout] | [INFO] [stdout] 99 | fn literal<'a>(input: &mut Input<'a>) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | fn ident<'a>(input: &mut Input<'a>) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | fn path<'a>(input: &mut Input<'a>) -> PResult<(Span, Path)> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:159:49 [INFO] [stdout] | [INFO] [stdout] 159 | fn parse_rule_element<'a>(i: &mut Input<'a>) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/wrapper.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lib.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | MatchText(Span, Literal), [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - MatchText(Span, Literal), [INFO] [stdout] 34 + MatchText(Span, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lib.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | MatchToken(Span, Path), [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 - MatchToken(Span, Path), [INFO] [stdout] 35 + MatchToken(Span, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.56s [INFO] running `Command { std: "docker" "inspect" "1b812ecd92970633828ac0517a80bf4ffbb6399f702566e9718eeae96ef5fe38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b812ecd92970633828ac0517a80bf4ffbb6399f702566e9718eeae96ef5fe38", kill_on_drop: false }` [INFO] [stdout] 1b812ecd92970633828ac0517a80bf4ffbb6399f702566e9718eeae96ef5fe38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8e8f6e33e14d1f2a9db47a83e1032833cea35b20c3141a155782c32f7f5ee23 [INFO] running `Command { std: "docker" "start" "-a" "b8e8f6e33e14d1f2a9db47a83e1032833cea35b20c3141a155782c32f7f5ee23", kill_on_drop: false }` [INFO] [stderr] Compiling pratt v0.3.0 [INFO] [stderr] Compiling winnow v0.6.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling winnow-rule v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | PResult, Parser, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:91:40 [INFO] [stdout] | [INFO] [stdout] 91 | fn group<'a>(input: &mut Input<'a>) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:99:42 [INFO] [stdout] | [INFO] [stdout] 99 | fn literal<'a>(input: &mut Input<'a>) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | fn ident<'a>(input: &mut Input<'a>) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | fn path<'a>(input: &mut Input<'a>) -> PResult<(Span, Path)> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:159:49 [INFO] [stdout] | [INFO] [stdout] 159 | fn parse_rule_element<'a>(i: &mut Input<'a>) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/wrapper.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lib.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | MatchText(Span, Literal), [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - MatchText(Span, Literal), [INFO] [stdout] 34 + MatchText(Span, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lib.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | MatchToken(Span, Path), [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 - MatchToken(Span, Path), [INFO] [stdout] 35 + MatchToken(Span, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> tests/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | PResult, Parser, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> tests/lib.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | let res: PResult<_> = rule.parse_next(&mut &tokens[..]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> tests/lib.rs:127:40 [INFO] [stdout] | [INFO] [stdout] 127 | fn ident<'a>(input: &mut Input<'a>) -> PResult<&'a str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> tests/lib.rs:97:48 [INFO] [stdout] | [INFO] [stdout] 97 | fn parse_next(&mut self, input: &mut I) -> PResult, E> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | PResult, Parser, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:91:40 [INFO] [stdout] | [INFO] [stdout] 91 | fn group<'a>(input: &mut Input<'a>) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:99:42 [INFO] [stdout] | [INFO] [stdout] 99 | fn literal<'a>(input: &mut Input<'a>) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | fn ident<'a>(input: &mut Input<'a>) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | fn path<'a>(input: &mut Input<'a>) -> PResult<(Span, Path)> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/lib.rs:159:49 [INFO] [stdout] | [INFO] [stdout] 159 | fn parse_rule_element<'a>(i: &mut Input<'a>) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/wrapper.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/lib.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | fn tokenise(input: &str) -> Vec { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | fn tokenise(input: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lib.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | MatchText(Span, Literal), [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - MatchText(Span, Literal), [INFO] [stdout] 34 + MatchText(Span, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lib.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | MatchToken(Span, Path), [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 - MatchToken(Span, Path), [INFO] [stdout] 35 + MatchToken(Span, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.46s [INFO] running `Command { std: "docker" "inspect" "b8e8f6e33e14d1f2a9db47a83e1032833cea35b20c3141a155782c32f7f5ee23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e8f6e33e14d1f2a9db47a83e1032833cea35b20c3141a155782c32f7f5ee23", kill_on_drop: false }` [INFO] [stdout] b8e8f6e33e14d1f2a9db47a83e1032833cea35b20c3141a155782c32f7f5ee23