[INFO] fetching crate bnf 0.5.0... [INFO] testing bnf-0.5.0 against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] extracting crate bnf 0.5.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bnf 0.5.0 on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 104 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.3) [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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d23b9557af83f34a51599d5f99bf21a560cf5a9dd412b5241c2f225e0f8f19a2 [INFO] running `Command { std: "docker" "start" "-a" "d23b9557af83f34a51599d5f99bf21a560cf5a9dd412b5241c2f225e0f8f19a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d23b9557af83f34a51599d5f99bf21a560cf5a9dd412b5241c2f225e0f8f19a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d23b9557af83f34a51599d5f99bf21a560cf5a9dd412b5241c2f225e0f8f19a2", kill_on_drop: false }` [INFO] [stdout] d23b9557af83f34a51599d5f99bf21a560cf5a9dd412b5241c2f225e0f8f19a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80e715af8ba400818f902ecee2f347d1df73ddbadd6cd39be0441da32f4cd53b [INFO] running `Command { std: "docker" "start" "-a" "80e715af8ba400818f902ecee2f347d1df73ddbadd6cd39be0441da32f4cd53b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [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 { [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> { [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 { [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> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.41s [INFO] running `Command { std: "docker" "inspect" "80e715af8ba400818f902ecee2f347d1df73ddbadd6cd39be0441da32f4cd53b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80e715af8ba400818f902ecee2f347d1df73ddbadd6cd39be0441da32f4cd53b", kill_on_drop: false }` [INFO] [stdout] 80e715af8ba400818f902ecee2f347d1df73ddbadd6cd39be0441da32f4cd53b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 334b61433e5b9a780a96dddeda402edb5162fc70ab7e5ba95b07aef90131530b [INFO] running `Command { std: "docker" "start" "-a" "334b61433e5b9a780a96dddeda402edb5162fc70ab7e5ba95b07aef90131530b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling bnf v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling criterion v0.4.0 [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 { [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> { [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 { [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> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quickcheck v1.0.3 [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 { [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> { [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 { [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> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 46.47s [INFO] running `Command { std: "docker" "inspect" "334b61433e5b9a780a96dddeda402edb5162fc70ab7e5ba95b07aef90131530b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "334b61433e5b9a780a96dddeda402edb5162fc70ab7e5ba95b07aef90131530b", kill_on_drop: false }` [INFO] [stdout] 334b61433e5b9a780a96dddeda402edb5162fc70ab7e5ba95b07aef90131530b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3a03bdde53975e46240f3a330019c429a78bcc34a7f5c5c3056e6879cbfad31b [INFO] running `Command { std: "docker" "start" "-a" "3a03bdde53975e46240f3a330019c429a78bcc34a7f5c5c3056e6879cbfad31b", 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 { [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> { [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 { [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> { [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.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bnf-8acd3926f05d9624) [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_complete ... ok [INFO] [stdout] test earley::traversal::tests::predict ... ok [INFO] [stdout] test error::tests::from_nom_verbose_error ... ok [INFO] [stdout] test error::tests::gets_error_error ... ok [INFO] [stdout] test error::tests::from_str_and_nom_verbose_error_kind ... ok [INFO] [stdout] test error::tests::test_error_display ... ok [INFO] [stdout] test error::tests::uses_error_generate ... ok [INFO] [stdout] test expression::tests::add_operator ... ok [INFO] [stdout] test expression::tests::add_term ... ok [INFO] [stdout] test expression::tests::does_not_terminate ... ok [INFO] [stdout] test expression::tests::does_terminate ... ok [INFO] [stdout] test expression::tests::mutate_iterable_terms ... ok [INFO] [stdout] test expression::tests::iterate_terms ... ok [INFO] [stdout] test expression::tests::new_expressions ... ok [INFO] [stdout] test expression::tests::parse_complete ... ok [INFO] [stdout] test expression::tests::parse_error ... ok [INFO] [stdout] test expression::tests::remove_nonexistent_term ... ok [INFO] [stdout] test expression::tests::remove_term ... ok [INFO] [stdout] test grammar::tests::add_production ... ok [INFO] [stdout] test earley::traversal::tests::match_term ... ok [INFO] [stdout] test expression::tests::parse_incomplete ... ok [INFO] [stdout] test earley::traversal::tests::predict_again ... ok [INFO] [stdout] test error::tests::gets_error_on_incomplete ... ok [INFO] [stdout] test grammar::tests::does_terminate ... ok [INFO] [stdout] test grammar::tests::format_grammar ... ok [INFO] [stdout] test grammar::tests::iterate_parse_tree ... ok [INFO] [stdout] test grammar::tests::lhs_is_terminal_generate ... ok [INFO] [stdout] test earley::traversal::tests::match_term_again ... ok [INFO] [stdout] test grammar::tests::iterate_mut_parse_tree ... ok [INFO] [stdout] test grammar::tests::lhs_is_terminal_parse ... ok [INFO] [stdout] test grammar::tests::no_productions ... ok [INFO] [stdout] test grammar::tests::parse_error ... ok [INFO] [stdout] test grammar::tests::new_grammars ... ok [INFO] [stdout] test grammar::tests::no_expressions ... ok [INFO] [stdout] test grammar::tests::parse_error_on_incomplete ... ok [INFO] [stdout] test grammar::tests::remove_nonexistent_production ... ok [INFO] [stdout] test grammar::tests::remove_production ... ok [INFO] [stdout] test grammar::tests::does_not_terminate ... ok [INFO] [stdout] test parsers::tests::expression_match ... ok [INFO] [stdout] test parsers::tests::nonterminal_match ... ok [INFO] [stdout] test parsers::tests::terminal_match ... ok [INFO] [stdout] test production::tests::default_production_empty ... ok [INFO] [stdout] test production::tests::does_have_terminating_expression ... ok [INFO] [stdout] test production::tests::does_not_have_terminating_expression ... ok [INFO] [stdout] test parsers::tests::production_match ... ok [INFO] [stdout] test parsers::tests::grammar_match ... ok [INFO] [stdout] test production::tests::iter_mut_production ... ok [INFO] [stdout] test production::tests::iter_production ... ok [INFO] [stdout] test production::tests::new_productions ... ok [INFO] [stdout] test production::tests::parse_error ... ok [INFO] [stdout] test production::tests::parse_incomplete ... ok [INFO] [stdout] test production::tests::parse_semicolon_separated ... ok [INFO] [stdout] test production::tests::remove_from_rhs ... ok [INFO] [stdout] test production::tests::remove_nonexistent_from_rhs ... ok [INFO] [stdout] test production::tests::parse_complete ... ok [INFO] [stdout] test term::tests::add_operator ... ok [INFO] [stdout] test term::tests::parse_error ... ok [INFO] [stdout] test term::tests::parse_error_display ... ok [INFO] [stdout] test term::tests::parse_incomplete ... ok [INFO] [stdout] test term::tests::parse_quote_term ... ok [INFO] [stdout] test term::tests::parse_single_quote_term ... ok [INFO] [stdout] test term::tests::parse_whitespace_nonterm ... ok [INFO] [stdout] test term::tests::parse_whitespace_term ... ok [INFO] [stdout] test term::tests::quote_term_to_string_and_back ... ok [INFO] [stdout] test term::tests::parse_complete ... ok [INFO] [stdout] test production::tests::format_production ... ok [INFO] [stdout] test term::tests::to_string_and_back ... ok [INFO] [stdout] test expression::tests::to_string_and_back ... ok [INFO] [stdout] test earley::tests::empty_rules_allow_parse ... ok [INFO] [stdout] test grammar::tests::to_string_and_back ... ok [INFO] [stderr] Doc-tests bnf [INFO] [stdout] test production::tests::to_string_and_back ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 72 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 8.22s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - (line 148) ... ok [INFO] [stdout] test src/grammar.rs - grammar::Grammar::generate (line 389) ... ok [INFO] [stdout] test src/expression.rs - expression::Expression::remove_term (line 37) ... ok [INFO] [stdout] test src/lib.rs - (line 122) ... ok [INFO] [stdout] test src/grammar.rs - grammar::ParseTree<'gram>::mermaid (line 117) ... 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] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.94s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3a03bdde53975e46240f3a330019c429a78bcc34a7f5c5c3056e6879cbfad31b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a03bdde53975e46240f3a330019c429a78bcc34a7f5c5c3056e6879cbfad31b", kill_on_drop: false }` [INFO] [stdout] 3a03bdde53975e46240f3a330019c429a78bcc34a7f5c5c3056e6879cbfad31b