[INFO] fetching crate winnow-rule 0.1.1... [INFO] testing winnow-rule-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [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 cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9deef3f9dca6de274a46261e67e4148564966cd198e3c8f2638b361d15a3daf [INFO] running `Command { std: "docker" "start" "-a" "f9deef3f9dca6de274a46261e67e4148564966cd198e3c8f2638b361d15a3daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9deef3f9dca6de274a46261e67e4148564966cd198e3c8f2638b361d15a3daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9deef3f9dca6de274a46261e67e4148564966cd198e3c8f2638b361d15a3daf", kill_on_drop: false }` [INFO] [stdout] f9deef3f9dca6de274a46261e67e4148564966cd198e3c8f2638b361d15a3daf [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7f21a07e6b9fe9760d70f6cfcbae1b14177db606a4e150283493a1877d9aa84 [INFO] running `Command { std: "docker" "start" "-a" "c7f21a07e6b9fe9760d70f6cfcbae1b14177db606a4e150283493a1877d9aa84", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pratt v0.3.0 [INFO] [stderr] Compiling winnow v0.6.26 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [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.30s [INFO] running `Command { std: "docker" "inspect" "c7f21a07e6b9fe9760d70f6cfcbae1b14177db606a4e150283493a1877d9aa84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f21a07e6b9fe9760d70f6cfcbae1b14177db606a4e150283493a1877d9aa84", kill_on_drop: false }` [INFO] [stdout] c7f21a07e6b9fe9760d70f6cfcbae1b14177db606a4e150283493a1877d9aa84 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dadcaebccf50a888ac4f3c19c99ab5e86c326060f82cf8b2226aa9bdeddc02ca [INFO] running `Command { std: "docker" "start" "-a" "dadcaebccf50a888ac4f3c19c99ab5e86c326060f82cf8b2226aa9bdeddc02ca", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.29 [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 quote v1.0.40 [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.85s [INFO] running `Command { std: "docker" "inspect" "dadcaebccf50a888ac4f3c19c99ab5e86c326060f82cf8b2226aa9bdeddc02ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dadcaebccf50a888ac4f3c19c99ab5e86c326060f82cf8b2226aa9bdeddc02ca", kill_on_drop: false }` [INFO] [stdout] dadcaebccf50a888ac4f3c19c99ab5e86c326060f82cf8b2226aa9bdeddc02ca [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f7b2ca08ffcd657860ab4233c95427c79eddf665877609b8ba5971242264c0cf [INFO] running `Command { std: "docker" "start" "-a" "f7b2ca08ffcd657860ab4233c95427c79eddf665877609b8ba5971242264c0cf", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stderr] --> src/lib.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | PResult, Parser, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stderr] --> src/lib.rs:91:40 [INFO] [stderr] | [INFO] [stderr] 91 | fn group<'a>(input: &mut Input<'a>) -> PResult { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stderr] --> src/lib.rs:99:42 [INFO] [stderr] | [INFO] [stderr] 99 | fn literal<'a>(input: &mut Input<'a>) -> PResult { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stderr] --> src/lib.rs:107:40 [INFO] [stderr] | [INFO] [stderr] 107 | fn ident<'a>(input: &mut Input<'a>) -> PResult { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stderr] --> src/lib.rs:118:39 [INFO] [stderr] | [INFO] [stderr] 118 | fn path<'a>(input: &mut Input<'a>) -> PResult<(Span, Path)> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stderr] --> src/lib.rs:159:49 [INFO] [stderr] | [INFO] [stderr] 159 | fn parse_rule_element<'a>(i: &mut Input<'a>) -> PResult { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/wrapper.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `1` is never read [INFO] [stderr] --> src/lib.rs:34:21 [INFO] [stderr] | [INFO] [stderr] 34 | MatchText(Span, Literal), [INFO] [stderr] | --------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 34 - MatchText(Span, Literal), [INFO] [stderr] 34 + MatchText(Span, ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `1` is never read [INFO] [stderr] --> src/lib.rs:35:22 [INFO] [stderr] | [INFO] [stderr] 35 | MatchToken(Span, Path), [INFO] [stderr] | ---------- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Rule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 35 - MatchToken(Span, Path), [INFO] [stderr] 35 + MatchToken(Span, ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `winnow-rule` (lib) generated 9 warnings (run `cargo fix --lib -p winnow-rule` to apply 1 suggestion) [INFO] [stderr] warning: `winnow-rule` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stderr] --> tests/lib.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | PResult, Parser, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stderr] --> tests/lib.rs:20:14 [INFO] [stderr] | [INFO] [stderr] 20 | let res: PResult<_> = rule.parse_next(&mut &tokens[..]); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stderr] --> tests/lib.rs:127:40 [INFO] [stderr] | [INFO] [stderr] 127 | fn ident<'a>(input: &mut Input<'a>) -> PResult<&'a str> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stderr] --> tests/lib.rs:97:48 [INFO] [stderr] | [INFO] [stderr] 97 | fn parse_next(&mut self, input: &mut I) -> PResult, E> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> tests/lib.rs:110:20 [INFO] [stderr] | [INFO] [stderr] 110 | fn tokenise(input: &str) -> Vec { [INFO] [stderr] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 110 | fn tokenise(input: &str) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `winnow-rule` (test "lib") generated 5 warnings (run `cargo fix --test "lib"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/winnow_rule-c0230f759019831e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-261b6e29994f6877) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test sql_create_table ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests winnow_rule [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f7b2ca08ffcd657860ab4233c95427c79eddf665877609b8ba5971242264c0cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7b2ca08ffcd657860ab4233c95427c79eddf665877609b8ba5971242264c0cf", kill_on_drop: false }` [INFO] [stdout] f7b2ca08ffcd657860ab4233c95427c79eddf665877609b8ba5971242264c0cf