[INFO] fetching crate grit-pattern-matcher 0.5.1... [INFO] testing grit-pattern-matcher-0.5.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate grit-pattern-matcher 0.5.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate grit-pattern-matcher 0.5.1 [INFO] finished tweaking crates.io crate grit-pattern-matcher 0.5.1 [INFO] tweaked toml for crates.io crate grit-pattern-matcher 0.5.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate grit-pattern-matcher 0.5.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6d24bbae284d198db79a2c028778eb1872acea9686c2a4a78b46cfa1760537c [INFO] running `Command { std: "docker" "start" "-a" "d6d24bbae284d198db79a2c028778eb1872acea9686c2a4a78b46cfa1760537c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6d24bbae284d198db79a2c028778eb1872acea9686c2a4a78b46cfa1760537c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6d24bbae284d198db79a2c028778eb1872acea9686c2a4a78b46cfa1760537c", kill_on_drop: false }` [INFO] [stdout] d6d24bbae284d198db79a2c028778eb1872acea9686c2a4a78b46cfa1760537c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d204e69e4d4189e762d2f6b9ecae3f7cc2b84b7ce7fd1908c8b33defa5c51777 [INFO] running `Command { std: "docker" "start" "-a" "d204e69e4d4189e762d2f6b9ecae3f7cc2b84b7ce7fd1908c8b33defa5c51777", kill_on_drop: false }` [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling elsa v1.11.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.13.1 [INFO] [stderr] Compiling derive_builder_macro v0.13.1 [INFO] [stderr] Compiling derive_builder v0.13.1 [INFO] [stderr] Compiling grit-util v0.5.1 [INFO] [stderr] Compiling grit-pattern-matcher v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `grit_tracing` [INFO] [stdout] --> src/pattern.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "grit_tracing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `grit_tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grit_tracing` [INFO] [stdout] --> src/pattern.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | #[cfg(feature = "grit_tracing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `grit_tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `embeddings` [INFO] [stdout] --> src/pattern/like.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "embeddings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `embeddings` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `embeddings` [INFO] [stdout] --> src/pattern/like.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(not(feature = "embeddings"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `embeddings` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binding.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | fn text(&self, language: &Q::Language<'a>) -> GritResult>; [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden 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] 74 | fn text(&self, language: &Q::Language<'a>) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/accumulate.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 77 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 78 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 79 | logs: &mut AnalysisLogs, [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/and.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 64 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 65 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 66 | logs: &mut AnalysisLogs, [INFO] [stdout] 67 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 67 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/any.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 77 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 78 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 79 | logs: &mut AnalysisLogs, [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/assignment.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 47 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 48 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 49 | logs: &mut AnalysisLogs, [INFO] [stdout] 50 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/call.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 69 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 70 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 71 | logs: &mut AnalysisLogs, [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/call_built_in.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 43 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 44 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 45 | logs: &mut AnalysisLogs, [INFO] [stdout] 46 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 46 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/equal.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 31 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 32 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 33 | logs: &mut AnalysisLogs, [INFO] [stdout] 34 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 34 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/function_definition.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 14 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 15 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 16 | args: &'a [Option>], [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 17 | logs: &mut AnalysisLogs, [INFO] [stdout] 18 | ) -> GritResult>; [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | ) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/function_definition.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 51 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 52 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 53 | args: &'a [Option>], [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 54 | logs: &mut AnalysisLogs, [INFO] [stdout] 55 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 55 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/functions.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 22 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 23 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 24 | logs: &mut AnalysisLogs, [INFO] [stdout] 25 | ) -> GritResult>; [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 25 | ) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/if.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 80 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 81 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 82 | logs: &mut AnalysisLogs, [INFO] [stdout] 83 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 83 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/match.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 36 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 37 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 38 | logs: &mut AnalysisLogs, [INFO] [stdout] 39 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/maybe.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 57 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 58 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 59 | logs: &mut AnalysisLogs, [INFO] [stdout] 60 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 60 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/not.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 65 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 66 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 67 | logs: &mut AnalysisLogs, [INFO] [stdout] 68 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/or.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 88 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 89 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 90 | logs: &mut AnalysisLogs, [INFO] [stdout] 91 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 91 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/predicate_return.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 24 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 25 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 26 | logs: &mut AnalysisLogs, [INFO] [stdout] 27 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/predicates.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 69 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 70 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 71 | logs: &mut AnalysisLogs, [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:188:45 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from_binding(binding: Q::Binding<'a>) -> ResolvedSnippet { [INFO] [stdout] | ^^ ------------------ 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 `'a` [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from_binding(binding: Q::Binding<'a>) -> ResolvedSnippet<'a, Q> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 229 | ) -> GritResult> { [INFO] [stdout] | -------- the same lifetime is hidden 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] 229 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 278 | ) -> GritResult> { [INFO] [stdout] | -------- the same lifetime is hidden 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] 278 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 322 | ) -> GritResult> { [INFO] [stdout] | -------- the same lifetime is hidden 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] 322 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/rewrite.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 136 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 137 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 138 | logs: &mut AnalysisLogs, [INFO] [stdout] 139 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 139 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/state.rs:261:27 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn get_files<'b>(&'b self) -> &'b FileRegistry [INFO] [stdout] | ^^ -- --------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [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 `'b` [INFO] [stdout] | [INFO] [stdout] 261 | pub fn get_files<'b>(&'b self) -> &'b FileRegistry<'b, Q> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.56s [INFO] running `Command { std: "docker" "inspect" "d204e69e4d4189e762d2f6b9ecae3f7cc2b84b7ce7fd1908c8b33defa5c51777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d204e69e4d4189e762d2f6b9ecae3f7cc2b84b7ce7fd1908c8b33defa5c51777", kill_on_drop: false }` [INFO] [stdout] d204e69e4d4189e762d2f6b9ecae3f7cc2b84b7ce7fd1908c8b33defa5c51777 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e82678f80667e2e8eff4621bcc029316149f2d347ffdf36d39410066dfe74cf [INFO] running `Command { std: "docker" "start" "-a" "7e82678f80667e2e8eff4621bcc029316149f2d347ffdf36d39410066dfe74cf", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `grit_tracing` [INFO] [stdout] --> src/pattern.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "grit_tracing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `grit_tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grit_tracing` [INFO] [stdout] --> src/pattern.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | #[cfg(feature = "grit_tracing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `grit_tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `embeddings` [INFO] [stdout] --> src/pattern/like.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "embeddings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `embeddings` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `embeddings` [INFO] [stdout] --> src/pattern/like.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(not(feature = "embeddings"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `embeddings` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binding.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | fn text(&self, language: &Q::Language<'a>) -> GritResult>; [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden 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] 74 | fn text(&self, language: &Q::Language<'a>) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/accumulate.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 77 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 78 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 79 | logs: &mut AnalysisLogs, [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/and.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 64 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 65 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 66 | logs: &mut AnalysisLogs, [INFO] [stdout] 67 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 67 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/any.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 77 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 78 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 79 | logs: &mut AnalysisLogs, [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/assignment.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 47 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 48 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 49 | logs: &mut AnalysisLogs, [INFO] [stdout] 50 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/call.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 69 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 70 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 71 | logs: &mut AnalysisLogs, [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/call_built_in.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 43 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 44 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 45 | logs: &mut AnalysisLogs, [INFO] [stdout] 46 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 46 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/equal.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 31 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 32 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 33 | logs: &mut AnalysisLogs, [INFO] [stdout] 34 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 34 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/function_definition.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 14 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 15 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 16 | args: &'a [Option>], [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 17 | logs: &mut AnalysisLogs, [INFO] [stdout] 18 | ) -> GritResult>; [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | ) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/function_definition.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 51 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 52 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 53 | args: &'a [Option>], [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 54 | logs: &mut AnalysisLogs, [INFO] [stdout] 55 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 55 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/functions.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 22 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 23 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 24 | logs: &mut AnalysisLogs, [INFO] [stdout] 25 | ) -> GritResult>; [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 25 | ) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/if.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 80 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 81 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 82 | logs: &mut AnalysisLogs, [INFO] [stdout] 83 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 83 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/match.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 36 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 37 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 38 | logs: &mut AnalysisLogs, [INFO] [stdout] 39 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grit-pattern-matcher v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/maybe.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 57 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 58 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 59 | logs: &mut AnalysisLogs, [INFO] [stdout] 60 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 60 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/not.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 65 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 66 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 67 | logs: &mut AnalysisLogs, [INFO] [stdout] 68 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/or.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 88 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 89 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 90 | logs: &mut AnalysisLogs, [INFO] [stdout] 91 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 91 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/predicate_return.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 24 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 25 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 26 | logs: &mut AnalysisLogs, [INFO] [stdout] 27 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/predicates.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 69 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 70 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 71 | logs: &mut AnalysisLogs, [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:188:45 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from_binding(binding: Q::Binding<'a>) -> ResolvedSnippet { [INFO] [stdout] | ^^ ------------------ 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 `'a` [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from_binding(binding: Q::Binding<'a>) -> ResolvedSnippet<'a, Q> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 229 | ) -> GritResult> { [INFO] [stdout] | -------- the same lifetime is hidden 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] 229 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 278 | ) -> GritResult> { [INFO] [stdout] | -------- the same lifetime is hidden 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] 278 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 322 | ) -> GritResult> { [INFO] [stdout] | -------- the same lifetime is hidden 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] 322 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/rewrite.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 136 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 137 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 138 | logs: &mut AnalysisLogs, [INFO] [stdout] 139 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 139 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/state.rs:261:27 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn get_files<'b>(&'b self) -> &'b FileRegistry [INFO] [stdout] | ^^ -- --------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [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 `'b` [INFO] [stdout] | [INFO] [stdout] 261 | pub fn get_files<'b>(&'b self) -> &'b FileRegistry<'b, Q> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grit_tracing` [INFO] [stdout] --> src/pattern.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "grit_tracing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `grit_tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `grit_tracing` [INFO] [stdout] --> src/pattern.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | #[cfg(feature = "grit_tracing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `grit_tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `embeddings` [INFO] [stdout] --> src/pattern/like.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "embeddings")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `embeddings` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `embeddings` [INFO] [stdout] --> src/pattern/like.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(not(feature = "embeddings"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` [INFO] [stdout] = help: consider adding `embeddings` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/binding.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | fn text(&self, language: &Q::Language<'a>) -> GritResult>; [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden 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] 74 | fn text(&self, language: &Q::Language<'a>) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/accumulate.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 77 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 78 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 79 | logs: &mut AnalysisLogs, [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/and.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 64 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 65 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 66 | logs: &mut AnalysisLogs, [INFO] [stdout] 67 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 67 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/any.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 77 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 78 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 79 | logs: &mut AnalysisLogs, [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/assignment.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 47 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 48 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 49 | logs: &mut AnalysisLogs, [INFO] [stdout] 50 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/call.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 69 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 70 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 71 | logs: &mut AnalysisLogs, [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/call_built_in.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 43 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 44 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 45 | logs: &mut AnalysisLogs, [INFO] [stdout] 46 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 46 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/equal.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 31 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 32 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 33 | logs: &mut AnalysisLogs, [INFO] [stdout] 34 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 34 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/function_definition.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 14 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 15 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 16 | args: &'a [Option>], [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 17 | logs: &mut AnalysisLogs, [INFO] [stdout] 18 | ) -> GritResult>; [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | ) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/function_definition.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 51 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 52 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 53 | args: &'a [Option>], [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 54 | logs: &mut AnalysisLogs, [INFO] [stdout] 55 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 55 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/functions.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 22 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 23 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 24 | logs: &mut AnalysisLogs, [INFO] [stdout] 25 | ) -> GritResult>; [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 25 | ) -> GritResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/if.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 80 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 81 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 82 | logs: &mut AnalysisLogs, [INFO] [stdout] 83 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 83 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/match.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 36 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 37 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 38 | logs: &mut AnalysisLogs, [INFO] [stdout] 39 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/maybe.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 57 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 58 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 59 | logs: &mut AnalysisLogs, [INFO] [stdout] 60 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 60 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/not.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 65 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 66 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 67 | logs: &mut AnalysisLogs, [INFO] [stdout] 68 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/or.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 88 | init_state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 89 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 90 | logs: &mut AnalysisLogs, [INFO] [stdout] 91 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 91 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/predicate_return.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 24 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 25 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 26 | logs: &mut AnalysisLogs, [INFO] [stdout] 27 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/predicates.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 69 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 70 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 71 | logs: &mut AnalysisLogs, [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 72 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:188:45 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from_binding(binding: Q::Binding<'a>) -> ResolvedSnippet { [INFO] [stdout] | ^^ ------------------ 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 `'a` [INFO] [stdout] | [INFO] [stdout] 188 | pub fn from_binding(binding: Q::Binding<'a>) -> ResolvedSnippet<'a, Q> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 229 | ) -> GritResult> { [INFO] [stdout] | -------- the same lifetime is hidden 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] 229 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 278 | ) -> GritResult> { [INFO] [stdout] | -------- the same lifetime is hidden 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] 278 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pattern/resolved_pattern.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 322 | ) -> GritResult> { [INFO] [stdout] | -------- the same lifetime is hidden 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] 322 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/rewrite.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 136 | state: &mut State<'a, Q>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 137 | context: &'a Q::ExecContext<'a>, [INFO] [stdout] | ^^ ^^ the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 138 | logs: &mut AnalysisLogs, [INFO] [stdout] 139 | ) -> GritResult> { [INFO] [stdout] | ----------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 139 | ) -> GritResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pattern/state.rs:261:27 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn get_files<'b>(&'b self) -> &'b FileRegistry [INFO] [stdout] | ^^ -- --------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [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 `'b` [INFO] [stdout] | [INFO] [stdout] 261 | pub fn get_files<'b>(&'b self) -> &'b FileRegistry<'b, Q> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "7e82678f80667e2e8eff4621bcc029316149f2d347ffdf36d39410066dfe74cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e82678f80667e2e8eff4621bcc029316149f2d347ffdf36d39410066dfe74cf", kill_on_drop: false }` [INFO] [stdout] 7e82678f80667e2e8eff4621bcc029316149f2d347ffdf36d39410066dfe74cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d708e5e229930bafa77199fa7e70f6df835c54521c9e7b81fea73bab66d0c892 [INFO] running `Command { std: "docker" "start" "-a" "d708e5e229930bafa77199fa7e70f6df835c54521c9e7b81fea73bab66d0c892", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `grit_tracing` [INFO] [stderr] --> src/pattern.rs:128:7 [INFO] [stderr] | [INFO] [stderr] 128 | #[cfg(feature = "grit_tracing")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `getrandom` [INFO] [stderr] = help: consider adding `grit_tracing` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `grit_tracing` [INFO] [stderr] --> src/pattern.rs:130:7 [INFO] [stderr] | [INFO] [stderr] 130 | #[cfg(feature = "grit_tracing")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `getrandom` [INFO] [stderr] = help: consider adding `grit_tracing` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `embeddings` [INFO] [stderr] --> src/pattern/like.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | #[cfg(feature = "embeddings")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `getrandom` [INFO] [stderr] = help: consider adding `embeddings` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `embeddings` [INFO] [stderr] --> src/pattern/like.rs:48:15 [INFO] [stderr] | [INFO] [stderr] 48 | #[cfg(not(feature = "embeddings"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `getrandom` [INFO] [stderr] = help: consider adding `embeddings` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/binding.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | fn text(&self, language: &Q::Language<'a>) -> GritResult>; [INFO] [stderr] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden 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] 74 | fn text(&self, language: &Q::Language<'a>) -> GritResult>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/accumulate.rs:76:10 [INFO] [stderr] | [INFO] [stderr] 76 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 77 | state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 78 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 79 | logs: &mut AnalysisLogs, [INFO] [stderr] 80 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 80 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/and.rs:63:10 [INFO] [stderr] | [INFO] [stderr] 63 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 64 | state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 65 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 66 | logs: &mut AnalysisLogs, [INFO] [stderr] 67 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 67 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/any.rs:76:10 [INFO] [stderr] | [INFO] [stderr] 76 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 77 | init_state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 78 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 79 | logs: &mut AnalysisLogs, [INFO] [stderr] 80 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 80 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/assignment.rs:46:10 [INFO] [stderr] | [INFO] [stderr] 46 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 47 | state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 48 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 49 | logs: &mut AnalysisLogs, [INFO] [stderr] 50 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 50 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/call.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 69 | state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 70 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 71 | logs: &mut AnalysisLogs, [INFO] [stderr] 72 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 72 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/call_built_in.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 43 | state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 44 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 45 | logs: &mut AnalysisLogs, [INFO] [stderr] 46 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 46 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/equal.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 31 | state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 32 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 33 | logs: &mut AnalysisLogs, [INFO] [stderr] 34 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 34 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/function_definition.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 14 | state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 15 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 16 | args: &'a [Option>], [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 17 | logs: &mut AnalysisLogs, [INFO] [stderr] 18 | ) -> GritResult>; [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 18 | ) -> GritResult>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/function_definition.rs:50:10 [INFO] [stderr] | [INFO] [stderr] 50 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 51 | state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 52 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 53 | args: &'a [Option>], [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 54 | logs: &mut AnalysisLogs, [INFO] [stderr] 55 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 55 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/functions.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 22 | state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 23 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 24 | logs: &mut AnalysisLogs, [INFO] [stderr] 25 | ) -> GritResult>; [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 25 | ) -> GritResult>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/if.rs:79:10 [INFO] [stderr] | [INFO] [stderr] 79 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 80 | init_state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 81 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 82 | logs: &mut AnalysisLogs, [INFO] [stderr] 83 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 83 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/match.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 36 | state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 37 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 38 | logs: &mut AnalysisLogs, [INFO] [stderr] 39 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 39 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/maybe.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 57 | init_state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 58 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 59 | logs: &mut AnalysisLogs, [INFO] [stderr] 60 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 60 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/not.rs:64:10 [INFO] [stderr] | [INFO] [stderr] 64 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 65 | state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 66 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 67 | logs: &mut AnalysisLogs, [INFO] [stderr] 68 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 68 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/or.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 88 | init_state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 89 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 90 | logs: &mut AnalysisLogs, [INFO] [stderr] 91 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 91 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/predicate_return.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 24 | state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 25 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 26 | logs: &mut AnalysisLogs, [INFO] [stderr] 27 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 27 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/predicates.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 69 | state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 70 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 71 | logs: &mut AnalysisLogs, [INFO] [stderr] 72 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 72 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/resolved_pattern.rs:188:45 [INFO] [stderr] | [INFO] [stderr] 188 | pub fn from_binding(binding: Q::Binding<'a>) -> ResolvedSnippet { [INFO] [stderr] | ^^ ------------------ 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 `'a` [INFO] [stderr] | [INFO] [stderr] 188 | pub fn from_binding(binding: Q::Binding<'a>) -> ResolvedSnippet<'a, Q> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pattern/resolved_pattern.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 229 | ) -> GritResult> { [INFO] [stderr] | -------- the same lifetime is hidden 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] 229 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pattern/resolved_pattern.rs:271:9 [INFO] [stderr] | [INFO] [stderr] 271 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 278 | ) -> GritResult> { [INFO] [stderr] | -------- the same lifetime is hidden 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] 278 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pattern/resolved_pattern.rs:315:9 [INFO] [stderr] | [INFO] [stderr] 315 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 322 | ) -> GritResult> { [INFO] [stderr] | -------- the same lifetime is hidden 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] 322 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/rewrite.rs:135:10 [INFO] [stderr] | [INFO] [stderr] 135 | &'a self, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 136 | state: &mut State<'a, Q>, [INFO] [stderr] | ^^ the lifetime is named here [INFO] [stderr] 137 | context: &'a Q::ExecContext<'a>, [INFO] [stderr] | ^^ ^^ the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 138 | logs: &mut AnalysisLogs, [INFO] [stderr] 139 | ) -> GritResult> { [INFO] [stderr] | ----------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 139 | ) -> GritResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pattern/state.rs:261:27 [INFO] [stderr] | [INFO] [stderr] 261 | pub fn get_files<'b>(&'b self) -> &'b FileRegistry [INFO] [stderr] | ^^ -- --------------- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [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 `'b` [INFO] [stderr] | [INFO] [stderr] 261 | pub fn get_files<'b>(&'b self) -> &'b FileRegistry<'b, Q> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `grit-pattern-matcher` (lib) generated 28 warnings (run `cargo fix --lib -p grit-pattern-matcher` to apply 24 suggestions) [INFO] [stderr] warning: `grit-pattern-matcher` (lib test) generated 28 warnings (28 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/grit_pattern_matcher-5ffc9d0871eb131c) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test intervals::tests::overlapping_intervals ... ok [INFO] [stdout] test intervals::tests::another_overlap ... ok [INFO] [stdout] test intervals::tests::test_nested_left ... ok [INFO] [stdout] test intervals::tests::test_nested_right ... ok [INFO] [stdout] test intervals::tests::multiple_top_level_intervals ... ok [INFO] [stdout] test intervals::tests::test_reverse ... ok [INFO] [stdout] test intervals::tests::test_simple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests grit_pattern_matcher [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d708e5e229930bafa77199fa7e70f6df835c54521c9e7b81fea73bab66d0c892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d708e5e229930bafa77199fa7e70f6df835c54521c9e7b81fea73bab66d0c892", kill_on_drop: false }` [INFO] [stdout] d708e5e229930bafa77199fa7e70f6df835c54521c9e7b81fea73bab66d0c892