[INFO] fetching crate rspg 0.0.3... [INFO] testing rspg-0.0.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rspg 0.0.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rspg 0.0.3 [INFO] finished tweaking crates.io crate rspg 0.0.3 [INFO] tweaked toml for crates.io crate rspg 0.0.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rspg 0.0.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding prettytable-rs v0.8.0 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66d1259237a6624f1949f98eabd38272eaf1ec8f022574215931b43c8636ea60 [INFO] running `Command { std: "docker" "start" "-a" "66d1259237a6624f1949f98eabd38272eaf1ec8f022574215931b43c8636ea60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66d1259237a6624f1949f98eabd38272eaf1ec8f022574215931b43c8636ea60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66d1259237a6624f1949f98eabd38272eaf1ec8f022574215931b43c8636ea60", kill_on_drop: false }` [INFO] [stdout] 66d1259237a6624f1949f98eabd38272eaf1ec8f022574215931b43c8636ea60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b4b977c9a863393dcfb84371c4ccae6122e5165f4f212baf3c43a36dfd78ee23 [INFO] running `Command { std: "docker" "start" "-a" "b4b977c9a863393dcfb84371c4ccae6122e5165f4f212baf3c43a36dfd78ee23", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling rspg v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/grammar.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 272 | ) -> iter::Map< [INFO] [stdout] 273 | slice::Iter<(N, std::vec::Vec)>, [INFO] [stdout] | ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 273 | slice::Iter<'_, (N, std::vec::Vec)>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/grammar.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn terminals(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 282 | pub fn terminals(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/grammar.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn rules(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 286 | pub fn rules(&self) -> std::slice::Iter<'_, Rule> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/grammar.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn rules_with_left(&self, nonterminal: NonterminalIndex) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 290 | pub fn rules_with_left(&self, nonterminal: NonterminalIndex) -> std::slice::Iter<'_, RuleIndex> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lr1/item.rs:221:27 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn finished(&self, grammar: &Grammar) -> BTreeSet [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 221 | pub fn finished(&self, grammar: &Grammar) -> BTreeSet> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.42s [INFO] running `Command { std: "docker" "inspect" "b4b977c9a863393dcfb84371c4ccae6122e5165f4f212baf3c43a36dfd78ee23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b977c9a863393dcfb84371c4ccae6122e5165f4f212baf3c43a36dfd78ee23", kill_on_drop: false }` [INFO] [stdout] b4b977c9a863393dcfb84371c4ccae6122e5165f4f212baf3c43a36dfd78ee23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4805b4b1d81f3cdd0bf5567c44cb7df563d147dca8f18232815ec47ec2e1bfe4 [INFO] running `Command { std: "docker" "start" "-a" "4805b4b1d81f3cdd0bf5567c44cb7df563d147dca8f18232815ec47ec2e1bfe4", kill_on_drop: false }` [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/grammar.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 272 | ) -> iter::Map< [INFO] [stdout] 273 | slice::Iter<(N, std::vec::Vec)>, [INFO] [stdout] | ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 273 | slice::Iter<'_, (N, std::vec::Vec)>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/grammar.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn terminals(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 282 | pub fn terminals(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/grammar.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn rules(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 286 | pub fn rules(&self) -> std::slice::Iter<'_, Rule> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rspg v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/grammar.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn rules_with_left(&self, nonterminal: NonterminalIndex) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 290 | pub fn rules_with_left(&self, nonterminal: NonterminalIndex) -> std::slice::Iter<'_, RuleIndex> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lr1/item.rs:221:27 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn finished(&self, grammar: &Grammar) -> BTreeSet [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 221 | pub fn finished(&self, grammar: &Grammar) -> BTreeSet> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/grammar.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 272 | ) -> iter::Map< [INFO] [stdout] 273 | slice::Iter<(N, std::vec::Vec)>, [INFO] [stdout] | ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 273 | slice::Iter<'_, (N, std::vec::Vec)>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/grammar.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn terminals(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 282 | pub fn terminals(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/grammar.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn rules(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 286 | pub fn rules(&self) -> std::slice::Iter<'_, Rule> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/grammar.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn rules_with_left(&self, nonterminal: NonterminalIndex) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 290 | pub fn rules_with_left(&self, nonterminal: NonterminalIndex) -> std::slice::Iter<'_, RuleIndex> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lr1/item.rs:221:27 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn finished(&self, grammar: &Grammar) -> BTreeSet [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 221 | pub fn finished(&self, grammar: &Grammar) -> BTreeSet> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "4805b4b1d81f3cdd0bf5567c44cb7df563d147dca8f18232815ec47ec2e1bfe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4805b4b1d81f3cdd0bf5567c44cb7df563d147dca8f18232815ec47ec2e1bfe4", kill_on_drop: false }` [INFO] [stdout] 4805b4b1d81f3cdd0bf5567c44cb7df563d147dca8f18232815ec47ec2e1bfe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b5ed7f8dbdff9d412042883dfc9556e6bd246a2176a3a1f7806b66b3c3a4e626 [INFO] running `Command { std: "docker" "start" "-a" "b5ed7f8dbdff9d412042883dfc9556e6bd246a2176a3a1f7806b66b3c3a4e626", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/grammar.rs:271:9 [INFO] [stderr] | [INFO] [stderr] 271 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 272 | ) -> iter::Map< [INFO] [stderr] 273 | slice::Iter<(N, std::vec::Vec)>, [INFO] [stderr] | ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 273 | slice::Iter<'_, (N, std::vec::Vec)>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/grammar.rs:282:22 [INFO] [stderr] | [INFO] [stderr] 282 | pub fn terminals(&self) -> std::slice::Iter { [INFO] [stderr] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 282 | pub fn terminals(&self) -> std::slice::Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/grammar.rs:286:18 [INFO] [stderr] | [INFO] [stderr] 286 | pub fn rules(&self) -> std::slice::Iter { [INFO] [stderr] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 286 | pub fn rules(&self) -> std::slice::Iter<'_, Rule> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/grammar.rs:290:28 [INFO] [stderr] | [INFO] [stderr] 290 | pub fn rules_with_left(&self, nonterminal: NonterminalIndex) -> std::slice::Iter { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 290 | pub fn rules_with_left(&self, nonterminal: NonterminalIndex) -> std::slice::Iter<'_, RuleIndex> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lr1/item.rs:221:27 [INFO] [stderr] | [INFO] [stderr] 221 | pub fn finished(&self, grammar: &Grammar) -> BTreeSet [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 221 | pub fn finished(&self, grammar: &Grammar) -> BTreeSet> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rspg` (lib) generated 5 warnings (run `cargo fix --lib -p rspg` to apply 5 suggestions) [INFO] [stderr] warning: `rspg` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rspg-e212aa282623d49e) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test grammar::tests::extend_grammar ... ok [INFO] [stdout] test grammar::tests::display_grammar ... ok [INFO] [stdout] test grammar::tests::display_rule ... ok [INFO] [stdout] test grammar::tests::grammar_builder ... ok [INFO] [stdout] test lr0::item::tests::display ... ok [INFO] [stdout] test lr0::item::tests::finished ... ok [INFO] [stdout] test lr0::item::tests::next_symbol ... ok [INFO] [stdout] test lr1::item::tests::closure_can_be_end_changed ... ok [INFO] [stdout] test lr1::item::tests::closure ... ok [INFO] [stdout] test lr1::item::tests::display ... ok [INFO] [stdout] test lr1::item::tests::finished ... ok [INFO] [stdout] test lr1::item::tests::go_multiple_next_nonterminals ... ok [INFO] [stdout] test lr1::item::tests::go_multiple_next_terminals ... ok [INFO] [stdout] test set::test::display_first_set ... ok [INFO] [stdout] test set::test::display_first_sets_with_grammar ... ok [INFO] [stdout] test set::test::display_follow_set ... ok [INFO] [stdout] test set::test::first_sets_before_can_be_empty ... ok [INFO] [stdout] test set::test::display_follow_sets_with_grammar ... ok [INFO] [stdout] test set::test::sets_of_empty_grammar ... ok [INFO] [stdout] test set::test::sets_of_simple_grammar ... ok [INFO] [stdout] test utility::tests::vec_with_size_100 ... ok [INFO] [stdout] test set::test::sets_of_example_grammar ... ok [INFO] [stdout] test utility::tests::vec_with_size_zero_size ... ok [INFO] [stdout] test lr1::item::tests::display_invalid_item_set - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b5ed7f8dbdff9d412042883dfc9556e6bd246a2176a3a1f7806b66b3c3a4e626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5ed7f8dbdff9d412042883dfc9556e6bd246a2176a3a1f7806b66b3c3a4e626", kill_on_drop: false }` [INFO] [stdout] b5ed7f8dbdff9d412042883dfc9556e6bd246a2176a3a1f7806b66b3c3a4e626