[INFO] fetching crate winnow-rule 0.1.1... [INFO] building winnow-rule-0.1.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate winnow-rule 0.1.1 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate winnow-rule 0.1.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version_check v0.9.5 [INFO] [stderr] Downloaded beef v0.5.2 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded regex-syntax v0.6.29 [INFO] [stderr] Downloaded winnow v0.6.26 [INFO] [stderr] Downloaded pratt v0.3.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eac2c6ac841a75c8518659ffd53d432bd9b583d9201481bba98a15665f723312 [INFO] running `Command { std: "docker" "start" "-a" "eac2c6ac841a75c8518659ffd53d432bd9b583d9201481bba98a15665f723312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eac2c6ac841a75c8518659ffd53d432bd9b583d9201481bba98a15665f723312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac2c6ac841a75c8518659ffd53d432bd9b583d9201481bba98a15665f723312", kill_on_drop: false }` [INFO] [stdout] eac2c6ac841a75c8518659ffd53d432bd9b583d9201481bba98a15665f723312 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5312a543d997419aeb27944ae94768f2602f05544b29c759c2e4dbff54ad4348 [INFO] running `Command { std: "docker" "start" "-a" "5312a543d997419aeb27944ae94768f2602f05544b29c759c2e4dbff54ad4348", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling winnow v0.6.26 [INFO] [stderr] Compiling pratt v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.41 [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 4.29s [INFO] running `Command { std: "docker" "inspect" "5312a543d997419aeb27944ae94768f2602f05544b29c759c2e4dbff54ad4348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5312a543d997419aeb27944ae94768f2602f05544b29c759c2e4dbff54ad4348", kill_on_drop: false }` [INFO] [stdout] 5312a543d997419aeb27944ae94768f2602f05544b29c759c2e4dbff54ad4348 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5348b3a1a392717d84ccb54a084621f54f7828a71e91dfa47926737da2715444 [INFO] running `Command { std: "docker" "start" "-a" "5348b3a1a392717d84ccb54a084621f54f7828a71e91dfa47926737da2715444", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling winnow v0.6.26 [INFO] [stderr] Compiling pratt v0.3.0 [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 8.46s [INFO] running `Command { std: "docker" "inspect" "5348b3a1a392717d84ccb54a084621f54f7828a71e91dfa47926737da2715444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5348b3a1a392717d84ccb54a084621f54f7828a71e91dfa47926737da2715444", kill_on_drop: false }` [INFO] [stdout] 5348b3a1a392717d84ccb54a084621f54f7828a71e91dfa47926737da2715444