[INFO] fetching crate winnow-rule 0.1.1... [INFO] checking winnow-rule-0.1.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate winnow-rule 0.1.1 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate winnow-rule 0.1.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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.0) [INFO] [stderr] Adding pratt v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] [stderr] Adding winnow v0.6.26 (available: v0.7.11) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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 pratt v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b8ff3d1e09acc86627161b675482386b3335c472a61d864d558ed02d2491446 [INFO] running `Command { std: "docker" "start" "-a" "2b8ff3d1e09acc86627161b675482386b3335c472a61d864d558ed02d2491446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b8ff3d1e09acc86627161b675482386b3335c472a61d864d558ed02d2491446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b8ff3d1e09acc86627161b675482386b3335c472a61d864d558ed02d2491446", kill_on_drop: false }` [INFO] [stdout] 2b8ff3d1e09acc86627161b675482386b3335c472a61d864d558ed02d2491446 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 119788f7990379e330fca3c9f145b430cf9f6ea1d05a422d144c1aba9ec12859 [INFO] running `Command { std: "docker" "start" "-a" "119788f7990379e330fca3c9f145b430cf9f6ea1d05a422d144c1aba9ec12859", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking pratt v0.3.0 [INFO] [stderr] Checking winnow v0.6.26 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking 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]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/wrapper.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` 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)]` 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-derive v0.12.1 [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]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/wrapper.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` 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)]` 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] Checking 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]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/wrapper.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/lib.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | fn tokenise(input: &str) -> Vec { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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 19.79s [INFO] running `Command { std: "docker" "inspect" "119788f7990379e330fca3c9f145b430cf9f6ea1d05a422d144c1aba9ec12859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "119788f7990379e330fca3c9f145b430cf9f6ea1d05a422d144c1aba9ec12859", kill_on_drop: false }` [INFO] [stdout] 119788f7990379e330fca3c9f145b430cf9f6ea1d05a422d144c1aba9ec12859