[INFO] fetching crate bnf 0.5.0...
[INFO] testing bnf-0.5.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate bnf 0.5.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate bnf 0.5.0
[INFO] finished tweaking crates.io crate bnf 0.5.0
[INFO] tweaked toml for crates.io crate bnf 0.5.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate bnf 0.5.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 86 packages to latest compatible versions
[INFO] [stderr]       Adding criterion v0.4.0 (available: v0.7.0)
[INFO] [stderr]       Adding getrandom v0.2.16 (available: v0.3.4)
[INFO] [stderr]       Adding nom v7.1.3 (available: v8.0.0)
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tracing-flame v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ed794669afd1062b13ee3811b0147a4ad9b2f2bf2fb69f4cdd8ac149209a9697
[INFO] running `Command { std: "docker" "start" "-a" "ed794669afd1062b13ee3811b0147a4ad9b2f2bf2fb69f4cdd8ac149209a9697", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed794669afd1062b13ee3811b0147a4ad9b2f2bf2fb69f4cdd8ac149209a9697", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed794669afd1062b13ee3811b0147a4ad9b2f2bf2fb69f4cdd8ac149209a9697", kill_on_drop: false }`
[INFO] [stdout] ed794669afd1062b13ee3811b0147a4ad9b2f2bf2fb69f4cdd8ac149209a9697
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dfa082a63554026d500fc720f604b3f1f139e579a9889ed29d843913fc78ed97
[INFO] running `Command { std: "docker" "start" "-a" "dfa082a63554026d500fc720f604b3f1f139e579a9889ed29d843913fc78ed97", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling bnf v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/earley/traversal.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |         &mut self,
[INFO] [stdout]     |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 173 |     ) -> &Traversal {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout]     |          ||
[INFO] [stdout]     |          |the same lifetime is hidden here
[INFO] [stdout]     |          the same 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] 173 |     ) -> &Traversal<'_> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/earley/traversal.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         &mut self,
[INFO] [stdout]     |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 189 |     ) -> &Traversal {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout]     |          ||
[INFO] [stdout]     |          |the same lifetime is hidden here
[INFO] [stdout]     |          the same lifetime is elided 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] 189 |     ) -> &Traversal<'_> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/earley/traversal.rs:201:23
[INFO] [stdout]     |
[INFO] [stdout] 201 |     pub fn match_term(&mut self, parent: TraversalId, term: TermMatch<'gram>) -> &Traversal {
[INFO] [stdout]     |                       ^^^^^^^^^                                                  ^^^^^^^^^^
[INFO] [stdout]     |                       |                                                          ||
[INFO] [stdout]     |                       |                                                          |the same lifetime is hidden here
[INFO] [stdout]     |                       the lifetime is elided here                                the same lifetime is elided 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] 201 |     pub fn match_term(&mut self, parent: TraversalId, term: TermMatch<'gram>) -> &Traversal<'_> {
[INFO] [stdout]     |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/grammar.rs:134:21
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub fn rhs_iter(&self) -> impl Iterator<Item = &ParseTreeNode> {
[INFO] [stdout]     |                     ^^^^^                          ^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |                              ||
[INFO] [stdout]     |                     |                              |the same lifetime is hidden here
[INFO] [stdout]     |                     |                              the same lifetime is elided here
[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] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub fn rhs_iter(&self) -> impl Iterator<Item = &ParseTreeNode<'_>> {
[INFO] [stdout]     |                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/grammar.rs:253:87
[INFO] [stdout]     |
[INFO] [stdout] 253 |     pub fn parse_input<'gram>(&'gram self, input: &'gram str) -> impl Iterator<Item = ParseTree> {
[INFO] [stdout]     |                                -----               ----- the lifetime is named here   ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                |
[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 `'gram`
[INFO] [stdout]     |
[INFO] [stdout] 253 |     pub fn parse_input<'gram>(&'gram self, input: &'gram str) -> impl Iterator<Item = ParseTree<'gram>> {
[INFO] [stdout]     |                                                                                                +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.62s
[INFO] running `Command { std: "docker" "inspect" "dfa082a63554026d500fc720f604b3f1f139e579a9889ed29d843913fc78ed97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfa082a63554026d500fc720f604b3f1f139e579a9889ed29d843913fc78ed97", kill_on_drop: false }`
[INFO] [stdout] dfa082a63554026d500fc720f604b3f1f139e579a9889ed29d843913fc78ed97
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d8d7ec5c484adee1259f04cdfa3da4eae136beac03c2a4bab3a7cc8bdc92218e
[INFO] running `Command { std: "docker" "start" "-a" "d8d7ec5c484adee1259f04cdfa3da4eae136beac03c2a4bab3a7cc8bdc92218e", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling zerocopy-derive v0.8.27
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling os_str_bytes v6.6.1
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling textwrap v0.16.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling insta v1.43.2
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling criterion v0.4.0
[INFO] [stderr]    Compiling quickcheck v1.0.3
[INFO] [stderr]    Compiling bnf v0.5.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/earley/traversal.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |         &mut self,
[INFO] [stdout]     |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 173 |     ) -> &Traversal {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout]     |          ||
[INFO] [stdout]     |          |the same lifetime is hidden here
[INFO] [stdout]     |          the same 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] 173 |     ) -> &Traversal<'_> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/earley/traversal.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         &mut self,
[INFO] [stdout]     |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 189 |     ) -> &Traversal {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout]     |          ||
[INFO] [stdout]     |          |the same lifetime is hidden here
[INFO] [stdout]     |          the same lifetime is elided 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] 189 |     ) -> &Traversal<'_> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/earley/traversal.rs:201:23
[INFO] [stdout]     |
[INFO] [stdout] 201 |     pub fn match_term(&mut self, parent: TraversalId, term: TermMatch<'gram>) -> &Traversal {
[INFO] [stdout]     |                       ^^^^^^^^^                                                  ^^^^^^^^^^
[INFO] [stdout]     |                       |                                                          ||
[INFO] [stdout]     |                       |                                                          |the same lifetime is hidden here
[INFO] [stdout]     |                       the lifetime is elided here                                the same lifetime is elided 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] 201 |     pub fn match_term(&mut self, parent: TraversalId, term: TermMatch<'gram>) -> &Traversal<'_> {
[INFO] [stdout]     |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/grammar.rs:134:21
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub fn rhs_iter(&self) -> impl Iterator<Item = &ParseTreeNode> {
[INFO] [stdout]     |                     ^^^^^                          ^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |                              ||
[INFO] [stdout]     |                     |                              |the same lifetime is hidden here
[INFO] [stdout]     |                     |                              the same lifetime is elided here
[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] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub fn rhs_iter(&self) -> impl Iterator<Item = &ParseTreeNode<'_>> {
[INFO] [stdout]     |                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/grammar.rs:253:87
[INFO] [stdout]     |
[INFO] [stdout] 253 |     pub fn parse_input<'gram>(&'gram self, input: &'gram str) -> impl Iterator<Item = ParseTree> {
[INFO] [stdout]     |                                -----               ----- the lifetime is named here   ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                |
[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 `'gram`
[INFO] [stdout]     |
[INFO] [stdout] 253 |     pub fn parse_input<'gram>(&'gram self, input: &'gram str) -> impl Iterator<Item = ParseTree<'gram>> {
[INFO] [stdout]     |                                                                                                +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/production.rs:123:30
[INFO] [stdout]     |
[INFO] [stdout] 123 |                 .filter(|&c| (c != '>'))
[INFO] [stdout]     |                              ^        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 123 -                 .filter(|&c| (c != '>'))
[INFO] [stdout] 123 +                 .filter(|&c| c != '>')
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/term.rs:82:49
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 term = term.chars().filter(|&c| (c != '>')).collect();
[INFO] [stdout]    |                                                 ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 82 -                 term = term.chars().filter(|&c| (c != '>')).collect();
[INFO] [stdout] 82 +                 term = term.chars().filter(|&c| c != '>').collect();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/earley/traversal.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |         &mut self,
[INFO] [stdout]     |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 173 |     ) -> &Traversal {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout]     |          ||
[INFO] [stdout]     |          |the same lifetime is hidden here
[INFO] [stdout]     |          the same 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] 173 |     ) -> &Traversal<'_> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/earley/traversal.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         &mut self,
[INFO] [stdout]     |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 189 |     ) -> &Traversal {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout]     |          ||
[INFO] [stdout]     |          |the same lifetime is hidden here
[INFO] [stdout]     |          the same lifetime is elided 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] 189 |     ) -> &Traversal<'_> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/earley/traversal.rs:201:23
[INFO] [stdout]     |
[INFO] [stdout] 201 |     pub fn match_term(&mut self, parent: TraversalId, term: TermMatch<'gram>) -> &Traversal {
[INFO] [stdout]     |                       ^^^^^^^^^                                                  ^^^^^^^^^^
[INFO] [stdout]     |                       |                                                          ||
[INFO] [stdout]     |                       |                                                          |the same lifetime is hidden here
[INFO] [stdout]     |                       the lifetime is elided here                                the same lifetime is elided 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] 201 |     pub fn match_term(&mut self, parent: TraversalId, term: TermMatch<'gram>) -> &Traversal<'_> {
[INFO] [stdout]     |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/grammar.rs:134:21
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub fn rhs_iter(&self) -> impl Iterator<Item = &ParseTreeNode> {
[INFO] [stdout]     |                     ^^^^^                          ^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |                              ||
[INFO] [stdout]     |                     |                              |the same lifetime is hidden here
[INFO] [stdout]     |                     |                              the same lifetime is elided here
[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] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub fn rhs_iter(&self) -> impl Iterator<Item = &ParseTreeNode<'_>> {
[INFO] [stdout]     |                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/grammar.rs:253:87
[INFO] [stdout]     |
[INFO] [stdout] 253 |     pub fn parse_input<'gram>(&'gram self, input: &'gram str) -> impl Iterator<Item = ParseTree> {
[INFO] [stdout]     |                                -----               ----- the lifetime is named here   ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                |
[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 `'gram`
[INFO] [stdout]     |
[INFO] [stdout] 253 |     pub fn parse_input<'gram>(&'gram self, input: &'gram str) -> impl Iterator<Item = ParseTree<'gram>> {
[INFO] [stdout]     |                                                                                                +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 20.17s
[INFO] running `Command { std: "docker" "inspect" "d8d7ec5c484adee1259f04cdfa3da4eae136beac03c2a4bab3a7cc8bdc92218e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8d7ec5c484adee1259f04cdfa3da4eae136beac03c2a4bab3a7cc8bdc92218e", kill_on_drop: false }`
[INFO] [stdout] d8d7ec5c484adee1259f04cdfa3da4eae136beac03c2a4bab3a7cc8bdc92218e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 37d4d95d292d795932f157cdad44f8c57b423eb13bc9da5745df106c48e7a662
[INFO] running `Command { std: "docker" "start" "-a" "37d4d95d292d795932f157cdad44f8c57b423eb13bc9da5745df106c48e7a662", kill_on_drop: false }`
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/earley/traversal.rs:170:9
[INFO] [stderr]     |
[INFO] [stderr] 170 |         &mut self,
[INFO] [stderr]     |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stderr] ...
[INFO] [stderr] 173 |     ) -> &Traversal {
[INFO] [stderr]     |          ^^^^^^^^^^
[INFO] [stderr]     |          ||
[INFO] [stderr]     |          |the same lifetime is hidden here
[INFO] [stderr]     |          the same 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] 173 |     ) -> &Traversal<'_> {
[INFO] [stderr]     |                    ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/earley/traversal.rs:186:9
[INFO] [stderr]     |
[INFO] [stderr] 186 |         &mut self,
[INFO] [stderr]     |         ^^^^^^^^^ the lifetime is elided here
[INFO] [stderr] ...
[INFO] [stderr] 189 |     ) -> &Traversal {
[INFO] [stderr]     |          ^^^^^^^^^^
[INFO] [stderr]     |          ||
[INFO] [stderr]     |          |the same lifetime is hidden here
[INFO] [stderr]     |          the same lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 189 |     ) -> &Traversal<'_> {
[INFO] [stderr]     |                    ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/earley/traversal.rs:201:23
[INFO] [stderr]     |
[INFO] [stderr] 201 |     pub fn match_term(&mut self, parent: TraversalId, term: TermMatch<'gram>) -> &Traversal {
[INFO] [stderr]     |                       ^^^^^^^^^                                                  ^^^^^^^^^^
[INFO] [stderr]     |                       |                                                          ||
[INFO] [stderr]     |                       |                                                          |the same lifetime is hidden here
[INFO] [stderr]     |                       the lifetime is elided here                                the same lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 201 |     pub fn match_term(&mut self, parent: TraversalId, term: TermMatch<'gram>) -> &Traversal<'_> {
[INFO] [stderr]     |                                                                                            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/grammar.rs:134:21
[INFO] [stderr]     |
[INFO] [stderr] 134 |     pub fn rhs_iter(&self) -> impl Iterator<Item = &ParseTreeNode> {
[INFO] [stderr]     |                     ^^^^^                          ^^^^^^^^^^^^^^
[INFO] [stderr]     |                     |                              ||
[INFO] [stderr]     |                     |                              |the same lifetime is hidden here
[INFO] [stderr]     |                     |                              the same lifetime is elided here
[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] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 134 |     pub fn rhs_iter(&self) -> impl Iterator<Item = &ParseTreeNode<'_>> {
[INFO] [stderr]     |                                                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stderr]    --> src/grammar.rs:253:87
[INFO] [stderr]     |
[INFO] [stderr] 253 |     pub fn parse_input<'gram>(&'gram self, input: &'gram str) -> impl Iterator<Item = ParseTree> {
[INFO] [stderr]     |                                -----               ----- the lifetime is named here   ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                                |
[INFO] [stderr]     |                                the lifetime is named here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: consistently use `'gram`
[INFO] [stderr]     |
[INFO] [stderr] 253 |     pub fn parse_input<'gram>(&'gram self, input: &'gram str) -> impl Iterator<Item = ParseTree<'gram>> {
[INFO] [stderr]     |                                                                                                +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `bnf` (lib) generated 5 warnings (run `cargo fix --lib -p bnf` to apply 5 suggestions)
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/production.rs:123:30
[INFO] [stderr]     |
[INFO] [stderr] 123 |                 .filter(|&c| (c != '>'))
[INFO] [stderr]     |                              ^        ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 123 -                 .filter(|&c| (c != '>'))
[INFO] [stderr] 123 +                 .filter(|&c| c != '>')
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]   --> src/term.rs:82:49
[INFO] [stderr]    |
[INFO] [stderr] 82 |                 term = term.chars().filter(|&c| (c != '>')).collect();
[INFO] [stderr]    |                                                 ^        ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 82 -                 term = term.chars().filter(|&c| (c != '>')).collect();
[INFO] [stderr] 82 +                 term = term.chars().filter(|&c| c != '>').collect();
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `bnf` (lib test) generated 7 warnings (5 duplicates) (run `cargo fix --lib -p bnf --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bnf-3c9c2e738a3c4431)
[INFO] [stdout] 
[INFO] [stdout] running 72 tests
[INFO] [stdout] test earley::input_range::tests::debug_fmt ... ok
[INFO] [stdout] test earley::traversal::tests::match_term_again ... ok
[INFO] [stdout] test earley::traversal::tests::match_term_complete ... ok
[INFO] [stdout] test error::tests::from_str_and_nom_verbose_error_kind ... ok
[INFO] [stdout] test earley::traversal::tests::predict_again ... ok
[INFO] [stdout] test error::tests::from_nom_verbose_error ... ok
[INFO] [stdout] test error::tests::gets_error_on_incomplete ... ok
[INFO] [stdout] test expression::tests::does_not_terminate ... ok
[INFO] [stdout] test expression::tests::does_terminate ... ok
[INFO] [stdout] test error::tests::test_error_display ... ok
[INFO] [stdout] test expression::tests::parse_complete ... ok
[INFO] [stdout] test earley::traversal::tests::predict ... ok
[INFO] [stdout] test expression::tests::add_term ... ok
[INFO] [stdout] test error::tests::gets_error_error ... ok
[INFO] [stdout] test expression::tests::mutate_iterable_terms ... ok
[INFO] [stdout] test earley::traversal::tests::match_term ... ok
[INFO] [stdout] test expression::tests::parse_incomplete ... ok
[INFO] [stdout] test expression::tests::remove_nonexistent_term ... ok
[INFO] [stdout] test expression::tests::add_operator ... ok
[INFO] [stdout] test expression::tests::parse_error ... ok
[INFO] [stdout] test grammar::tests::does_not_terminate ... ok
[INFO] [stdout] test grammar::tests::add_production ... ok
[INFO] [stdout] test expression::tests::remove_term ... ok
[INFO] [stdout] test expression::tests::new_expressions ... ok
[INFO] [stdout] test grammar::tests::format_grammar ... ok
[INFO] [stdout] test grammar::tests::no_productions ... ok
[INFO] [stdout] test grammar::tests::lhs_is_terminal_generate ... ok
[INFO] [stdout] test grammar::tests::lhs_is_terminal_parse ... ok
[INFO] [stdout] test grammar::tests::new_grammars ... ok
[INFO] [stdout] test grammar::tests::parse_error ... ok
[INFO] [stdout] test grammar::tests::parse_error_on_incomplete ... ok
[INFO] [stdout] test grammar::tests::does_terminate ... ok
[INFO] [stdout] test grammar::tests::remove_nonexistent_production ... ok
[INFO] [stdout] test error::tests::uses_error_generate ... ok
[INFO] [stdout] test grammar::tests::iterate_mut_parse_tree ... ok
[INFO] [stdout] test grammar::tests::remove_production ... ok
[INFO] [stdout] test grammar::tests::no_expressions ... ok
[INFO] [stdout] test parsers::tests::terminal_match ... ok
[INFO] [stdout] test production::tests::default_production_empty ... ok
[INFO] [stdout] test production::tests::iter_mut_production ... ok
[INFO] [stdout] test production::tests::new_productions ... ok
[INFO] [stdout] test production::tests::iter_production ... ok
[INFO] [stdout] test production::tests::parse_complete ... ok
[INFO] [stdout] test parsers::tests::expression_match ... ok
[INFO] [stdout] test parsers::tests::grammar_match ... ok
[INFO] [stdout] test parsers::tests::nonterminal_match ... ok
[INFO] [stdout] test parsers::tests::production_match ... ok
[INFO] [stdout] test production::tests::does_not_have_terminating_expression ... ok
[INFO] [stdout] test production::tests::format_production ... ok
[INFO] [stdout] test production::tests::parse_error ... ok
[INFO] [stdout] test production::tests::parse_incomplete ... ok
[INFO] [stdout] test term::tests::add_operator ... ok
[INFO] [stdout] test production::tests::remove_nonexistent_from_rhs ... ok
[INFO] [stdout] test term::tests::parse_complete ... ok
[INFO] [stdout] test term::tests::parse_quote_term ... ok
[INFO] [stdout] test term::tests::parse_whitespace_nonterm ... ok
[INFO] [stdout] test term::tests::parse_incomplete ... ok
[INFO] [stdout] test term::tests::parse_single_quote_term ... ok
[INFO] [stdout] test production::tests::parse_semicolon_separated ... ok
[INFO] [stdout] test term::tests::parse_whitespace_term ... ok
[INFO] [stdout] test production::tests::remove_from_rhs ... ok
[INFO] [stdout] test term::tests::quote_term_to_string_and_back ... ok
[INFO] [stdout] test term::tests::parse_error ... ok
[INFO] [stdout] test term::tests::to_string_and_back ... ok
[INFO] [stdout] test term::tests::parse_error_display ... ok
[INFO] [stdout] test expression::tests::iterate_terms ... ok
[INFO] [stdout] test production::tests::does_have_terminating_expression ... ok
[INFO] [stdout] test grammar::tests::iterate_parse_tree ... ok
[INFO] [stdout] test earley::tests::empty_rules_allow_parse ... ok
[INFO] [stdout] test expression::tests::to_string_and_back ... ok
[INFO] [stdout] test grammar::tests::to_string_and_back ... ok
[INFO] [stdout] test production::tests::to_string_and_back ... ok
[INFO] [stderr]    Doc-tests bnf
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 72 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.64s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/grammar.rs - grammar::ParseTree<'gram>::mermaid (line 117) ... ok
[INFO] [stdout] test src/lib.rs - (line 122) ... ok
[INFO] [stdout] test src/lib.rs - (line 148) ... ok
[INFO] [stdout] test src/expression.rs - expression::Expression::remove_term (line 37) ... ok
[INFO] [stdout] test src/grammar.rs - grammar::Grammar::generate_seeded (line 320) ... ok
[INFO] [stdout] test src/lib.rs - (line 163) ... ok
[INFO] [stdout] test src/grammar.rs - grammar::Grammar::generate (line 389) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.83s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "37d4d95d292d795932f157cdad44f8c57b423eb13bc9da5745df106c48e7a662", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37d4d95d292d795932f157cdad44f8c57b423eb13bc9da5745df106c48e7a662", kill_on_drop: false }`
[INFO] [stdout] 37d4d95d292d795932f157cdad44f8c57b423eb13bc9da5745df106c48e7a662
